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
ConstructorsConstructorDescriptionRevision(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()booleanbooleanMethods 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, isBypassingInstanceDeletionSecurityCheck, isBypassingInstanceModificationSecurityCheck, isInCustomSet, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, markChanged, markUnresolvable, resolve, save, setBypassInstanceDeletionSecurityCheck, setBypassInstanceModificationSecurityCheck, setCachedDynamicRoles, setCustomField, setDao, setEnumerationValue, setInCustomSet, setURI, setValue, toString, updateMethods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adaptMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods 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:
getCreatedin interfaceIRevision
-
getMessage
- Specified by:
getMessagein interfaceIRevision
-
getStringAuthor
- Specified by:
getStringAuthorin interfaceIRevision
-
getName
-
getRepositoryName
- Specified by:
getRepositoryNamein interfaceIRevision- Returns:
- Name of the repository this revision belongs to
-
isInternalCommit
public boolean isInternalCommit()- Specified by:
isInternalCommitin interfaceIRevision
-
getBranch
Description copied from interface:IRevisionBranch 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:
isExternalin interfaceIRevision- Since:
- 3.5.1
-
getViewURL
- Specified by:
getViewURLin interfaceIRevision- Since:
- 3.5.1
-
getLocationDiffURL
- Specified by:
getLocationDiffURLin interfaceIRevision
-
getLocationURL
- Specified by:
getLocationURLin interfaceIRevision
-
getChangedLocations
- Specified by:
getChangedLocationsin interfaceIRevision
-