|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsProject
public class WsProject
This object represents a Contour project. A project is a collection of Modules, Items, Filters, Releases and Baselines, and is defined according to your needs.
| Constructor Summary | |
|---|---|
WsProject()
Creates an empty WsProject object. |
|
WsProject(java.lang.String name,
java.lang.String description,
java.lang.Integer parent,
java.lang.Boolean isFolder,
WsUser projectManager,
WsOrganization organization)
Creates a new WsProject object with the given values. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getActive()
Is this project active? |
java.lang.String |
getDescription()
Gets the project's description. |
java.lang.Integer |
getId()
Gets the project's id. |
java.lang.Boolean |
getIsFolder()
Is this project a folder? |
java.lang.String |
getName()
Gets the project's name. |
WsOrganization |
getOrganization()
Gets the organization this project is in. |
java.lang.Integer |
getParent()
Gets the parent of the project. |
WsLookup |
getProjectGroup()
Gets the group this project belongs to. |
WsUser |
getProjectManager()
Gets the manager for this project. |
WsProjectType |
getProjectType()
Gets the default item type for this project. |
WsLookup |
getStatusId()
Gets the status of the project. |
com.jamasoftware.contour.security.acl.AclObjectIdentity |
obtainAclObjectIdentity()
Deprecated. |
void |
setActive(java.lang.Boolean active)
Sets whether or not this project is active. |
void |
setDescription(java.lang.String description)
Sets the project's description. |
void |
setId(java.lang.Integer id)
Sets the project's id. |
void |
setIsFolder(java.lang.Boolean isFolder)
Sets whether or not this project is a folder. |
void |
setName(java.lang.String name)
Sets the project's name. |
void |
setOrganization(WsOrganization organization)
Sets the organization this project is in. |
void |
setParent(java.lang.Integer parent)
Sets the parent of the project. |
void |
setProjectGroup(WsLookup projectGroup)
Sets the group this project belongs to. |
void |
setProjectManager(WsUser projectManager)
Sets the manager for this project. |
void |
setProjectType(WsProjectType projectType)
Sets the default item type for this project. |
void |
setStatusId(WsLookup statusId)
Sets the status of the project. |
java.lang.String |
toString()
Gets a string representation of this project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsProject()
public WsProject(java.lang.String name,
java.lang.String description,
java.lang.Integer parent,
java.lang.Boolean isFolder,
WsUser projectManager,
WsOrganization organization)
name - name of the projectdescription - description of the project (can be null)parent - id of the parent project (can be null)isFolder - is this project a folder?projectManager - project managerorganization - organization the project is in| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - the project's idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - project namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - project descriptionpublic WsLookup getStatusId()
public void setStatusId(WsLookup statusId)
statusId - status of the projectpublic java.lang.Integer getParent()
public void setParent(java.lang.Integer parent)
parent - id of the parent of this project.public java.lang.Boolean getIsFolder()
public void setIsFolder(java.lang.Boolean isFolder)
isFolder - whether or not this project is a folderpublic java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
active - whether or not this project is activepublic WsUser getProjectManager()
public void setProjectManager(WsUser projectManager)
projectManager - user to be set as project managerpublic WsOrganization getOrganization()
public void setOrganization(WsOrganization organization)
organization - to contain this projectpublic WsLookup getProjectGroup()
public void setProjectGroup(WsLookup projectGroup)
projectGroup - project grouppublic WsProjectType getProjectType()
public void setProjectType(WsProjectType projectType)
projectType - default item type@Deprecated public com.jamasoftware.contour.security.acl.AclObjectIdentity obtainAclObjectIdentity()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||