public class S_VersionSeries extends S_TiePublicObject
S_LibraryService
,
S_LibrarySession
S_LibraryObject.MapInfo
Modifier and Type | Field and Description |
---|---|
static int |
VERSIONING_LOCKING_POLICY_ENUM_INVALID_VALUE |
static int |
VERSIONING_LOCKING_POLICY_ENUM_LOCK_ALL |
static int |
VERSIONING_LOCKING_POLICY_ENUM_LOCK_NONE |
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_VersionSeries(S_LibrarySession session,
Long classId)
Construct object using session and class id.
|
protected |
S_VersionSeries(S_LibrarySession session,
S_LibraryObjectData data)
Construct a S_VersionSeries object using the current session and
S_LibraryObjectData.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cascadeDelete(OperationState opState,
S_LibraryObjectDefinition def)
Implements cascade operations to be performed before deleting
an object.
|
protected void |
cascadeFree(OperationState opState,
S_LibraryObjectDefinition def)
Implements cascade operations to be performed before freeing
an object.
|
protected void |
cascadeUndelete(OperationState opState,
S_LibraryObjectDefinition def)
Implements cascade operations to be performed before undeleting
an object.
|
protected void |
checkDefaultVersionDescription(S_LibraryObjectDefinition def)
Makes sure the default version description being set is in this series.
|
protected static S_VersionSeries[] |
constructVersionSeriesArray(S_LibrarySession sess,
Long[] ids)
Construct a S_VersionSeries array from an array of object IDs.
|
S_LibraryObject |
copy(OperationState opState,
S_LibraryObjectDefinition def)
Gets a copy of the resolved public object.
|
protected static S_LibraryObjectDefinition |
createDefaultDefinition(S_LibrarySession sess)
Creates a default server side definition for version series class.
|
protected void |
createFamily(OperationState opState,
S_LibraryObjectDefinition vsdef)
Creates a family for this version series.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add or modify the S_LibraryObjectDefinition
for this class.
|
protected S_PublicObject |
determineResolvedObject()
Gets the resolved object of the series.
|
protected void |
extendedPostUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update appropriate system attributes after updating this version series.
|
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
Setup appropriate system attributes prior to creating this series.
|
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Setup appropriate system attributes prior to updating this series.
|
protected S_VersionDescription |
getDefaultVersionDescription()
Gets the default VERSIONDESCRIPTION for this series.
|
protected S_Family |
getFamily()
Gets the server side representation of the FAMILY for this version
series.
|
protected S_VersionDescription |
getLatestVersionDescription()
Gets the latest version description in this series.
|
protected S_PublicObject |
getPendingPublicObject()
Gets the pending public object for this series.
|
Long[] |
getVersionDescriptionIds()
Get the IDs of all VersionDescriptions contained by this instance.
|
S_VersionDescription[] |
getVersionDescriptions()
Gets server side representation of all version descriptions in this series.
|
protected void |
handleCascade(OperationState opState,
S_LibraryObject source,
int cascadeType,
S_LibraryObjectDefinition sdef,
Object customArg)
Handles a cascaded operation initiated by * (usually) another object.
|
protected void |
handleVersioningLockPolicy(String operationType,
S_LibraryObjectDefinition vsdef)
handleVersioningLockPolicy - handle any Policy actions associated
with what objects get locked during any versioning operations
of a PublicObject.
|
protected void |
invokeDefaultMethodForPolicyOperation(String opType,
S_LibraryObjectDefinition vsdef) |
protected boolean |
isOwnerBeingChanged(S_LibraryObjectDefinition vsdef)
Returns true if special processing option is set to change ownership of series
based on that of the VD and PO.
|
void |
lockAllOnNewVersion(S_LibraryObjectDefinition svsdef)
Out of the box policy for what objects get locked during a checkin
We currently unlock the PO, VersionSeries and Family.
|
void |
lockAllOnReserveNext(S_LibraryObjectDefinition svsdef)
Out of the box policy for what objects get locked during a checkout
We currently USERLOCK the Family, VersionSeries, ResolvedPublicObject
and VersionDescriptionDefinition
All of the above versioning operations share the same lockobject
we also free any unreferenced lockobjects that may be held by this
VersionSeries
|
void |
lockNoneOnNewVersion(S_LibraryObjectDefinition vsDef)
Out of the box 2nd policy for locking on Checkin that does not
lock any versioning objects
Custom applications can switch to this policy by associating this with
the version description class
|
void |
lockNoneOnReserveNext(S_LibraryObjectDefinition vsdef)
A 2nd policy for what objects get locked during a checkout
this policy will not lock any of the objects
|
S_VersionDescription |
newRevision(S_LibraryObjectDefinition vddef)
Add a new version in the series.
|
void |
reserveNext(String contentPath,
String comment)
Reserves the right to create a new version in the series.
|
protected void |
resetLockState(S_LibraryObject vd)
Reset the lockstate on the new Last version description and resolved PO
according to the policy for that operation
|
protected void |
resolveFamily(OperationState opState,
S_LibraryObjectDefinition vsdef)
Checks to see if version series has family.
|
protected S_LibraryObjectDefinition |
resolveFamilyDefinition(S_LibraryObjectDefinition vsdef)
Returns a Family definition from the system option or newly created
family definition for this version series.
|
protected void |
resolveFamilyOwnership(S_LibraryObjectDefinition vsdef,
S_LibraryObjectDefinition famdef)
Sets up owner attribute for the family based on the special option.
|
protected void |
resolveNewRevisionDefinition(S_LibraryObjectDefinition vddef)
Sets up attributes required for a new version.
|
protected void |
setDefaultVersionDescription(S_VersionDescription version)
Sets the default VERSIONDESCRIPTION for the series.
|
protected void |
setLatestVersionDescription(S_VersionDescription version)
Sets the latest VERSIONDESCRIPTION for the series.
|
protected void |
setReserveNextAttrs(S_LibraryObjectDefinition def)
Sets up attribute values used for reservation of this series.
|
protected void |
setUnReserveAttrs(S_LibraryObjectDefinition def)
Sets up attribute values used for cancelling reservation of this series.
|
void |
unlockAllOnUnreserve(S_LibraryObjectDefinition svsdef)
Out of the box policy for what objects get unlocked during a
Cancel checkout
We currently USERLOCK the Family, VersionSeries, ResolvedPublicObject
and VersionDescriptionDefinition during a checkout
all these have to be unlocked
we also free any unreferenced lockobjects that may be held by this
VersionSeries
|
void |
unlockAllOnVDDelete(S_LibraryObjectDefinition vsdef)
Out of the box policy for what objects get unlocked during a
the delete of the last or default version description of a series
|
void |
unlockNoneOnUnreserve(S_LibraryObjectDefinition vsdef)
Another policy for what gets unlocked during a cancel checkout
this one does not unlock any of the versioning objects
|
void |
unReserve()
Removes the reservation on this version series.
|
protected static S_VersionSeries[] |
vectorToSVersionSeriesArray(S_LibrarySession sess,
Vector vector)
Converts vector of data for version series to an array of S_VersionSeries.
|
protected void |
verifyCanAddVersion()
Verifies if this series can be reserved by current user.
|
protected void |
verifyCanRemoveVersion()
Verifies if Versions can be deleted from this series by current user.
|
protected void |
verifyCanSetDefaultVersionAttributes()
Verifies that default versionDescriptions can be set on this series
by the current user.
|
protected void |
verifyNotReserved()
Checks to make sure this series is not reserved.
|
protected void |
verifyReservedByMe()
Makes sure this series is reserved by the current user
|
protected void |
verifyVersionDescriptionCanBeDeleted(S_LibraryObject vd,
OperationState opState)
Verifies that a specified VersionDescrption can be deleted from this Series.
|
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, 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
public static final int VERSIONING_LOCKING_POLICY_ENUM_INVALID_VALUE
public static final int VERSIONING_LOCKING_POLICY_ENUM_LOCK_ALL
public static final int VERSIONING_LOCKING_POLICY_ENUM_LOCK_NONE
protected S_VersionSeries(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- server side session representationdata
- Data componentIfsException
- if the operation failsprotected S_VersionSeries(S_LibrarySession session, Long classId) throws IfsException
This variant is used for objects that have not been created in the database yet.
session
- current LibrarySessionclassId
- Id of the class being createdIfsException
- if the operation failsprotected 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
This is overridden by classes to add custom handlers. It is ok if no class handles the cascade (that is implied to mean "no action needed").
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
This is overridden by classes that need to perform operations before successfully freeing the rows for the freed instance.
cascadeFree
in class S_PublicObject
opState
- the Operation statedef
- server side representation of the definitionIfsException
- if operation fails.protected void cascadeDelete(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations before successfully deleting the rows for the freed instance.
cascadeDelete
in class S_PublicObject
opState
- the operation statedef
- server side representation of definitionIfsException
- if operation fails.protected void cascadeUndelete(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations before successfully undeleting the rows for the freed instance.
cascadeUndelete
in class S_PublicObject
opState
- state of the operationdef
- Server side definition of the operationIfsException
- if operation failsprotected 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 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 the operation failsprotected 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 void checkDefaultVersionDescription(S_LibraryObjectDefinition def) throws IfsException
def
- server side definition that has the default version description attribute value.IfsException
- if the operation failsprotected S_PublicObject determineResolvedObject() throws IfsException
determineResolvedObject
in class S_PublicObject
IfsException
- if operation failsprotected void resolveFamily(OperationState opState, S_LibraryObjectDefinition vsdef) throws IfsException
opState
- current operation statevsdef
- server side version series definitionIfsException
- if the operation failsprotected void createFamily(OperationState opState, S_LibraryObjectDefinition vsdef) throws IfsException
opState
- current operation statevsdef
- server side version series definitionIfsException
- if the operation failsprotected boolean isOwnerBeingChanged(S_LibraryObjectDefinition vsdef) throws IfsException
vsdef
- version series definitionIfsException
- if the operation fails.protected void resolveFamilyOwnership(S_LibraryObjectDefinition vsdef, S_LibraryObjectDefinition famdef) throws IfsException
vsdef
- version series definitionfamdef
- family definitionIfsException
- if the operation failsprotected S_LibraryObjectDefinition resolveFamilyDefinition(S_LibraryObjectDefinition vsdef) throws IfsException
vsdef
- server side version series definitionIfsException
- if the operation failspublic S_VersionDescription newRevision(S_LibraryObjectDefinition vddef) throws IfsException
Adding new version will work only if the user requesting this operation holds a reservation on the version series. Unlocks the FAMILY and VERSIONSERIES. Soft locks the most recent VERSIONDESCRIPTION and PUBLICOBJECT corresponding to it. Changes the default version if needed.
vddef
- New public object definition to be created as the new versionIfsException
- if operation failsprotected void resolveNewRevisionDefinition(S_LibraryObjectDefinition vddef) throws IfsException
vddef
- server side version description definition for new versionIfsException
- if the operation failspublic void lockAllOnNewVersion(S_LibraryObjectDefinition svsdef) throws IfsException
svsdef
- the VersionSeriesDefinition for the Checkout operationIfsException
- if the operation failspublic void lockNoneOnNewVersion(S_LibraryObjectDefinition vsDef) throws IfsException
vsDef
- the VersionSeriesDefinition for the Checkout operationIfsException
- if the operation failspublic void reserveNext(String contentPath, String comment) throws IfsException
contentPath
- for reference purposes onlycomment
- reservation commentIfsException
- if operation failspublic void lockAllOnReserveNext(S_LibraryObjectDefinition svsdef) throws IfsException
svsdef
- the VersionSeriesDefinition for the Checkout operationIfsException
- if the operation failspublic void lockNoneOnReserveNext(S_LibraryObjectDefinition vsdef) throws IfsException
vsdef
- the VersionSeriesDefinition for the Checkout operationIfsException
- if the operation failspublic void unReserve() throws IfsException
IfsException
- if operation failspublic void unlockAllOnUnreserve(S_LibraryObjectDefinition svsdef) throws IfsException
svsdef
- the VersionSeriesDefinition for the operationIfsException
- if the operation failspublic void unlockNoneOnUnreserve(S_LibraryObjectDefinition vsdef) throws IfsException
vsdef
- the VersionSeriesDefinition for the operationIfsException
- if the operation failspublic void unlockAllOnVDDelete(S_LibraryObjectDefinition vsdef) throws IfsException
vsdef
- the VersionSeriesDefinition for the operationIfsException
- if the operation failsprotected void handleVersioningLockPolicy(String operationType, S_LibraryObjectDefinition vsdef) throws IfsException
operationType
- the operation type for the policyvsdef
- the VersionSeriesDefinition for the operationIfsException
- if the operation failsprotected void invokeDefaultMethodForPolicyOperation(String opType, S_LibraryObjectDefinition vsdef) throws IfsException
IfsException
protected void setReserveNextAttrs(S_LibraryObjectDefinition def) throws IfsException
def
- server side version series definitionIfsException
- if operation failsprotected void setUnReserveAttrs(S_LibraryObjectDefinition def) throws IfsException
def
- server side version series definitionIfsException
- if operation failsprotected void setLatestVersionDescription(S_VersionDescription version) throws IfsException
version
- server side representation for latest VERSIONDESCRIPTIONIfsException
- if operation failsprotected void setDefaultVersionDescription(S_VersionDescription version) throws IfsException
version
- default version description for the seriesIfsException
- if operation failsprotected S_VersionDescription getDefaultVersionDescription() throws IfsException
IfsException
- if operation failsprotected S_PublicObject getPendingPublicObject() throws IfsException
Pending public object will be used as the PUBLICOBJECT for the
next call on newVersion
method.
IfsException
- if operation fails.protected S_VersionDescription getLatestVersionDescription() throws IfsException
IfsException
- if operation failsprotected S_Family getFamily() throws IfsException
getFamily
in class S_PublicObject
IfsException
- if the operation failspublic S_VersionDescription[] getVersionDescriptions() throws IfsException
getVersionDescriptions
in class S_PublicObject
IfsException
- if the operation failspublic Long[] getVersionDescriptionIds() throws IfsException
IfsException
- if the operation failsprotected void verifyNotReserved() throws IfsException
IfsException
- if this series already reserved or operation failed.protected void verifyReservedByMe() throws IfsException
IfsException
- if operation failsprotected void verifyCanAddVersion() throws IfsException
IfsException
- if the operation failsprotected void verifyCanRemoveVersion() throws IfsException
IfsException
- if the operation failsprotected void verifyVersionDescriptionCanBeDeleted(S_LibraryObject vd, OperationState opState) throws IfsException
vd
- the specified VersionDescriptionIfsException
- if the specified object cannot be deleted or freed.protected void resetLockState(S_LibraryObject vd) throws IfsException
vd
- the specified VersionDescriptionIfsException
- if the specified object cannot be deleted or freed.protected void verifyCanSetDefaultVersionAttributes() throws IfsException
IfsException
- if the operation failsprotected static S_LibraryObjectDefinition createDefaultDefinition(S_LibrarySession sess) throws IfsException
sess
- server sid erepresentation of current sessionIfsException
- if the operation failsprotected static S_VersionSeries[] vectorToSVersionSeriesArray(S_LibrarySession sess, Vector vector) throws IfsException
sess
- server side representation of current sessionvector
- contains S_LibraryObjectData for version series objectsIfsException
- is the operation failsprotected static S_VersionSeries[] constructVersionSeriesArray(S_LibrarySession sess, Long[] ids) throws IfsException
sess
- the requesting sessionids
- the array of object IDsIfsException
- if operation fails.Copyright © 2023. All rights reserved.