public class ObjectSelector extends Object implements CommandHandlerInterface
| Modifier and Type | Field and Description |
|---|---|
(package private) StateManager |
stateMngr |
| Constructor and Description |
|---|
ObjectSelector(StateManager manager)
Constructor to setup reference to the StateManager.
|
| Modifier and Type | Method and Description |
|---|---|
(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.
|
StateManager stateMngr
public ObjectSelector(StateManager manager)
public List<String> getList(PageInfo sp, StringTagger args, StringTokenizer commands) throws ParseException
getList in interface CommandHandlerInterfaceParseExceptionVector getObjectRelations3(EditState ed, StringTagger args)
ed - the EditState object that governs this editVector of StringVector getObjectSelectionList(EditState state)
Vector getObjectSelectionTitles(EditState state)
public boolean process(PageInfo sp, StringTokenizer command, Hashtable cmds, Hashtable vars)
process in interface CommandHandlerInterfaceboolean setObjectSelectionConditions(String user, Hashtable vars)
public String replace(PageInfo sp, StringTokenizer cmds)
replace in interface CommandHandlerInterfacevoid clearSearchFields(String user)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}