|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.domain.WsItem
public class WsItem
This object represents a Contour Document/Item. Depending on how your Organization uses Contour, an Item could represent a feature, a requirement, a use case, a test case, a defect, and/or other Items you need to manage and track within the development process. Each type of Item has a template with specific fields to complete when adding new Items of that type.
| Constructor Summary | |
|---|---|
WsItem()
Creates an empty WsItem object. |
|
WsItem(java.lang.String name,
java.lang.String description,
java.lang.Integer documentTypeId,
java.lang.Integer parentId)
Creates a new WsItem object with the given values. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getChildDocumentTypeId()
Gets the id of the item's child document type. |
java.util.Date |
getCreatedDate()
Gets the date the item was created. |
java.lang.Boolean |
getCurrentUserWritePermissions()
Gets whether the current user has write permissions for the item. |
java.lang.String |
getDescription()
Gets the description of the item. |
WsDocumentTypeCategory |
getDocTypeCategory()
Gets the category of this item's document type. |
java.lang.Integer |
getDocumentTypeId()
Gets the WsDocumentType id for this item |
WsField[] |
getFields()
Gets the item's fields. |
java.lang.Integer |
getGlobalSortOrder()
Gets the global sort order of this item in the project tree. |
java.lang.Boolean |
getHasChildren()
Gets whether or not this item has any children |
java.lang.Integer |
getId()
Gets the item's id. |
java.lang.Integer |
getIndent()
Gets the indent value of this item in the project tree. |
java.lang.Boolean |
getIsStructureOnly()
|
java.util.Date |
getModifiedDate()
Gets the date the item was modified. |
java.lang.String |
getName()
Gets the item name. |
java.lang.Integer |
getParentId()
Gets the id of the item's parent (Can be null). |
java.lang.Integer |
getProjectId()
Gets the id of the project this item belongs to. |
java.lang.String |
getSequence()
Gets the sequence number of this item. |
java.lang.Integer |
getSortOrder()
Gets the sort order of this item. |
void |
setChildDocumentTypeId(java.lang.Integer childDocumentTypeId)
Sets the id of the item's child document type. |
void |
setCreatedDate(java.util.Date createdDate)
Sets the date the item was created. |
void |
setCurrentUserWritePermissions(java.lang.Boolean currentUserWritePermissions)
|
void |
setDescription(java.lang.String description)
Sets the description of the item. |
void |
setDocTypeCategory(WsDocumentTypeCategory docTypeCategory)
|
void |
setDocumentTypeId(java.lang.Integer documentTypeId)
Set the WsDocumentType id for this item. |
void |
setFields(WsField[] fields)
Sets the item's fields. |
void |
setGlobalSortOrder(java.lang.Integer globalSortOrder)
|
void |
setHasChildren(java.lang.Boolean hasChildren)
|
void |
setId(java.lang.Integer id)
|
void |
setIndent(java.lang.Integer indent)
|
void |
setIsStructureOnly(java.lang.Boolean isStructureOnly)
When searching with a filter, users can choose to include items that are necessary to maintain the heirarchy of the Contour tree, but are not in the filter results. |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the date this item was modified. |
void |
setName(java.lang.String name)
Sets the name of the item. |
void |
setParentId(java.lang.Integer parentId)
Sets the id of the item's parent. |
void |
setProjectId(java.lang.Integer projectId)
Sets the id of the project this item belongs to. |
void |
setSequence(java.lang.String sequence)
|
void |
setSortOrder(java.lang.Integer sortOrder)
|
java.lang.String |
toString()
Gets a string representation of this item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsItem()
public WsItem(java.lang.String name,
java.lang.String description,
java.lang.Integer documentTypeId,
java.lang.Integer parentId)
name - name of the itemdescription - description of the item (can be null)documentTypeId - id of the WsDocumentType the item is inparentId - id of the parent of the item (can be null)| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public java.lang.Integer getDocumentTypeId()
WsDocumentType id for this item
public void setDocumentTypeId(java.lang.Integer documentTypeId)
WsDocumentType id for this item.
documentTypeId - The id of the type to set this item aspublic java.lang.String getName()
public void setName(java.lang.String name)
name - name to set to itempublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - description of the itempublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
createdDate - date item was createdpublic java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - date item was modifiedpublic java.lang.Integer getParentId()
public void setParentId(java.lang.Integer parentId)
parentId - id of an item to be the parent of this item. The parent must be a folder.public WsField[] getFields()
WsFieldspublic void setFields(WsField[] fields)
fields - an array of WsFieldspublic java.lang.Integer getProjectId()
public void setProjectId(java.lang.Integer projectId)
projectId - id of the project this item should belong topublic WsDocumentTypeCategory getDocTypeCategory()
public void setDocTypeCategory(WsDocumentTypeCategory docTypeCategory)
public java.lang.Integer getChildDocumentTypeId()
public void setChildDocumentTypeId(java.lang.Integer childDocumentTypeId)
childDocumentTypeId - id of the document type this item can contain (only used for Sets and Folders)public java.lang.Integer getSortOrder()
public void setSortOrder(java.lang.Integer sortOrder)
public java.lang.Integer getGlobalSortOrder()
public void setGlobalSortOrder(java.lang.Integer globalSortOrder)
public java.lang.Integer getIndent()
public void setIndent(java.lang.Integer indent)
public java.lang.String getSequence()
public void setSequence(java.lang.String sequence)
public java.lang.Boolean getHasChildren()
public void setHasChildren(java.lang.Boolean hasChildren)
public java.lang.Boolean getCurrentUserWritePermissions()
public void setCurrentUserWritePermissions(java.lang.Boolean currentUserWritePermissions)
public void setIsStructureOnly(java.lang.Boolean isStructureOnly)
public java.lang.Boolean getIsStructureOnly()
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 | |||||||||