|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface defining a reference from one entity in the repository to another.
| Method Summary | |
boolean |
canClear()
Indicates if the reference from the referer Document to the
referee Document can be cleared. |
boolean |
canReplace()
Indicates if the reference from the referer Document to the
referee Document can be replaced with another referee. |
void |
clear()
Clear the reference from the referer Document to the referee
Document. |
com.ibm.workplace.wcm.api.DocumentId |
getRefererDocumentId()
Returns the DocumentId of the Document object
being referring to another Document. |
void |
replace(com.ibm.workplace.wcm.api.DocumentId replacementId)
Replace the referer's reference with the specified Document |
| Method Detail |
public com.ibm.workplace.wcm.api.DocumentId getRefererDocumentId()
DocumentId of the Document object
being referring to another Document.
DocumentId of the referer Document
java.lang.NullPointerException - if the name of the referer Document
has not been set.public boolean canClear()
Document to the
referee Document can be cleared.
public boolean canReplace()
Document to the
referee Document can be replaced with another referee.
public void clear()
throws AuthorizationException,
OperationFailedException
Document to the referee
Document.
AuthorizationException - if the user is not allowed to modify the reference
OperationFailedException - if the reference is not clearable or if an item
not found or repository exception is encountered.
public void replace(com.ibm.workplace.wcm.api.DocumentId replacementId)
throws AuthorizationException,
OperationFailedException,
IllegalTypeChangeException
Document
replacementId - the DocumentID of the Document
that is to become the new referee.
AuthorizationException - if the user is not allowed to modify the reference
OperationFailedException - if the reference is not replacable or if an item
not found or repository exception is encountered.
IllegalTypeChangeException - if the Document specified by
replacementId is not of a suitable type to be used as a replacement for
the reference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||