|
|||||||||
| 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.security.implementation.cloudcontext.builders.Ranks
This MMObjectBuilder implementation belongs to the object type 'mmbaseusers' It contains functionality to MD5 encode passwords, and so on.
| Field Summary |
| 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 | |
Ranks()
|
|
| Method Summary | |
static Ranks |
getBuilder()
Returns the Ranks builder. |
Rank |
getRank(MMObjectNode node)
Converts this MMObjectNode to a real rank. |
boolean |
init()
Initializes this builder The property 'mmb' needs to be set for the builder before this method can be called. |
int |
insert(java.lang.String owner,
MMObjectNode node)
If a rank is inserted, it must be registered |
void |
removeNode(MMObjectNode node)
A rank may only be removed if there are no users of that rank. |
void |
setDefaults(MMObjectNode node)
Sets defaults for a node. |
boolean |
setValue(MMObjectNode node,
java.lang.String field,
java.lang.Object originalValue)
Only the description of a rarnk may be changed. |
| 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 |
| Constructor Detail |
public Ranks()
| Method Detail |
public static Ranks getBuilder()
public boolean init()
MMObjectBuilder
init in class MMObjectBuilderMMObjectBuilder.create()
public int insert(java.lang.String owner,
MMObjectNode node)
insert in class MMObjectBuilderowner - The administrator creating the nodenode - The object to insert. The object need be of the same type as the current builder.
int value which is the new object's unique number, -1 if the insert failed.public void removeNode(MMObjectNode node)
removeNode in class MMObjectBuildernode - The node to remove.public Rank getRank(MMObjectNode node)
public boolean setValue(MMObjectNode node,
java.lang.String field,
java.lang.Object originalValue)
setValue in class MMObjectBuilderoriginalValue - the value which was original in the field
true When an update is required(when changed),
false if original value was set back into the field.public void setDefaults(MMObjectNode node)
MMObjectBuilder
setDefaults in class MMObjectBuildernode - The node to set the defaults of.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||