org.pentaho.platform.uifoundation.component.xml
Class PMDUIComponent

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.services.PentahoMessenger
          extended by org.pentaho.platform.uifoundation.component.BaseUIComponent
              extended by org.pentaho.platform.uifoundation.component.xml.XmlComponent
                  extended by org.pentaho.platform.uifoundation.component.xml.PMDUIComponent
All Implemented Interfaces:
Serializable, ILogger, IUIComponent, IXMLComponent

public class PMDUIComponent
extends XmlComponent

See Also:
Serialized Form

Field Summary
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
debug
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
PMDUIComponent(IPentahoUrlFactory urlFactory, List messages)
           
 
Method Summary
 void addColumn(BusinessColumn column, Element tableNode, String locale)
           
 int getAction()
           
 String getColumnId()
           
 String getDomainName()
           
 Log getLogger()
           
 Document getLookup()
           
 String getModelId()
           
 IParameterProvider getParameters()
           
 Document getXmlContent()
           
 void setAction(int action)
           
 void setColumnId(String columnId)
           
 void setDomainName(String domainName)
           
 void setModelId(String modelId)
           
 void setParameters(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, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setUrlFactory, setXsl, setXslProperty, validate
 
Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger
debug, debug, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(IPentahoUrlFactory urlFactory,
                      List messages)
Method Detail

getLogger

public Log getLogger()
Specified by:
getLogger in class BaseUIComponent

validate

public boolean validate()
Specified by:
validate in interface IUIComponent
Specified by:
validate in class BaseUIComponent

getXmlContent

public Document getXmlContent()
Specified by:
getXmlContent in interface IXMLComponent
Specified by:
getXmlContent in class XmlComponent

addColumn

public void addColumn(BusinessColumn column,
                      Element tableNode,
                      String locale)

getLookup

public Document getLookup()

setAction

public void setAction(int action)

getAction

public int getAction()

setDomainName

public void setDomainName(String domainName)

getDomainName

public String getDomainName()

getParameters

public IParameterProvider getParameters()

setParameters

public void setParameters(IParameterProvider parameters)

getModelId

public String getModelId()

setModelId

public void setModelId(String modelId)

getColumnId

public String getColumnId()

setColumnId

public void setColumnId(String columnId)