|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.module.gui.html.ObjectSelector
public class ObjectSelector
The ObjectSelector class offers the functionality to search for objects and select found objects to be edited by the FieldSelector and FieldEditor classes (hitlisted).
| Field Summary | |
|---|---|
(package private) StateManager |
stateMngr
|
| Constructor Summary | |
|---|---|
ObjectSelector(StateManager manager)
Constructor to setup reference to the StateManager. |
|
| Method Summary | |
|---|---|
(package private) void |
clearSearchFields(String user)
Clears the search fields for the searchfields |
(package private) Vector<String> |
getAllowedBuilders(String user)
|
List<String> |
getList(PageInfo sp,
StringTagger args,
StringTokenizer commands)
General List pages coming from MMEdit. |
(package private) Vector |
getObjectFields(EditState ed)
|
(package private) Vector |
getObjectRelations(EditState ed)
|
(package private) Vector |
getObjectRelations2(EditState ed)
|
(package private) Vector |
getObjectRelations3(EditState ed,
StringTagger args)
Retrieves a list of existing relations and allowed relation types to a specific node. |
(package private) Vector |
getObjectSelectionList(EditState state)
Builds a list of HTML Table rows to display a table of found values. |
(package private) Vector |
getObjectSelectionTitles(EditState state)
Builds a list of title strings containing the fields to be displayed Item1 = Name of the field (GUI Name) |
boolean |
process(PageInfo sp,
StringTokenizer command,
Hashtable cmds,
Hashtable vars)
General proces pages coming from MMEdit. |
String |
replace(PageInfo sp,
StringTokenizer cmds)
Handle a $MOD command. |
(package private) boolean |
setObjectSelectionConditions(String user,
Hashtable vars)
Sets the selection query for this user in this editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
StateManager stateMngr
| Constructor Detail |
|---|
public ObjectSelector(StateManager manager)
| Method Detail |
|---|
public List<String> getList(PageInfo sp,
StringTagger args,
StringTokenizer commands)
throws ParseException
getList in interface CommandHandlerInterfaceParseExceptionVector getObjectFields(EditState ed)
Vector getObjectRelations2(EditState ed)
Vector<String> getAllowedBuilders(String user)
Vector getObjectRelations3(EditState ed,
StringTagger args)
ed - the EditState object that governs this edit
Vector of StringVector getObjectRelations(EditState ed)
Vector getObjectSelectionList(EditState state)
Vector getObjectSelectionTitles(EditState state)
public boolean process(PageInfo sp,
StringTokenizer command,
Hashtable cmds,
Hashtable vars)
process in interface CommandHandlerInterface
boolean setObjectSelectionConditions(String user,
Hashtable vars)
public String replace(PageInfo sp,
StringTokenizer cmds)
replace in interface CommandHandlerInterfacevoid clearSearchFields(String user)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||