public interface ICockpitData
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommitVersion()
Returns the version ID of the commit when the object has been changed
teh last time.
|
java.lang.Long |
getCreationDate_MilliSecondsSince_01_01_1970()
Returns the date of the creation date in milli senconds since
01/01/1970.
|
java.lang.String |
getCreationDate()
Returns the creation date.
|
java.lang.String |
getCreator()
Returns the creator's name.
|
java.lang.Long |
getDateOfLastModification_MilliSecondsSince_01_01_1970()
Returns the date of the last modification in milli senconds since
01/01/1970.
|
java.lang.String |
getDateOfLastModification()
Returns the date of the last modification.
|
java.lang.String |
getDisplayName()
Returns the display name of the item, i.e. a label representing the
item.
|
java.lang.String |
getLastModifier()
Returns the last modifier's name.
|
java.lang.String |
getLinkForShow()
Creates a link to show an object in ARCWAY COCKPIT.
|
java.lang.String |
getModificationCount()
Returns the modification count (i.e. the number of times the item has
been changed so far).
|
java.lang.String |
getProjectUniqueIdentifier()
Returns a unique identifier that uniquely identifies the COCKPIT
project that contains this object.
|
java.lang.String |
getTypeID()
Returns the id of the data type of the item.
|
java.lang.String |
getTypeName()
Returns the name of the data type of the item.
|
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier that uniquely identifies this object
within the COCKPIT project.
|
IRecord |
toRecord()
Converts this cockpit project data into a record.
|
IRecord |
toRecord(java.util.Set<java.lang.String> keyWhiteList)
Like
toRecord() while only properties are filled into the
record of which the keys are contained in keyWhiteList. |
java.lang.String getUniqueIdentifier()
Example from report template:
#set($plan_uid = ${plan.getUniqueIdentifier()})
java.lang.String getProjectUniqueIdentifier()
Example from report template:
#set($project_uid_of_plan = ${plan.getProjectUniqueIdentifier()})
java.lang.String getDisplayName()
java.lang.String getTypeName()
java.lang.String getTypeID()
java.lang.String getCommitVersion()
java.lang.String getDateOfLastModification()
java.lang.Long getDateOfLastModification_MilliSecondsSince_01_01_1970()
java.lang.String getLastModifier()
java.lang.String getCreationDate()
java.lang.Long getCreationDate_MilliSecondsSince_01_01_1970()
java.lang.String getCreator()
java.lang.String getModificationCount()
java.lang.String getLinkForShow()
What "to show" means, may depend on the concrete object type.
plan: will be openend/topped
unique element: will be highlightet in the first plan where this element is *not* (!) refined (if there is no such plan, open some plan with this element)
all objects: the details view should show this object
This link may not be supported by all output types.
IRecord toRecord()
In the created record, the following fields are filled accoring to the wrapped cockpit data:
IRecord.WRAPPED_OBJECT_KEYIRecord.UNIQUE_IDENTIFIER_KEYIRecord.PROJECT_UNIQUE_IDENTIFIER_KEYIRecord.DISPLAY_NAME_KEYIRecord.TYPE_NAME_KEYIRecord.TYPE_ID_KEYIRecord.COMMIT_VERSION_KEYIRecord.DATE_OF_LAST_MODIFICATON_KEYIRecord.LAST_MODIFIER_KEYIRecord.CREATION_DATE_KEYIRecord.CREATOR_KEYIRecord.MODIFICATION_COUNT_KEYIRecord toRecord(java.util.Set<java.lang.String> keyWhiteList)
toRecord() while only properties are filled into the
record of which the keys are contained in keyWhiteList.keyWhiteList - key white list (empty to include no property,
null to include all properities)