public interface Project extends Adaptable
ProjectManager for details.| Modifier and Type | Method and Description |
|---|---|
ProjectLink |
addLink(String name,
String target)
Creates a new link or updates an existing link for the specified target.
|
Resource |
getAssetFolder()
The Asset folder associated with this project.
|
String |
getDescription()
Returns the description of the project.
|
Iterable<ProjectLink> |
getLinks()
Returns the links that are associated with the project.
|
Set<ProjectMember> |
getMembers()
Return the members associated with the Project.
|
Resource |
getProjectCover()
Returns the resource representing the project's cover image.
|
String |
getTitle()
Returns the title of the project.
|
boolean |
isActive()
indicates if the project is active
|
void |
setActive(boolean active)
specifies if a project is active
|
void |
setDescription(String description)
Set a new description for the project.
|
void |
setProjectCover(String mimeType,
InputStream stream)
Associate a new image to this project's cover.
|
void |
setTitle(String name)
Set a new title for the project.
|
Collection<ProjectMember> |
updateMembers(List<String> userIds,
List<String> roleIds)
Update the Project's members with the set of users and their associated roles.
|
String getTitle()
void setTitle(String name)
name - the new name for the projectProjectException - if the operation failsString getDescription()
void setDescription(String description)
description - the new description for the projectProjectException - if the operation failsProjectLink addLink(String name, String target)
name - the suggested name of the new link.target - the target path or url of this link.ProjectException - if the operation failsIterable<ProjectLink> getLinks()
ProjectLinkResource getAssetFolder()
Resource for the Asset folder associated with this project.void setProjectCover(String mimeType, InputStream stream)
mimeType - the mime type of the provided input streamstream - a stream of image data.ProjectException - if updating the cover image fails.Resource getProjectCover()
Collection<ProjectMember> updateMembers(List<String> userIds, List<String> roleIds)
userIds - a list of user idsroleIds - a list of role idsProjectException - if there are issues updating the members of the team.Set<ProjectMember> getMembers()
ProjectMembers.ProjectException - if there are issues obtaining the members of the Project.void setActive(boolean active)
active - true when project is activeboolean isActive()
Copyright © 2010 - 2020 Adobe. All Rights Reserved