public class S_Family extends S_TiePublicObject
S_LibraryObject.MapInfo
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_Family(S_LibrarySession session,
Long classId)
Construct object using a session and class id.
|
protected |
S_Family(S_LibrarySession session,
S_LibraryObjectData data)
Construct a family object using the 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)
Checks to make sure that the default version description in
this family.
|
protected void |
checkPrimaryVersionSeries(S_LibraryObjectDefinition def)
Checks to make sure that the Primary Version Series attribute
has a Version series which is in the same family.
|
S_LibraryObject |
copy(OperationState opState,
S_LibraryObjectDefinition def)
Makes a copy of the resolved PUBLICOBJECT.
|
protected static S_LibraryObjectDefinition |
createDefaultDefinition(S_LibrarySession sess)
Creates a default server side definition for a Family.
|
protected S_VersionDescription |
createVersionSeries(S_LibraryObjectDefinition vddef)
Creates a new secondary version series.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add or modify the S_LibraryObjectDefinition
for this class.
|
protected S_PublicObject |
determineResolvedObject()
Gets the object this family resolves to.
|
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for updating this family
|
S_VersionSeries[] |
getAllVersionSeries()
Gets the server side representation of all version series in this family.
|
Long[] |
getAllVersionSeriesIds()
Get the IDs of all VersionSeries contained by this instance.
|
protected long |
getConsumedStorage()
Gets the sum of contentsizes of all the documents in this family.
|
protected S_VersionDescription |
getDefaultVersionDescription()
Gets the default version description for this family.
|
protected S_VersionSeries |
getPrimaryVersionSeries()
Gets the Primary Version Series of this family.
|
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 |
setDefaultVersionDescription(S_VersionDescription version)
Sets the default VERSIONDESCRIPTION for the family.
|
protected void |
setPrimaryVersionSeries(S_VersionSeries series)
Sets the PRIMARY VERSIONSERIES for this family
|
protected void |
setSecondaryVersionSeries(S_VersionSeries series)
Sets the secondary VERSIONSERIES for this family
|
protected void |
verifyCanAddVersionSeries()
Verifies that additional VersionSeries' can be added.
|
protected void |
verifyCanRemoveVersionSeries()
Verifies that VersionSeries' can be removed from the Family.
|
protected void |
verifyCanSetDefaultVersionAttributes()
Verifies that default versionDescriptions can be set.
|
protected void |
verifyVersionSeriesCanBeDeleted(S_LibraryObject vs,
OperationState opState)
Verifies that a specified VersionSeries can be deleted from a VersionSeries.
|
addCategory, addRelationship, addRelationship, canUseContentQuota, cascadeCopy, checkAccess, constructPublicObjectArray, createCategories, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, delete, delete, DYNReplaceCreator, DYNReplaceDeletor, DYNReplaceModifier, extendedPostDelete, extendedPostFree, extendedPostInsert, extendedPostUndelete, extendedPostUpdate, extendedPreCopy, extendedPreDelete, extendedPreFree, extendedPreInsert, extendedPreUndelete, forceSecuredObjectsToClear, freeIfNoFolderReferences, freeNonsharedAcl, freeNonsharedLockObject, getAcl, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllLeftRelationships, getAllRightRelationships, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAuditEventFolderContext, getCategories, getCategories, getCategories, getCategory, getDefaultAclFromUserProfile, getFamily, 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 S_Family(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- current server side session representation.data
- Data componentIfsException
- if the operation failsprotected S_Family(S_LibrarySession session, Long classId) throws IfsException
This variant is used for objects that have not been created in the database yet.
session
- current server side session representation.classId
- id of the class being created.IfsException
- 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
Family overrides this and currently only copies the object that the family resolves to. The object returned is the copy of the resolved object. This will become more flexible in the future.
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 objectcascadeType
- 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
- originating Operation state.def
- server side representation of definition.IfsException
- 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 OperationStatedef
- any modifications to make to the copied objectIfsException
- 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
- the OperationStatedef
- any modifications to make to the copied objectIfsException
- 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 operation fails.protected void checkPrimaryVersionSeries(S_LibraryObjectDefinition def) throws IfsException
def
- Serevr side definitionIfsException
- (IFS-34400) if Version series is not in this family.protected void setPrimaryVersionSeries(S_VersionSeries series) throws IfsException
series
- server side representation for primary VERSIONSERIESIfsException
- if operation failsprotected void setSecondaryVersionSeries(S_VersionSeries series) throws IfsException
series
- server side representation for secondary VERSIONSERIESIfsException
- if operation failsprotected void checkDefaultVersionDescription(S_LibraryObjectDefinition def) throws IfsException
def
- server side definitionIfsException
- (IFS-34401) if the Version description is not in this family.protected void setDefaultVersionDescription(S_VersionDescription version) throws IfsException
version
- default version description for the familyIfsException
- if operation failsprotected S_PublicObject determineResolvedObject() throws IfsException
determineResolvedObject
in class S_PublicObject
IfsException
- if operation fails.protected S_VersionDescription createVersionSeries(S_LibraryObjectDefinition vddef) throws IfsException
vddef
- server side definition of a version description.IfsException
- if operation fails.protected S_VersionDescription getDefaultVersionDescription() throws IfsException
IfsException
- if operation failsprotected S_VersionSeries getPrimaryVersionSeries() throws IfsException
IfsException
- if operation failspublic S_VersionSeries[] getAllVersionSeries() throws IfsException
IfsException
- is the operation failsprotected long getConsumedStorage() throws IfsException
getConsumedStorage
in class S_PublicObject
IfsException
- if the operation failspublic Long[] getAllVersionSeriesIds() throws IfsException
IfsException
- if the operation failsprotected static S_LibraryObjectDefinition createDefaultDefinition(S_LibrarySession sess) throws IfsException
sess
- handle to the current sessionIfsException
- (IFS-10405) if the operation failsprotected void verifyCanAddVersionSeries() throws IfsException
IfsException
- if the operation failsprotected void verifyCanRemoveVersionSeries() throws IfsException
IfsException
- if the operation failsprotected void verifyCanSetDefaultVersionAttributes() throws IfsException
IfsException
- if the operation failsprotected void verifyVersionSeriesCanBeDeleted(S_LibraryObject vs, OperationState opState) throws IfsException
vs
- the specified VersionSeriesIfsException
- if the specified object cannot be deleted or freed.Copyright © 2023. All rights reserved.