public class CmsMenuDescriptor extends BaseDescriptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CMSERVICE |
static java.lang.String |
PROPERTY_CONTEXTFILTER |
static java.lang.String |
PROPERTY_LAUNCHINGAPP |
static java.lang.String |
PROPERTY_NAMINGATTR |
static java.lang.String |
PROPERTY_SUBVAR |
DATATYPE_BOOLEAN, DATATYPE_INTEGER, DATATYPE_POSITVE_INTEGER, DATATYPE_STRING, DESCRIPTORATTRIBUTE_CLASS, DESCRIPTORATTRIBUTE_DEFAULT, DESCRIPTORATTRIBUTE_DESCRIPTORCLASS, DESCRIPTORATTRIBUTE_HANDLER, DESCRIPTORATTRIBUTE_NAME, DESCRIPTORATTRIBUTE_SHORTNAME, DESCRIPTORATTRIBUTE_TYPE, DESCRIPTORCLASS_COMPONENTDESCRIPTOR, DESCRIPTORCLASS_CONTROLDESCRIPTOR, DESCRIPTORTAG_ATTRIBUTE, DESCRIPTORTAG_BINDLIST, DESCRIPTORTAG_CHILDCONTROLS, DESCRIPTORTAG_COMPONENTDESCRIPTOR, DESCRIPTORTAG_COMPONENTLIST, DESCRIPTORTAG_COMPONENTS, DESCRIPTORTAG_CONTAINER, DESCRIPTORTAG_CONTROLDESCRIPTOR, DESCRIPTORTAG_DEFAULTVALUE, DESCRIPTORTAG_DESCRIPTION, DESCRIPTORTAG_FLAG, DESCRIPTORTAG_INPUTMODE, DESCRIPTORTAG_LABEL, DESCRIPTORTAG_PROPERTY, DESCRIPTORTAG_PROPERTYLIST, DESCRIPTORTAG_RENDERCONTROLS, DESCRIPTORTAG_TEMPLATE, DESCRIPTORTAG_USERAGENT, DESCRIPTORTAG_VALUE, DESCRIPTORTAG_VALUELIST, DESCRIPTORTYPE_ACTION, DESCRIPTORTYPE_DIALOG, DESCRIPTORTYPE_MENU, DESCRIPTORTYPE_MESSAGEBOX, DESCRIPTORTYPE_MODELESSDIALOG, DESCRIPTORTYPE_MOVABLEWINDOWDIALOG, DESCRIPTORTYPE_PAGE, DESCRIPTORTYPE_POPUP, DESCRIPTORTYPE_PRESENTATION, DESCRIPTORTYPE_RECORDHOVER, DESCRIPTORTYPE_TABLE, INSTANCECLASS_COMPONENTINSTANCE, INSTANCECLASS_CONTROLINSTANCE, orderedProperties
Constructor and Description |
---|
CmsMenuDescriptor() |
CmsMenuDescriptor(org.w3c.dom.Element el) |
Modifier and Type | Method and Description |
---|---|
void |
addContextFilter(java.lang.String name,
java.lang.String value) |
void |
addNamingAttribute(java.lang.String name,
java.lang.String value) |
void |
addSubstitutionVariable(java.lang.String ic) |
void |
addSubstitutionVariable(java.lang.String name,
java.lang.String value) |
java.util.Map<java.lang.String,java.lang.String> |
getContextFilters() |
java.lang.String |
getInstanceClass() |
java.util.Map<java.lang.String,java.lang.String> |
getNamingAttributes() |
java.util.Map<java.lang.String,java.lang.String> |
getSubstitutionVariables() |
com.ibm.json.java.JSONObject |
getValuesAsObject(DataBean bean) |
void |
initialize(org.w3c.dom.Element el)
Should be extended to do any setup required by the descriptor.
|
void |
loadDynamicValues(java.lang.String menuId,
DataBean bean) |
void |
loadXMLValues(org.w3c.dom.Element el) |
cleanup, getElement, getInstance, getName, getProperties, getProperty, getShortName, hasProperty, toString
public static final java.lang.String PROPERTY_CONTEXTFILTER
public static final java.lang.String PROPERTY_NAMINGATTR
public static final java.lang.String PROPERTY_SUBVAR
public static final java.lang.String PROPERTY_CMSERVICE
public static final java.lang.String PROPERTY_LAUNCHINGAPP
public CmsMenuDescriptor()
public CmsMenuDescriptor(org.w3c.dom.Element el)
public void addContextFilter(java.lang.String name, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getContextFilters()
public void addNamingAttribute(java.lang.String name, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getNamingAttributes()
public void addSubstitutionVariable(java.lang.String name, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getSubstitutionVariables()
public void addSubstitutionVariable(java.lang.String ic)
public java.lang.String getInstanceClass()
public void loadDynamicValues(java.lang.String menuId, DataBean bean)
public void loadXMLValues(org.w3c.dom.Element el)
public void initialize(org.w3c.dom.Element el)
BaseDescriptor
initialize
in class BaseDescriptor
el
- element to parsepublic com.ibm.json.java.JSONObject getValuesAsObject(DataBean bean)
bean
- bean of current object