public static class Relationship.Link<A extends AppUser,B extends DataObject> extends AbstractRelationship.Link<A,B>
DEBUG, record
MAX_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, 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(Relationship<A,B> arg0, Repository.Record arg1)
protected void setup() throws DataFault, DataException
IndexedLinkManager.Link
setup
in class AbstractRelationship.Link<A extends AppUser,B extends DataObject>
DataFault
DataException
public 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>