public class ConfigurationProcessor
extends com.labvantage.sapphire.BaseAccessor
Constructor and Description |
---|
ConfigurationProcessor(java.io.File rakFile,
java.lang.String connectionid)
Constructor for a client application with an existing connection
|
ConfigurationProcessor(javax.servlet.jsp.PageContext pageContext)
Constructor for a client web application with a page Context and existing connectionid
|
ConfigurationProcessor(java.lang.String connectionid)
Constructor for creating an accessor from components
|
Modifier and Type | Method and Description |
---|---|
PropertyList |
findPolicy(java.lang.String policyid,
java.lang.String propertyid,
java.lang.String propertyvalue)
Return a PropertyList representing the requested policy
|
PropertyList |
getPolicy(java.lang.String policyid)
Return a PropertyList representing the requested policy
|
PropertyList |
getPolicy(java.lang.String policyid,
java.lang.String nodeid)
Return a PropertyList representing the requested policy
|
PropertyList |
getPolicy(java.lang.String policyid,
java.lang.String nodeid,
boolean translate)
Return a PropertyList representing the requested policy
|
java.lang.String |
getProfileProperty(java.lang.String propertyid)
Return a profiile property for the current user.
|
java.lang.String |
getProfileProperty(java.lang.String propertyid,
java.lang.String defaultValue)
Return a profiile property for the current user.
|
createRemoteAccessKey, getAttachmentManager, getAutomationManager, getConfigurationManager, getConnectionid, getErrorCodeList, getErrorCodeStack, getErrorHandler, getErrorStack, getErrorStack, getErrorString, getInfoErrorString, getLastError, getLastErrorCode, getLastErrorMessage, getLastException, getLocalAccessManager, getNameserverlist, getQueryManager, getRemoteAccessManager, getRequestManager, getStatusManager, getWebAdminManager, hasErrors, hasInfoErrors, parseServiceExceptionMsg, resetConnectionid, resetErrorStack, setConnectionDetails, setConnectionid, setError, setError, setErrorString, setInfoErrorString, setJNDIPrefix, setLocal, setLocalJNDIPrefix, setRakFile
public ConfigurationProcessor(java.lang.String connectionid)
connectionid
- The connection to use for component callspublic ConfigurationProcessor(java.io.File rakFile, java.lang.String connectionid)
rakFile
- A remote access key fileconnectionid
- A valid connectionidpublic ConfigurationProcessor(javax.servlet.jsp.PageContext pageContext)
pageContext
- The current page contextpublic java.lang.String getProfileProperty(java.lang.String propertyid)
propertyid
- Profile property to look forpublic java.lang.String getProfileProperty(java.lang.String propertyid, java.lang.String defaultValue)
propertyid
- Profile property to look fordefaultValue
- Default valuepublic PropertyList getPolicy(java.lang.String policyid) throws SapphireException
policyid
- The name of the Policy.SapphireException
public PropertyList getPolicy(java.lang.String policyid, java.lang.String nodeid) throws SapphireException
policyid
- The name of the Policy.nodeid
- The specific node for the policySapphireException
public PropertyList getPolicy(java.lang.String policyid, java.lang.String nodeid, boolean translate) throws SapphireException
policyid
- The name of the Policy.nodeid
- The specific node for the policytranslate
- Whether to translate properties marked to be translated or not.SapphireException
public PropertyList findPolicy(java.lang.String policyid, java.lang.String propertyid, java.lang.String propertyvalue)
policyid
- The name of the Policy.propertyid
- The property to search for in the policypropertyvalue
- The value of the property required