|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.core.MMTable
org.mmbase.module.core.MMObjectBuilder
org.mmbase.module.corebuilders.InsRel
org.mmbase.security.implementation.cloudcontext.builders.RightsRel
The rightsrel relation, connects a 'context' with a 'group'. The 'operation' field then indicates which operation is allowed because of this relation.
| Field Summary | |
static java.lang.String |
OPERATION_FIELD
The field of this relations which present the operation. |
| Fields inherited from class org.mmbase.module.corebuilders.InsRel |
relnumber, usesdir |
| Fields inherited from class org.mmbase.module.core.MMObjectBuilder |
AGE_PARAMETERS, broadcastChanges, database, DEFAULT_ALINEA, DEFAULT_EOL, description, descriptions, fields, GUI_PARAMETERS, listCache, nodeCache, OBJ2TYPE_MAX_SIZE, oType, REPLACE_CACHE, searchAge, sortedDBLayout, TEMPNODE_DEFAULT_SIZE, TemporaryNodes, virtual |
| Fields inherited from class org.mmbase.module.core.MMTable |
mmb, tableName |
| Constructor Summary | |
RightsRel()
|
|
| Method Summary | |
static RightsRel |
getBuilder()
Util method to get this Builder. |
java.lang.String |
getGUIIndicator(MMObjectNode node)
What should a GUI display for this node. |
boolean |
init()
Initializes the builder. |
int |
insert(java.lang.String owner,
MMObjectNode node)
Insert a new Instance Relation. |
void |
setDefaults(MMObjectNode node)
Operation defaults to 'read'. |
boolean |
setValue(MMObjectNode node,
java.lang.String fieldName)
Check on possible values for operation. |
| Methods inherited from class org.mmbase.module.corebuilders.InsRel |
deleteRelationCache, deleteRelationCache, getAllRelationsVector, getAllRelationsVector, getGuessedNumber, getGUIIndicator, getRelated, getRelated, getRelated, getRelated, getRelated, getRelated, getRelatedVector, getRelatedVector, getRelation, getRelations, getRelations, getRelations, getRelations, getRelationsVector, getRelationsVector, hasRelations, insert, reldefCorrect, removeNode |
| Methods inherited from class org.mmbase.module.core.MMTable |
created, getFullTableName, getTableName, size |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String OPERATION_FIELD
| Constructor Detail |
public RightsRel()
| Method Detail |
public boolean init()
InsReldir field is defined (and thus whether directionality is supported).
If the field cannot be found, a "Warning: No dir field. Directionality support turned off." warning message is issued.
init in class InsRelboolean value, always success (true), as any exceptions are
caught and logged.InsRel.usesdirpublic static RightsRel getBuilder()
public java.lang.String getGUIIndicator(MMObjectNode node)
MMObjectBuilder
getGUIIndicator in class InsRelpublic void setDefaults(MMObjectNode node)
setDefaults in class InsRelnode - The node whose defaults to set.
public int insert(java.lang.String owner,
MMObjectNode node)
InsRel
insert in class InsRelowner - Administratornode - Relation node to add
integer value identifying the newly inserted relation
public boolean setValue(MMObjectNode node,
java.lang.String fieldName)
setValue in class MMObjectBuildernode - the node whose fields are changed
true if the call was handled.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||