Class Revision
java.lang.Object
com.polarion.platform.persistence.spi.PObject
com.polarion.platform.persistence.spi.Revision
- All Implemented Interfaces:
IAdaptable
,IChangeListener
,IHasCustomValues
,IHasValues
,IPObject
,IRevision
,IHasChangeListeners
,Serializable
- Author:
- POLARION SOFTWARE
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.polarion.platform.persistence.spi.PObject
PObject.SerializedPObject
-
Field Summary
Fields inherited from interface com.polarion.platform.persistence.model.IRevision
KEY_AUTHOR, KEY_BRANCH, KEY_CREATED, KEY_INTERNAL_COMMIT, KEY_MESSAGE, KEY_NAME, KEY_REPOSITORY_NAME, PROTO
-
Constructor Summary
ConstructorDescriptionRevision
(IDataService dataSvc, IPrototype prototype) Revision
(IDataService dataSvc, SubterraURI uri) Revision
(IDataService dataSvc, SubterraURI uri, com.polarion.subterra.base.data.object.IDataObject dao) -
Method Summary
Modifier and TypeMethodDescriptionBranch that the revision comes from.getLocationDiffURL
(ILocationChangeMetaData locationChangeMetaData) getLocationURL
(ILocationChangeMetaData locationChangeMetaData) getName()
boolean
boolean
Methods inherited from class com.polarion.platform.persistence.spi.PObject
adapt, addChangeListener, can, checkReadOnly, copy, copyTo, createStructureForKey, equals, exists, forget, getCachedDynamicRoles, getContextId, getCustomField, getCustomFieldPrototype, getCustomFieldsList, getData, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getSecurityReferee, getUri, getValue, hashCode, isBypassingInstanceModificationSecurityCheck, isInCustomSet, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, markChanged, markUnresolvable, resolve, save, setBypassInstanceModificationSecurityCheck, setCachedDynamicRoles, setCustomField, setDao, setEnumerationValue, setInCustomSet, setURI, setValue, toString, update
Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adapt
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.platform.persistence.model.IPObject
can, copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, update
-
Constructor Details
-
Revision
- Parameters:
dataSvc
-prototype
-
-
Revision
- Parameters:
dataSvc
-uri
-
-
Revision
public Revision(IDataService dataSvc, SubterraURI uri, com.polarion.subterra.base.data.object.IDataObject dao) - Parameters:
dataSvc
-uri
-dao
-
-
-
Method Details
-
getCreated
- Specified by:
getCreated
in interfaceIRevision
-
getMessage
- Specified by:
getMessage
in interfaceIRevision
-
getStringAuthor
- Specified by:
getStringAuthor
in interfaceIRevision
-
getName
-
getRepositoryName
- Specified by:
getRepositoryName
in interfaceIRevision
- Returns:
- Name of the repository this revision belongs to
-
isInternalCommit
public boolean isInternalCommit()- Specified by:
isInternalCommit
in interfaceIRevision
-
getBranch
Description copied from interface:IRevision
Branch that the revision comes from. Only one branch will be specified. Returns value only if ERA service is used. -
isExternal
public boolean isExternal()- Specified by:
isExternal
in interfaceIRevision
- Since:
- 3.5.1
-
getViewURL
- Specified by:
getViewURL
in interfaceIRevision
- Since:
- 3.5.1
-
getLocationDiffURL
- Specified by:
getLocationDiffURL
in interfaceIRevision
-
getLocationURL
- Specified by:
getLocationURL
in interfaceIRevision
-
getChangedLocations
- Specified by:
getChangedLocations
in interfaceIRevision
-