Class PMDUIComponent
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.PentahoBase
-
- org.pentaho.platform.engine.services.PentahoMessenger
-
- org.pentaho.platform.uifoundation.component.BaseUIComponent
-
- org.pentaho.platform.uifoundation.component.xml.XmlComponent
-
- org.pentaho.platform.uifoundation.component.xml.PMDUIComponent
-
- All Implemented Interfaces:
Serializable
,org.pentaho.platform.api.engine.ILogger
,org.pentaho.platform.api.ui.IUIComponent
,org.pentaho.platform.api.ui.IXMLComponent
public class PMDUIComponent extends XmlComponent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_LIST_DOMAINS
static int
ACTION_LIST_MODELS
static int
ACTION_LOAD_MODEL
static int
ACTION_LOOKUP
static int
ACTION_MODELS_DETAIL
-
Fields inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent
contentTypes, debug, urlFactory, xslProperties
-
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description PMDUIComponent(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(org.pentaho.metadata.model.LogicalColumn column, org.dom4j.Element tableNode, String locale)
int
getAction()
String
getColumnId()
String
getDomainName()
org.apache.commons.logging.Log
getLogger()
org.dom4j.Document
getLookup()
org.pentaho.metadata.repository.IMetadataDomainRepository
getMetadataRepository()
String
getModelId()
org.pentaho.platform.api.engine.IParameterProvider
getParameters()
org.dom4j.Document
getXmlContent()
void
setAction(int action)
void
setColumnId(String columnId)
void
setDomainName(String domainName)
void
setModelId(String modelId)
void
setParameters(org.pentaho.platform.api.engine.IParameterProvider parameters)
boolean
validate()
-
Methods inherited from class org.pentaho.platform.uifoundation.component.xml.XmlComponent
getContent
-
Methods inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent
done, getObjectParameter, getParameter, getParameterAsArray, getParameterProviders, getRequestHandler, getSession, getSourcePath, getUrlFactory, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setSourcePath, setUrlFactory, setXsl, setXslProperty, validate
-
Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
-
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, setLoggingLevel, setLogId
-
-
-
-
Field Detail
-
ACTION_LIST_DOMAINS
public static final int ACTION_LIST_DOMAINS
- See Also:
- Constant Field Values
-
ACTION_LIST_MODELS
public static final int ACTION_LIST_MODELS
- See Also:
- Constant Field Values
-
ACTION_MODELS_DETAIL
public static final int ACTION_MODELS_DETAIL
- See Also:
- Constant Field Values
-
ACTION_LOAD_MODEL
public static final int ACTION_LOAD_MODEL
- See Also:
- Constant Field Values
-
ACTION_LOOKUP
public static final int ACTION_LOOKUP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PMDUIComponent
public PMDUIComponent(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
-
-
Method Detail
-
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in classBaseUIComponent
-
validate
public boolean validate()
- Specified by:
validate
in interfaceorg.pentaho.platform.api.ui.IUIComponent
- Specified by:
validate
in classBaseUIComponent
-
getMetadataRepository
public org.pentaho.metadata.repository.IMetadataDomainRepository getMetadataRepository()
-
getXmlContent
public org.dom4j.Document getXmlContent()
- Specified by:
getXmlContent
in interfaceorg.pentaho.platform.api.ui.IXMLComponent
- Specified by:
getXmlContent
in classXmlComponent
-
addColumn
public void addColumn(org.pentaho.metadata.model.LogicalColumn column, org.dom4j.Element tableNode, String locale)
-
getLookup
public org.dom4j.Document getLookup()
-
setAction
public void setAction(int action)
-
getAction
public int getAction()
-
setDomainName
public void setDomainName(String domainName)
-
getDomainName
public String getDomainName()
-
getParameters
public org.pentaho.platform.api.engine.IParameterProvider getParameters()
-
setParameters
public void setParameters(org.pentaho.platform.api.engine.IParameterProvider parameters)
-
getModelId
public String getModelId()
-
setModelId
public void setModelId(String modelId)
-
getColumnId
public String getColumnId()
-
setColumnId
public void setColumnId(String columnId)
-
-