public abstract static class AbstractRelationship.Link<A extends AppUser,B extends DataObject> extends LinkManager.Link<A,B>
DEBUG, record
MAX_IDENTIFIER
Modifier | Constructor and Description |
---|---|
protected |
Link(AbstractRelationship<A,B,?> arg0,
Repository.Record arg1) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
hasRole(java.lang.String role) |
abstract 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, getLinkManager
changeLeft, changeRight, getFactory, getIndexedLinkManager, getLeft, getLeftID, getRight, getRightID, isLeftPeer, isRightPeer, post_commit, pre_commit, release, setCachedLeft, setCachedRight
addToMap, 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, toString
protected Link(AbstractRelationship<A,B,?> arg0, Repository.Record arg1)
protected void setup() throws DataFault, DataException
IndexedLinkManager.Link
setup
in class IndexedLinkManager.Link<A extends AppUser,B extends DataObject>
DataFault
DataException
public abstract boolean hasRole(java.lang.String role)
public abstract void setRole(java.lang.String role, boolean value)