public interface IProcessContainer extends IProcessContainerHandle, IProcessItem
DESCRIPTION_DETAILS_PROPERTY_ID, DESCRIPTION_SUMMARY_PROPERTY_ID, DEVELOPMENT_LINE, ITERATION, ITERATION_TYPE, NAME_PROPERTY_ID, PROCESS_ATTACHMENT, PROCESS_DEFINITION, PROCESS_DOMAIN_DEFINITION, PROJECT_AREA, PROJECT_LINK, READ_ACCESS_LIST, TEAM_AREA
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(IProcessAttachmentHandle handle)
Adds the given attachment to this process container.
|
IProcessAttachmentHandle[] |
getAttachments()
Returns the attachments which are associated with this process container.
|
java.util.Map |
getProcessData()
Returns the process data associated with this process container.
|
boolean |
isArchived()
Returns whether this process container has been archived.
|
void |
removeAttachment(IProcessAttachmentHandle handle)
Removes the given attachment from this process container.
|
void |
setArchived(boolean archived)
Sets whether this process container should be archived or not.
|
void |
setAttachments(IProcessAttachmentHandle[] handles)
Sets the given attachments on this process container.
|
getProcessItemType, getPropertyName
getDescription, getName, setName
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
java.util.Map getProcessData()
String
to objects of type
IContent
.boolean isArchived()
Deleting a process container from the repository could create many broken references in the repository which might render some artifacts unusable. Process containers may be archived as a way of indicating that the process container is no longer active without actually deleting the process container from the repository.
Archived process containers are still fully functional, though they may be filtered from the UI and/or presented differently.
void setArchived(boolean archived)
Deleting a process container from the repository could create many broken references in the repository which might render some artifacts unusable. Process containers may be archived as a way of indicating that the process container is no longer active without actually deleting the process container from the repository.
Archived process containers are still fully functional, though they may be filtered from the UI and/or presented differently.
archived
- flag indicating if this process container should be archived or notIProcessAttachmentHandle[] getAttachments()
void addAttachment(IProcessAttachmentHandle handle)
Note that in order to save the process container, the attachment will have to point to this container as its owning item. When adding attachments to a process container, all items have to be saved together.
handle
- the handle of the attachment to addvoid removeAttachment(IProcessAttachmentHandle handle)
Note that when the process container is saved after removing an attachment, the attachment will be deleted.
handle
- the handle of the attachment to addvoid setAttachments(IProcessAttachmentHandle[] handles)
Note that in order to save the process container, the attachments will have to point to this container as their owning item. When adding attachments to a process container, all items have to be saved together.
Note that when the process container is saved after removing an attachment, the attachment will be deleted.
handles
- the attachment handles