public class VersionDescription extends TiePublicObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME
This class name for this class.
|
static String |
PUBLICOBJECT_ATTRIBUTE
The versioned object that this VersionDescription describes
in the context of a VersionSeries.
|
static String |
REVISIONCOMMENT_ATTRIBUTE
The check-in comment (a textual description) of the versioned object
that this VersionDescription describes.
|
static String |
VERSIONLABEL_ATTRIBUTE
A user supplied label for the versioned object that this VersionDescription
describes (e.g. '1.2.3a', 'alpha').
|
static String |
VERSIONNUMBER_ATTRIBUTE
The numbered sequence that this VersionDescription occupies in the VersionSeries.
|
static String |
VERSIONSERIES_ATTRIBUTE
The VersionSeries to which this VersionDescription belongs.
|
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description |
|---|---|
protected |
VersionDescription(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a VersionDescription object - standard variant.
|
| Modifier and Type | Method and Description |
|---|---|
protected static VersionDescription |
constructVersionDescription(LibrarySession sess,
S_LibraryObjectData data)
Return VersionDescription from a VersionDescription data.
|
protected static VersionDescription[] |
constructVersionDescriptionArray(LibrarySession sess,
Long[] ids)
Construct a Version Description array from an array of object IDs.
|
protected static Vector |
constructVersionDescriptionVector(LibrarySession sess,
Vector vector)
Returns a VersionDescription Vector from a Vector of VersionDescription
|
VersionDescription |
createBranchedVersionSeries(VersionDescriptionDefinition vddef)
Creates a branched
version series in this family, which relates back to this
version description.
|
VersionDescription |
getFirstVersionDescription()
Cover for
getVersionSeries().getFirstVersionDescription() |
VersionDescription |
getLastVersionDescription()
Cover for
getVersionSeries().getLastVersionDescription() |
PublicObject |
getNextVersion()
Returns the PublicObject referenced by the next VersionDescription.
|
VersionDescription |
getNextVersionDescription()
Cover for
getVersionSeries().getNextVersionDescription() |
PublicObject |
getPreviousVersion()
Returns the PublicObject referenced by the previous VersionDescription.
|
VersionDescription |
getPreviousVersionDescription()
Cover for
getVersionSeries().getPreviousVersionDescription() |
PublicObject |
getPublicObject()
Returns the PublicObject for this
version description.
|
String |
getRevisionComment()
Returns the user specified revision comment for this
version description.
|
String |
getVersionLabel()
Returns the user specified version label for this
version description.
|
long |
getVersionNumber()
Returns the linear, system generated version number for this
version description.
|
VersionSeries |
getVersionSeries()
Returns this version description's version series
|
void |
integrateIntoVersionSeries(VersionSeries vs)
Records that this VersionDescription
relates as a source to the latest version of the given
version series.
|
boolean |
isLatestVersionDescription()
Cover for
getVersionSeries().isLatestVersionDescription(this) |
boolean |
isVersioned()
Returns false always.
|
void |
setVersionLabel(String label)
Sets the user specified version label for this
version description.
|
protected static VersionDescription[] |
vectorToVersionDescriptionArray(Vector vector)
Returns an array of VersionDescription objects from a vector of
VersionDescription objects.
|
protected static VersionDescription |
vectorVersionDescriptionElement(Vector vector,
int index)
Returns a particular VersionDescription object from a vector
of version description objects based on the index specified by the user.
|
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, auditPublicObjectLocked, auditPublicObjectUnlocked, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, capabilities, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, free, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getOwner, getPolicyBundle, getPolicyLists, getPrimaryFolderPath, getPrimaryFolderPathIds, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersions, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postCreate, postSecurityChangedEvent, postUpdate, preCopy, preCreate, preFree, preUpdate, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeriesadded, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String VERSIONSERIES_ATTRIBUTE
public static final String PUBLICOBJECT_ATTRIBUTE
public static final String VERSIONNUMBER_ATTRIBUTE
public static final String VERSIONLABEL_ATTRIBUTE
public static final String REVISIONCOMMENT_ATTRIBUTE
protected VersionDescription(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibrarySessionid - object IDclassId - the object's class IDdata - the object's dataIfsExceptionpublic VersionSeries getVersionSeries() throws IfsException
getVersionSeries in class PublicObjectIfsException - if operation fails.public long getVersionNumber()
throws IfsException
getVersionNumber in class PublicObjectIfsException - if operation fails.public String getVersionLabel() throws IfsException
IfsException - if operation fails.public void setVersionLabel(String label) throws IfsException
label - the version labelIfsException - if operation fails.public PublicObject getPublicObject() throws IfsException
IfsException - if operation fails.public String getRevisionComment() throws IfsException
IfsException - if operation fails.public VersionDescription getFirstVersionDescription() throws IfsException
getVersionSeries().getFirstVersionDescription()IfsException - if operation fails.public boolean isLatestVersionDescription()
throws IfsException
getVersionSeries().isLatestVersionDescription(this)IfsException - if operation fails.public VersionDescription getLastVersionDescription() throws IfsException
getVersionSeries().getLastVersionDescription()IfsException - if operation fails.public VersionDescription getNextVersionDescription() throws IfsException
getVersionSeries().getNextVersionDescription()IfsException - if operation fails.public VersionDescription getPreviousVersionDescription() throws IfsException
getVersionSeries().getPreviousVersionDescription()IfsException - if operation fails.public PublicObject getNextVersion() throws IfsException
getNextVersion in class PublicObjectIfsException - if operation fails.public PublicObject getPreviousVersion() throws IfsException
getPreviousVersion in class PublicObjectIfsException - if operation fails.public VersionDescription createBranchedVersionSeries(VersionDescriptionDefinition vddef) throws IfsException
vddef - Definition object describing the first VersionDescription
in the new VersionSeries.IfsException - on failurepublic void integrateIntoVersionSeries(VersionSeries vs) throws IfsException
vs - the target VersionSeries to which this version description
will relate.IfsException - on failureprotected static Vector constructVersionDescriptionVector(LibrarySession sess, Vector vector) throws IfsException
sess - the requesting sessionvector - the Vector of VersionDescriptionIfsException - on failureprotected static VersionDescription[] constructVersionDescriptionArray(LibrarySession sess, Long[] ids) throws IfsException
sess - the requesting sessionids - the array of object IDsIfsException - if operation fails.public boolean isVersioned()
throws IfsException
isVersioned in class PublicObjectIfsException - if operation fails.protected static VersionDescription constructVersionDescription(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess - handle to the library sessiondata - data object corresponding to the VersionDescriptionIfsException - if the operation failsprotected static VersionDescription[] vectorToVersionDescriptionArray(Vector vector)
vector - vector of VersionDescription objectsprotected static VersionDescription vectorVersionDescriptionElement(Vector vector, int index)
vector - vector of version description objectsindex - points to the required version descriptionCopyright © 2025. All rights reserved.