public class S_VersionDescription extends S_TiePublicObject
S_LibraryService
,
S_LibrarySession
S_LibraryObject.MapInfo
Modifier and Type | Field and Description |
---|---|
protected static String |
LABEL_ATTRIBUTE |
protected static String |
NUMERIC_LABEL_ATTRIBUTE |
protected static String |
PUBLIC_OBJECT_ATTRIBUTE |
protected static String |
REVISION_COMMENT_ATTRIBUTE |
protected static String |
VERSION_NUMBER_ATTRIBUTE |
protected static String |
VERSION_SERIES_ATTRIBUTE |
ACL_ATTRIBUTE, CLASS_NAME, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICY_ENUM_EXTENDEDFREE_IGNORE_OWNERSHIP, POLICY_ENUM_EXTENDEDFREE_INVALID_VALUE, POLICY_ENUM_EXTENDEDFREE_REQUIRE_ADMIN, POLICYBUNDLE_ATTRIBUTE, RESOLVED_OBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
CASCADE_OP_COPY_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_COPY_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_DELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_DELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_DELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_DELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_DELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_FREE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_FREE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_FREE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_FREE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_FREE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_FREE_SYSTEMOBJECT_TO_CATEGORY, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_FREE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_FREE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDEFINED, CASCADE_OP_UNDELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UPDATE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_UPDATE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SYSTEMOBJECT_TO_CATEGORY, DEFAULT_RENDERER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
S_VersionDescription(S_LibrarySession session,
Long classId)
Construct a S_VersionDescription object.
|
protected |
S_VersionDescription(S_LibrarySession session,
S_LibraryObjectData data)
Construct a S_VersionDescription object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cascadeDelete(OperationState opState,
S_LibraryObjectDefinition def)
Cascade operations to be performed before deleting
an object.
|
protected void |
cascadeFree(OperationState opState,
S_LibraryObjectDefinition def)
Cascade operations to be performed before freeing
an object.
|
protected void |
cascadeUndelete(OperationState opState,
S_LibraryObjectDefinition def)
Cascade operations to be performed before undeleting
an object.
|
protected static S_VersionDescription[] |
constructVersionDescriptionArray(S_LibrarySession sess,
Long[] ids)
Construct a VersionDescription array from an array of object IDs.
|
S_LibraryObject |
copy(OperationState opState,
S_LibraryObjectDefinition def)
Make a copy of the target object.
|
protected void |
copyFamilyAttribute(S_LibraryObjectDefinition sourceDef,
S_LibraryObjectDefinition targetDef)
Copies family attribute from a sourec definition to the
destination definition.
|
protected void |
createBranchRelationship(S_VersionSeries parentVS,
S_VersionSeries childVS,
S_VersionDescription sourceVD,
S_VersionDescription targetVD)
Javadoc Fixme
|
protected void |
createPublicObject(OperationState opState,
S_LibraryObjectDefinition vddef)
Creates a Public Object to be associated with this version description.
|
protected void |
createVersionSeries(OperationState opState,
S_LibraryObjectDefinition vddef)
Creates version series to hold a version description.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add or modify the S_LibraryObjectDefinition
for this class.
|
protected S_PublicObject |
determineResolvedObject()
Return the object this resolves to.
|
protected void |
extendedPostUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for updating this version description
|
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for creating this version description
|
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for updating this version description
|
protected S_Family |
getFamily()
Returns the S_Family of this object.
|
protected S_PublicObject |
getPublicObject()
Returns the public object associated with this object.
|
protected long |
getSortSequence()
Returns the sort sequnce of this object in the version series.
|
protected S_VersionSeries |
getVersionSeries()
Returns the version series for this objects.
|
protected void |
handleCascade(OperationState opState,
S_LibraryObject source,
int cascadeType,
S_LibraryObjectDefinition sdef,
Object customArg)
Handle a cascaded operation initiated by
(usually) another object.
|
protected void |
initializeVersionSequence(S_LibraryObjectDefinition vddef,
S_LibraryObjectDefinition vsdef)
Initializes the version sequence.
|
protected void |
integrateIntoVersionSeries(S_VersionDescription targetvd)
Javadoc Fixme
|
protected void |
integrateIntoVersionSeries(S_VersionSeries parentVS)
Javadoc Fixme
|
protected boolean |
isOwnerBeingChanged(S_LibraryObjectDefinition vddef)
Returns true if the special option to change ownership to that of PO
is set in the definition.
|
protected S_VersionDescription |
newBranchedVersionSeries(S_LibraryObjectDefinition vddef)
Javadoc Fixme
|
protected void |
newBranchRelationship(S_VersionDescription targetVD)
Javadoc Fixme
|
protected void |
newIntegrateRelationship(S_VersionDescription targetVD)
Javadoc Fixme
|
protected void |
resolveOwnership(S_LibraryObjectDefinition def)
Modifies ownership of the Version Description based on SYSTEOPTION_CHANGE_OWNERSHIP.
|
protected void |
resolvePublicObject(OperationState opState,
S_LibraryObjectDefinition vddef)
Sets the Resolved PublicObject attribute of this object.
|
protected void |
resolveVersionSeries(OperationState opState,
S_LibraryObjectDefinition vddef)
Resolves the Version series for this object.
|
protected S_LibraryObjectDefinition |
resolveVersionSeriesDefinition(S_LibraryObjectDefinition vddef)
Returns a VersionSeries definition.
|
protected void |
resolveVersionSeriesOwnership(S_LibraryObjectDefinition vddef,
S_LibraryObjectDefinition vsdef)
Setup owner attribute of Version series definition based on the special
option set in version description definition.
|
protected static S_VersionDescription[] |
vectorToSVersionDescriptionArray(S_LibrarySession sess,
Vector vector)
Constructs an array of version descriptions from a vector of version descriptions.
|
addCategory, addRelationship, addRelationship, canUseContentQuota, cascadeCopy, checkAccess, constructPublicObjectArray, createCategories, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, delete, delete, DYNReplaceCreator, DYNReplaceDeletor, DYNReplaceModifier, extendedPostDelete, extendedPostFree, extendedPostInsert, extendedPostUndelete, extendedPreCopy, extendedPreDelete, extendedPreFree, extendedPreUndelete, forceSecuredObjectsToClear, freeIfNoFolderReferences, freeNonsharedAcl, freeNonsharedLockObject, getAcl, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllLeftRelationships, getAllRightRelationships, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAuditEventFolderContext, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getDefaultAclFromUserProfile, getFlags, getLeftRelationships, getLeftwardRelationshipDatas, getLeftwardRelationshipDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinkIds, getLinks, getLockedForSessionId, getLockEntries, getLockObject, getLockRestrictions, getOwner, getPrimaryParentFolder, getPropagatedSecurityAttributeNames, getPropagatedSecurityColumnNames, getReferencingFolderIds, getReferencingFolders, getResolvedObject, getRightRelationships, getRightwardRelationshipDatas, getRightwardRelationshipDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSpecificLeftRelationships, getSpecificRightRelationships, getVersionDescriptions, handleExtendedFreePolicy, hasNameAttribute, invokeLockingPolicy, isAuditCertificateSecured, isDeleted, isLocked, isLockedForSession, isLockedForSessionByCurrentSession, isLockObjectEnabled, isLockObjectEnabled, isOwner, isVersionable, postCreateAddToFolder, postDelete, postSecurityChangeAuditEvent, postUndelete, preDelete, preUndelete, propagateFreeIfNoFolderReferences, propagateNameChanges, propagateSecurityChanges, propogateSettingsToProxyService, putProperty, reassociateLinks, relationshipExists, removeRelationship, removeRelationship, removeRowFromAclProxyIfSecured, resolveACLSetting, resolveResolvedObject, resolveSecuredBySettings, signalLeftRelationshipFreed, signalRightRelationshipFreed, undelete, undelete, unlockForSession, updateFamily, updateFlags, updateLastModifiedInfo, updatePrimaryParentFolder, vectorToSPublicObjectArray, verifyCanAddRelationship, verifyCanCreate, verifyCanFree, verifyCanLock, verifyCanRemoveRelationship, verifyCanSetPolicy, verifyCanUnlock, verifyCanUpdatePublicObject, verifyCanUseContentQuota, verifyGrantAccess, verifyObjectNotLocked, verifyObjectNotLocked, verifyPublicObjectPermission
added, applyValueDefault, associatedPostFree, associatedPostInsert, associatedPreInsert, canPurge, cascadeUpdate, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copyVectorToLibraryObjectArray, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getClassData, getClassId, getClassName, getClassObject, getContentStorageManager, getData, getDefinition, getEffectivePolicyActionContexts, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getId, getLibraryConnection, getName, getObjectReferenceAttribute, getPropertyBundle, getPropertyValue, getResourceString, getResourceString, getService, getSession, getSessionInterface, getTraceLogger, handleEvent, hashCode, insertReferenceAttributes, insertRow, insertRows, invalidateState, invokeOperation, invokePolicyMethod, isBroadcastCreateEventEnabled, isInstanceOf, isPersistent, issueCascade, isTraced, lockRows, postEvent, postEvent, postFree, postInsert, postUpdate, preFree, preInsert, preUpdate, privilegedUpdate, removed, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, toString, trace, update, updateRows, validateStringArray, verifyCanGetContent, verifyCanSetContent, verifyCanUpdate, verifyPersistent, verifyWriteableTransactionInProgress
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
protected static final String VERSION_SERIES_ATTRIBUTE
protected static final String PUBLIC_OBJECT_ATTRIBUTE
protected static final String VERSION_NUMBER_ATTRIBUTE
protected static final String LABEL_ATTRIBUTE
protected static final String NUMERIC_LABEL_ATTRIBUTE
protected static final String REVISION_COMMENT_ATTRIBUTE
protected S_VersionDescription(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessiondata
- Data componentIfsException
protected S_VersionDescription(S_LibrarySession session, Long classId) throws IfsException
session
- current LibrarySessionIfsException
protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
deriveDefinition
in class S_PublicObject
def
- the S_LibraryObjectDefinition that contains
the definition of the target object.IfsException
- if operation fails.public S_LibraryObject copy(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
copy
in class S_LibraryObject
opState
- the OperationStatedef
- any modifications to make to the copied objectIfsException
- if operation fails.protected void handleCascade(OperationState opState, S_LibraryObject source, int cascadeType, S_LibraryObjectDefinition sdef, Object customArg) throws IfsException
handleCascade
in class S_PublicObject
opState
- originating operation statesource
- object initiating this cascade request (not
necessarily the original object)cascadeType
- type of cascade requestsdef
- original Definition objectcustomArg
- any custom parameter.IfsException
- if operation fails.protected void cascadeFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
cascadeFree
in class S_PublicObject
opState
- the operation statedef
- the definition objectIfsException
- if operation fails.protected void cascadeDelete(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
cascadeDelete
in class S_PublicObject
opState
- the operation statedef
- the definition objectIfsException
- if operation fails.protected void cascadeUndelete(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
cascadeUndelete
in class S_PublicObject
opState
- the operation statedef
- the definition objectIfsException
- if operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreInsert
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void resolveOwnership(S_LibraryObjectDefinition def) throws IfsException
def
- definition for version descriptionIfsException
- if the operation failsprotected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreUpdate
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPostUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostUpdate
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected S_PublicObject determineResolvedObject() throws IfsException
determineResolvedObject
in class S_PublicObject
IfsException
- if operation fails.protected void resolveVersionSeries(OperationState opState, S_LibraryObjectDefinition vddef) throws IfsException
opState
- the operation statevddef
- definition of version descriptionIfsException
- if the operation failsprotected void createVersionSeries(OperationState opState, S_LibraryObjectDefinition vddef) throws IfsException
opState
- the operation statevddef
- definition of version descriptionIfsException
- if the operation failsprotected void resolveVersionSeriesOwnership(S_LibraryObjectDefinition vddef, S_LibraryObjectDefinition vsdef) throws IfsException
vddef
- version description definitionvsdef
- version series definitionIfsException
- if the operation failsprotected boolean isOwnerBeingChanged(S_LibraryObjectDefinition vddef) throws IfsException
vddef
- version description definitionIfsException
- if the operation failsprotected S_LibraryObjectDefinition resolveVersionSeriesDefinition(S_LibraryObjectDefinition vddef) throws IfsException
vddef
- version description definitionIfsException
- if the operation failsprotected void initializeVersionSequence(S_LibraryObjectDefinition vddef, S_LibraryObjectDefinition vsdef) throws IfsException
vddef
- definition to the version descriptionvsdef
- definition to the version seriesIfsException
- if the operation failsprotected void resolvePublicObject(OperationState opState, S_LibraryObjectDefinition vddef) throws IfsException
opState
- the operation statevddef
- version series definitionIfsException
- if the operation failsprotected void createPublicObject(OperationState opState, S_LibraryObjectDefinition vddef) throws IfsException
opState
- the operation statevddef
- version description definitionIfsException
- if the operation failsprotected void copyFamilyAttribute(S_LibraryObjectDefinition sourceDef, S_LibraryObjectDefinition targetDef) throws IfsException
sourceDef
- Source definitiontargetDef
- Destination definitionIfsException
- if the operation failsprotected S_Family getFamily() throws IfsException
getFamily
in class S_PublicObject
IfsException
- if the operation failsprotected S_VersionSeries getVersionSeries() throws IfsException
IfsException
- if the operation failsprotected S_PublicObject getPublicObject() throws IfsException
IfsException
- if the operation failsprotected long getSortSequence() throws IfsException
IfsException
- if the operation failsprotected S_VersionDescription newBranchedVersionSeries(S_LibraryObjectDefinition vddef) throws IfsException
IfsException
protected void integrateIntoVersionSeries(S_VersionSeries parentVS) throws IfsException
IfsException
protected void integrateIntoVersionSeries(S_VersionDescription targetvd) throws IfsException
IfsException
protected void newBranchRelationship(S_VersionDescription targetVD) throws IfsException
IfsException
protected void newIntegrateRelationship(S_VersionDescription targetVD) throws IfsException
IfsException
protected void createBranchRelationship(S_VersionSeries parentVS, S_VersionSeries childVS, S_VersionDescription sourceVD, S_VersionDescription targetVD) throws IfsException
IfsException
protected static S_VersionDescription[] vectorToSVersionDescriptionArray(S_LibrarySession sess, Vector vector) throws IfsException
sess
- handle to the sessionvector
- vector of version descriptionsIfsException
- if the operation failsprotected static S_VersionDescription[] constructVersionDescriptionArray(S_LibrarySession sess, Long[] ids) throws IfsException
sess
- the requesting sessionids
- the array of object IDsIfsException
- if operation fails.Copyright © 2023. All rights reserved.