public interface Relationship extends CmisObject, RelationshipProperties
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
getRelationshipType()
Returns the object type as a relationship type.
|
CmisObject |
getSource()
Gets the source object.
|
CmisObject |
getSource(OperationContext context)
Gets the source object using the given
OperationContext. |
CmisObject |
getTarget()
Gets the target object.
|
CmisObject |
getTarget(OperationContext context)
Gets the target object using the given
OperationContext. |
addAcl, applyAcl, applyPolicy, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPolicies, getPolicyIds, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypegetSourceId, getTargetIdRelationshipType getRelationshipType()
ClassCastException - if the object type is not a relationship typeCmisObject getSource()
null
will be returned.CmisObject getSource(OperationContext context)
OperationContext. If the
source object ID is invalid, null will be returned.CmisObject getTarget()
null
will be returned.CmisObject getTarget(OperationContext context)
OperationContext. If the
target object ID is invalid, null will be returned.Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.