public interface RelationManager extends Remote
| Modifier and Type | Method and Description |
|---|---|
Item |
createRelation(long from,
long to,
NamedValue[] options,
AttributeRequest[] attributes)
Create a new relation between two documents.
|
void |
deleteRelation(long id)
Delete a relation.
|
String[] |
listRelationActionSpecifications()
Returns the list of registered relation action specifications.
|
Item |
updateRelation(long id,
NamedValue[] options,
AttributeRequest[] attributes)
Update an existing relation.
|
String[] listRelationActionSpecifications() throws FdkException
Any element of the return value may be used as the value for the RELATION_ACTION attribute of a RELATION Item.
FdkException - if the operation failsItem createRelation(long from, long to, NamedValue[] options, AttributeRequest[] attributes) throws FdkException
from - The from/source/left side of the relation. Must be of
type DOCUMENT.to - To to/destination/right side of the relation. Must be
of type DOCUMENT. A value <= 0 implies a null object.options - The options of the relation. Supported options:
Options.CATEGORY_DEFINITION, NamedValue[]}
attributes - Attributes to return for the return item.FdkException - if the operation fails.Item updateRelation(long id, NamedValue[] options, AttributeRequest[] attributes) throws FdkException
id - The ID of an existing relation. Must be of type
RELATION.options - The options of the relation. Supported options:
Options.CATEGORY_DEFINITION, NamedValue[]}
Options.REMOVE_CATEGORY_ID, Long}
attributes - Attributes to return for the return item.FdkException - if the operation fails.void deleteRelation(long id)
throws FdkException
id - The ID of the relation to delete.FdkException - if the operation fails.Copyright © 2025. All rights reserved.