public static class Relationship.Link<A extends AppUser,B extends DataObject> extends AbstractRelationship.Link<A,B>
DEBUG, recordMAX_IDENTIFIER| Modifier | Constructor and Description |
|---|---|
protected |
Link(Relationship<A,B> arg0,
Repository.Record arg1) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRole(java.lang.String role) |
void |
setRole(java.lang.String role,
boolean value) |
protected void |
setup()
extension point for Link subclasses this method is called when new
records are created to initialise subclass fields to sensible default
values
|
addContent, getIdentifier, getLinkManagerchangeLeft, changeRight, getFactory, getIndexedLinkManager, getLeft, getLeftID, getRight, getRightID, isLeftPeer, isRightPeer, post_commit, pre_commit, release, setCachedLeft, setCachedRightaddToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getDatabaseService, getFactoryTag, getID, getIdentifier, getLogger, getMap, getMap, getOwningFactory, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, isLocked, lock, postCreate, setContents, setDirty, setMap, toStringprotected Link(Relationship<A,B> arg0, Repository.Record arg1)
protected void setup()
throws DataFault,
DataException
IndexedLinkManager.Linksetup in class AbstractRelationship.Link<A extends AppUser,B extends DataObject>DataFaultDataExceptionpublic boolean hasRole(java.lang.String role)
hasRole in class AbstractRelationship.Link<A extends AppUser,B extends DataObject>public void setRole(java.lang.String role,
boolean value)
setRole in class AbstractRelationship.Link<A extends AppUser,B extends DataObject>