|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Relationship
Relationship objects represents a relationship on a specific instance of a primary object.
Method Summary | |
---|---|
void |
addRelatedObject(ManagedObject relatedObj)
Adds a given managed object to the primary managed object's relationship if this is multi-valued. |
java.util.Collection |
getAdded()
Return the added objects. |
ObjectType |
getPrimaryObjectType()
The primary object for this relationship |
AttributeRightsCollection |
getRelatedARC()
Returns the current AttributeRightsCollection |
ObjectType |
getRelatedObjectType()
The related object for this relationship |
RelationshipProvider |
getRelationshipProvider()
Returns the relationship provider. |
java.util.Collection |
getRemoved()
Return the removed objects. |
boolean |
isObjectRelated(ManagedObject relatedObj)
Indicates whether a given managed object is related to the primary managed object |
void |
persistAddRelatedObject(ManagedObject relatedObj)
Called by an event to immediately persist the adding of the related object. |
void |
persistRelatedObjectNameChange(java.lang.String oldUniqueName,
java.lang.String newUniqueName)
Immediately persist a name change to a related object. |
void |
persistRemoveRelatedObject(ManagedObject relatedObj)
Called by an event to immediately persist th eremoving of the related object. |
void |
removeRelatedObject(ManagedObject relatedObj)
Removes a given managed object from the primary managed object's relationship if this is multi-valued. |
void |
setRelatedARC(AttributeRightsCollection arc)
When related objects are retrieved by this relationship, they are retrieved using the specified set of attribute rights. |
Method Detail |
---|
RelationshipProvider getRelationshipProvider()
AttributeRightsCollection getRelatedARC()
void setRelatedARC(AttributeRightsCollection arc) throws SmApiException
arc
-
SmApiException
java.lang.IllegalStateException
ObjectType getPrimaryObjectType()
ObjectType getRelatedObjectType()
boolean isObjectRelated(ManagedObject relatedObj) throws SmApiException
relatedObj
-
SmApiException
java.util.Collection getAdded() throws SmApiException
SmApiException
java.util.Collection getRemoved() throws SmApiException
SmApiException
void addRelatedObject(ManagedObject relatedObj) throws SmApiException
relatedObj
-
SmApiException
void removeRelatedObject(ManagedObject relatedObj) throws SmApiException
relatedObj
-
SmApiException
void persistRelatedObjectNameChange(java.lang.String oldUniqueName, java.lang.String newUniqueName) throws SmApiException
reversereferenceattribute
during the modifyObject() of an unpersisted object.
SmApiException
void persistAddRelatedObject(ManagedObject relatedObj) throws SmApiException
SmApiException
void persistRemoveRelatedObject(ManagedObject relatedObj) throws SmApiException
SmApiException
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |