public class S_Relationship extends S_TieSystemObject
S_LibraryObject.MapInfo
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
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_Relationship(S_LibrarySession session,
Long classId)
Construct a S_Relationship object.
|
protected |
S_Relationship(S_LibrarySession session,
S_LibraryObjectData data)
Construct a S_Relationship object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
associatedPostFree(OperationState opState,
S_LibraryObjectDefinition def)
an extensibility point for post free actions on
associated objects.
|
protected void |
associatedPostInsert(OperationState opState,
S_LibraryObjectDefinition def)
an extensibility point for post insert actions on
associated objects.
|
protected void |
associatedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
an extensibility point for pre insert actions on
associated objects.
|
protected void |
cascadeDeleteToLeftObject(OperationState opState,
S_LibraryObject source)
cascade to our left object, indicationg that we
have Deleted.
|
protected void |
cascadeDeleteToRightObject(OperationState opState,
S_LibraryObject source)
cascade to our right object, indicationg that we
have Deleted.
|
protected void |
cascadeFree(OperationState opState,
S_LibraryObjectDefinition def)
cascade operations to be performed before freeing
an object.
|
protected void |
cascadeFreeToLeftObject(OperationState opState,
S_LibraryObject source)
cascade to our left object, indicationg that we
have freed.
|
protected void |
cascadeFreeToRightObject(OperationState opState,
S_LibraryObject source)
cascade to our right object, indicationg that we
have freed.
|
protected void |
cascadeUndeleteToLeftObject(OperationState opState,
S_LibraryObject source)
cascade to our left object, indicationg that we
have Undeleted.
|
protected void |
cascadeUndeleteToRightObject(OperationState opState,
S_LibraryObject source)
cascade to our right object, indicationg that we
have Undeleted.
|
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add to the S_LibraryObjectDefinition
for this class.
|
protected void |
extendedPostAddRelationship(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def)
an extensibility point after a relationship is created.
|
protected void |
extendedPostRemoveRelationship(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def)
an extensibility point after a relationship is removed.
|
protected void |
extendedPreAddRelationship(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def)
an extensibility point before a relationship is created.
|
protected void |
extendedPreFree(OperationState opState,
S_LibraryObjectDefinition def)
Processing appropriate for freeing this object
Save the left object away for post free processing
|
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition sdef)
Update any system attributes appropriate for creating this object
|
protected void |
extendedPreRemoveRelationship(OperationState opState,
S_PublicObject rightpo,
S_LibraryObjectDefinition def)
an extensibility point before a relationship is removed.
|
S_PublicObject |
getLeftObject()
gets the S_PublicObject that is left
of this relationship.
|
S_PublicObject |
getRightObject()
gets the S_PublicObject that is right
of this relationship.
|
protected void |
handleCascade(OperationState opState,
S_LibraryObject source,
int cascadeType,
S_LibraryObjectDefinition sdef,
Object customArg)
handle a cascaded operation initiated by
(usually) another object.
|
static S_Relationship[] |
vectorToSRelationshipArray(S_LibrarySession sess,
Vector vector) |
addCategory, createCategories, extendedPostInsert, extendedPostUpdate, extendedPreUpdate, getCategories, getCategories, getCategories, removeCategories, updateCategories, verifyCanCreate, verifyCanFree, verifyCanUpdate
added, applyValueDefault, canPurge, cascadeCopy, cascadeUpdate, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copy, copyVectorToLibraryObjectArray, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, extendedPostFree, extendedPreCopy, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getAuditEventFolderContext, getClassData, getClassId, getClassName, getClassObject, getContentStorageManager, getData, getDefinition, getEffectivePolicyActionContexts, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getId, getLibraryConnection, getName, getObjectReferenceAttribute, getPropertyBundle, getPropertyValue, getResourceString, getResourceString, getService, getSession, getSessionInterface, getTraceLogger, handleEvent, hashCode, hasNameAttribute, insertReferenceAttributes, insertRow, insertRows, invalidateState, invokeOperation, invokePolicyMethod, isAuditCertificateSecured, 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, verifyCanSetPolicy, verifyPersistent, verifyWriteableTransactionInProgress
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
protected S_Relationship(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessiondata
- Data componentIfsException
protected S_Relationship(S_LibrarySession session, Long classId) throws IfsException
session
- current LibrarySessionIfsException
public S_PublicObject getLeftObject() throws IfsException
IfsException
- if operation fails.public S_PublicObject getRightObject() throws IfsException
IfsException
- if operation fails.protected void handleCascade(OperationState opState, S_LibraryObject source, int cascadeType, S_LibraryObjectDefinition sdef, Object customArg) throws IfsException
handleCascade
in class S_SystemObject
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_SystemObject
opState
- originating operation statedef
- original Definition objectIfsException
- if operation fails.protected void cascadeFreeToLeftObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void cascadeFreeToRightObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void cascadeDeleteToLeftObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void cascadeDeleteToRightObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void cascadeUndeleteToLeftObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void cascadeUndeleteToRightObject(OperationState opState, S_LibraryObject source) throws IfsException
IfsException
- if operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition sdef) throws IfsException
extendedPreInsert
in class S_SystemObject
opState
- current operation statesdef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
deriveDefinition
in class S_SystemObject
def
- the S_LibraryObjectDefinition that contains
the definition of the target object.IfsException
- if operation fails.public static S_Relationship[] vectorToSRelationshipArray(S_LibrarySession sess, Vector vector) throws IfsException
IfsException
protected void associatedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
associatedPreInsert
in class S_LibraryObject
opState
- the operation statedef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void associatedPostInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
associatedPostInsert
in class S_LibraryObject
opState
- the operation statedef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void associatedPostFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
associatedPostFree
in class S_LibraryObject
opState
- the operation statedef
- the LibraryObjectDefinition for this operationIfsException
- if any other aspect of the operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreFree
in class S_LibraryObject
opState
- the operation statedef
- current object definition to be freedIfsException
- if operation fails.protected void extendedPreAddRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def) throws IfsException
opState
- the operation staterightpo
- the item being added to the folderdef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void extendedPostAddRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def) throws IfsException
opState
- the operation staterightpo
- the item being added to the folderdef
- the LibraryObjectDefinition that contains
the settings for the new instance.IfsException
- if any other aspect of the operation fails.protected void extendedPreRemoveRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def) throws IfsException
opState
- the operation staterightpo
- the item being removed from the folderIfsException
- if any other aspect of the operation fails.protected void extendedPostRemoveRelationship(OperationState opState, S_PublicObject rightpo, S_LibraryObjectDefinition def) throws IfsException
opState
- the operation staterightpo
- the item being removed from the folderIfsException
- if any other aspect of the operation fails.Copyright © 2023. All rights reserved.