public class VirtualNodeManager extends AbstractNodeManager implements NodeManager
| Modifier and Type | Class and Description |
|---|---|
static class |
VirtualNodeManager.VirtualNodeManagerField |
| Modifier and Type | Field and Description |
|---|---|
(package private) MMObjectBuilder |
builder |
protected Map<String,Field> |
fieldTypes |
cloud, valuesGUI_PLURAL, GUI_SINGULAR, ORDER_CREATE, ORDER_EDIT, ORDER_LIST, ORDER_NONE, ORDER_SEARCHCLOUD_COMMITNODE_KEY| Constructor and Description |
|---|
VirtualNodeManager(Query query,
Cloud cloud) |
VirtualNodeManager(VirtualNode node,
Cloud cloud)
Instantiated a Virtual NodeManager, and tries its best to find reasonable values for the field-types.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description of this node manager.
|
String |
getDescription(Locale locale)
Returns the description of this node manager in a specified language.
|
protected Map<String,Field> |
getFieldTypes()
Returns the fieldlist of this nodemanager after making sure the manager is synced with the builder.
|
static Map<String,Field> |
getFieldTypes(SearchQuery query,
NodeManager nm) |
String |
getGUIName(int plurality,
Locale locale)
Returns the descriptive name of this node manager ina a specified language.
|
String |
getName()
Returns the name of this node manager.
|
createFieldList, createNode, createNodeList, createQuery, createRelationList, edit, getAllowedRelations, getAllowedRelations, getAllowedRelations, getCloud, getDescendants, getField, getFields, getFields, getFunctions, getGUIName, getGUIName, getInfo, getInfo, getList, getList, getList, getList, getNodeManager, getParent, getProperties, getProperty, getSize, getValueWithoutProcess, hasField, isNodeManager, mayCreateNode, setNodeManager, setSize, setValueWithoutChecks, toNodeManager, toStringcancel, checkWrite, commit, compareTo, countRelatedNodes, countRelatedNodes, countRelations, countRelations, createAlias, createFunctionValue, createParameters, createRelation, delete, delete, deleteAlias, deleteRelations, deleteRelations, equals, getAliases, getBooleanValue, getByteValue, getChanged, getContext, getDateValue, getDecimalValue, getDoubleValue, getFieldValue, getFieldValue, getFloatValue, getFunction, getFunctionMap, getFunctionValue, getInputStreamValue, getIntValue, getListValue, getLongValue, getNodeFunction, getNodeValue, getNumber, getObjectValue, getPossibleContexts, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelations, getRelations, getRelations, getRelations, getRelations, getStringValue, getValue, getXMLValue, getXMLValue, hashCode, hasRelations, isChanged, isChanged, isNew, isNull, isRelation, isRelationManager, mayChangeContext, mayDelete, mayWrite, processNull, setBooleanValue, setByteValue, setContext, setDateValue, setDecimalValue, setDoubleValue, setFloatValue, setInputStreamValue, setIntValue, setListValue, setLongValue, setNodeValue, setObjectValue, setStringValue, setValue, setValueWithoutProcess, setXMLValue, toNodeNumber, toRelation, toRelationManager, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateFieldList, createNode, createNodeList, createQuery, createRelationList, getAllowedRelations, getAllowedRelations, getAllowedRelations, getCloud, getDescendants, getField, getFields, getFields, getGUIName, getGUIName, getInfo, getInfo, getList, getList, getList, getList, getParent, getProperties, getProperty, hasField, mayCreateNodecancel, commit, countRelatedNodes, countRelatedNodes, countRelations, countRelations, createAlias, createParameters, createRelation, delete, delete, deleteAlias, deleteRelations, deleteRelations, getAliases, getBooleanValue, getByteValue, getChanged, getContext, getDateValue, getDecimalValue, getDoubleValue, getFieldValue, getFieldValue, getFloatValue, getFunction, getFunctions, getFunctionValue, getInputStreamValue, getIntValue, getListValue, getLongValue, getNodeManager, getNodeValue, getNumber, getObjectValue, getPossibleContexts, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelations, getRelations, getRelations, getRelations, getRelations, getSize, getStringValue, getValue, getValueWithoutProcess, getXMLValue, getXMLValue, hasRelations, isChanged, isChanged, isNew, isNodeManager, isNull, isRelation, isRelationManager, mayChangeContext, mayDelete, mayWrite, setBooleanValue, setByteValue, setContext, setDateValue, setDecimalValue, setDoubleValue, setFloatValue, setInputStreamValue, setIntValue, setListValue, setLongValue, setNodeManager, setNodeValue, setObjectValue, setStringValue, setValue, setValueWithoutProcess, setXMLValue, toNodeManager, toRelation, toRelationManager, toString, validatecompareTofinal MMObjectBuilder builder
VirtualNodeManager(VirtualNode node, Cloud cloud)
protected Map<String,Field> getFieldTypes()
getFieldTypes in class AbstractNodeManagerpublic static Map<String,Field> getFieldTypes(SearchQuery query, NodeManager nm)
public String getGUIName(int plurality, Locale locale)
NodeManagergetGUIName in interface NodeManagergetGUIName in class AbstractNodeManagerplurality - the plurality (number of objects) for which to return a description
(NodeManager.GUI_SINGULAR or NodeManager.GUI_PLURAL)locale - the locale that determines the language for the GUI namepublic String getName()
NodeManagergetName in interface NodeManagergetName in class AbstractNodeManagerpublic String getDescription()
NodeManagergetDescription in interface NodeManagergetDescription in class AbstractNodeManagerpublic String getDescription(Locale locale)
NodeManagergetDescription in interface NodeManagergetDescription in class AbstractNodeManagerlocale - the locale that determines the language for the descriptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}