Package com.documentum.fc.client
Interface IDfRelation
- All Superinterfaces:
IDfPersistentObject,IDfTypedObject
- All Known Subinterfaces:
IDfStateExtension
Interface definition for the type dm_relation
Description:
-
Field Summary
Fields inherited from interface com.documentum.fc.client.IDfPersistentObject
CURRENCY_CHECK_ALWAYS, CURRENCY_CHECK_FIRST_ACCESS, CURRENCY_CHECK_NEVER, CURRENCY_CHECK_ONCE_PER_SCOPE -
Method Summary
Modifier and TypeMethodDescriptionReturns the object ID of the child object in the relationship.Returns the version label of the child object in the relationship.Not system defined.Provided for user convenience.Not system defined.Not system defined.intNot system defined.Returns the object ID of the parent object.booleanDeprecated.As of DFC 5.3, replaced by IDfRelationType.getPermanentLink()Returns the attribute value of relation_name.voidsetChildId(IDfId child) Sets the ID of the object that is the "child" in the relationship.voidsetChildLabel(String label) Sets the version label of the child in the relationship.voidsetDescription(String desc) Not system defined.voidsetEffectiveDate(IDfTime date) Not system defined.voidsetExpirationDate(IDfTime date) Not system defined.voidsetOrderNumber(int no) Not system defined.voidsetParentId(IDfId parent) Sets the ID of the object that is the "parent" in the relationship.voidsetPermanentLink(boolean val) Deprecated.As of DFC 5.3, replaced by IDfRelationType.setPermanentLink()voidsetRelationName(String rName) Sets the relation_name attribute.Methods inherited from interface com.documentum.fc.client.IDfPersistentObject
addChildRelative, addParentRelative, apiExec, apiGet, apiSet, destroy, fetch, fetchWithCaching, getAttrAssistance, getAttrAssistanceWithValues, getAttrAsstDependencies, getChildRelatives, getParentRelatives, getPartition, getType, getValidator, getVStamp, getWidgetType, isDeleted, isDirty, isInstanceOf, isNew, isReplica, lock, lockEx, registerEvent, removeChildRelative, removeParentRelative, revert, save, setPartition, signoff, unRegisterEvent, unRegisterEventEx, validateAllRules, validateAttrRules, validateAttrRulesWithValue, validateAttrRulesWithValues, validateObjRules, validateObjRulesWithValuesMethods inherited from interface com.documentum.fc.client.IDfTypedObject
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
-
Method Details
-
getRelationName
Returns the attribute value of relation_name. The relation name identifies a valid relation type object, which defines the type of relationship existing between the two objects.- Returns:
- the name of the relation.
- Throws:
DfException- if a server error occurs.
-
getParentId
Returns the object ID of the parent object. in the relationship.- Returns:
- the object ID of the parent object.
- Throws:
DfException- if server error occurs.- See Also:
-
getChildId
Returns the object ID of the child object in the relationship.- Returns:
- the ID of the child object.
- Throws:
DfException- if server error occurs.- See Also:
-
getChildLabel
Returns the version label of the child object in the relationship. The version is not required to be the same version as that specified in child_id. If the object specified in child_id does not carry the correct version label, the server searches the version tree containing the child_id for the version specified in child_label and uses that version in the relationship.- Returns:
- the version label for the specified child ID.
- Throws:
DfException- if a server error occurs.- See Also:
-
getPermanentLink
Deprecated.As of DFC 5.3, replaced by IDfRelationType.getPermanentLink()Indicates whether you want to maintain the relationship across versions of the parent object.By default, relationships are not maintained across versions. However, if you want the relationship to be maintained across versions when the parent object is versioned, set permanent_link via
setPermanentLinktotrue.- Returns:
- true if a relationship across versions exists, or
falseif a relationship does not exist. - Throws:
DfException- if a server error occurs.- See Also:
-
getOrderNumber
Not system defined. This is provided for user convenience. This could be used to order a set of relationships. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Returns:
- the value of the order_no attribute.
- Throws:
DfException- if a server error occurs.- See Also:
-
getEffectiveDate
Not system defined. Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Returns:
- the value of the effective_date attribute.
- Throws:
DfException- if a server error occurs.- See Also:
-
getExpirationDate
Not system defined. Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Returns:
- the value of the expiration_date attribute.
- Throws:
DfException- if a server error occurs.- See Also:
-
getDescription
Not system defined.Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Returns:
- the value of the description attribute.
- Throws:
DfException- if a server error occurs.- See Also:
-
setRelationName
Sets the relation_name attribute. The relation name identifies a valid relation type object that defines the type of relationship that exists between the two objects.- Parameters:
rName- name of the relation.- Throws:
DfException- if a server error occurs.- See Also:
-
setParentId
Sets the ID of the object that is the "parent" in the relationship.- Parameters:
parent- ID of the parent.- Throws:
DfException- if a server error occurs.- See Also:
-
setChildId
Sets the ID of the object that is the "child" in the relationship.- Parameters:
child- ID of the child.- Throws:
DfException- if a server error occurs.- See Also:
-
setChildLabel
Sets the version label of the child in the relationship. The version is not required to be the same version as that specified in child_id. If the object specified in child_id does not carry the correct version label, the server searches the version tree containing the child_id for the version specified in child_label and uses that version in the relationship.- Parameters:
label- label of the child.- Throws:
DfException- if a server error occurs.- See Also:
-
setPermanentLink
Deprecated.As of DFC 5.3, replaced by IDfRelationType.setPermanentLink()Indicate whether you want to maintain the relationship across versions of the parent object. By default, relationships are not maintained across versions. However, if you want the relationship to be maintained across versions when the parent object is versioned, set permanent_link viasetPermanentLinktotrue.- Parameters:
val- value of the permanent_link flag.- Throws:
DfException- if a server error occurs.- See Also:
-
setOrderNumber
Not system defined. This is provided for user convenience. This could be used to order a set of relationship. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Parameters:
no- order number.- Throws:
DfException- if a server error occurs.- See Also:
-
setEffectiveDate
Not system defined. Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Parameters:
date- effective date.- Throws:
DfException- if a server error occurs.- See Also:
-
setExpirationDate
Not system defined. Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Parameters:
date- expiration date.- Throws:
DfException- if a server error occurs.- See Also:
-
setDescription
Not system defined. Provided for user convenience. Note: Documentum implements and manages system-defined relationships. For user-defined relationships, you must provide the procedures that manage and manipulate the objects in the relationship. Please refer to Server Fundamentals.- Parameters:
desc- description.- Throws:
DfException- if a server error occurs.- See Also:
-