| Package | Description |
|---|---|
| de.aristaflow.adept2.core.orgmodelmanager | |
| de.aristaflow.adept2.model.orgmodel |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelChangeOperations.addRelation(SessionToken session,
RelationType relType,
long id1,
long id2)
This method adds a relation of the given type between the two entities
identified by the given IDs.
|
void |
ModelChangeOperations.deleteRelation(SessionToken session,
RelationType relType,
long id1,
long id2)
This method deletes a relation of the given type between the two entities
identified by the given IDs.
|
java.util.List<Entity> |
ModelExplorer.getRelatedEntities(SessionToken session,
EntityType entType,
long id,
RelationType relType,
boolean leftToRight,
boolean excludeDisabled,
java.lang.String... attributes)
This method returns a list of all entities that are related to the given entity (of the given
type) through a relation of the given type in the given direction.
|
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getRelatedEntitiesIterator(SessionToken session,
EntityType entType,
long id,
RelationType relType,
boolean leftToRight,
boolean excludeDisabled,
java.lang.String... attributes)
|
boolean |
ModelExplorer.relationExists(SessionToken session,
RelationType relType,
long id1,
long id2,
boolean excludeDisabled)
Tests whether a relation of the given type exists between the two entities identified by the
given IDs.
|
| Modifier and Type | Method and Description |
|---|---|
RelationType |
NavFunction.relationType()
Returns the relation type along which this function will traverse the
organisational model.
|
static RelationType |
RelationType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
RelationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static NavFunction[] |
NavFunction.getFunctionsFor(RelationType relType)
Returns a two-element array containing the left-to-right and right-to-left
navigational function associated with the specified relation type.
|