|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.etill.framework.xdm.PSServerObject | +--com.ibm.etill.framework.xdm.PSServerAdminObject
There is a distinction between administrative and query commands. Administrative commands excecute under the Payment Engine JVM and alter state variables. Query commands on the other hand, execute in the Payment Servlet JVM and merely retrieve persistent state variables. The PSServerAdminObject entends this capability to cassettes. Cassettes extend this class to represent their primary administration objects through the query commands. PSServerAdminObject supports all of the basic attributes of a primary administration object such as enabled, active, pending, and valid.
Fields inherited from interface com.ibm.etill.framework.xdm.PSServerAdminConstants |
---|
COL_ACTIVE, COL_ENABLED, COL_MESSAGESKEY, COL_PENDING, COL_VALID |
Constructor Summary | |
---|---|
PSServerAdminObject()
A default constructor that sets view attributes to constants in PSServerAdminConstants. |
|
PSServerAdminObject(String view_enabled,
String view_active,
String view_valid,
String view_pending,
String view_messageskey)
Constructor uses the following input parameters to intialize state variables. |
Method Summary | |
---|---|
void |
addCassetteConfigObject(CassetteConfigObject object)
Adds a CassetteConfigObject. |
protected int |
getApproximateXDMKeySize()
It is not implemented, throws an ETillFrameworkException exception. |
protected int |
getApproximateXDMObjectSize()
It is not implemented, returns a negative one (-1). |
int |
getApproximateXDMSize()
Retrieves the approximate XDM size in bytes. |
protected Enumeration |
getCassetteMessages()
Retrieves the cassette messages for this Cassette object. |
protected String |
getCassetteMessagesString()
Retrieves the cassette messages for this Cassette object. |
protected Enumeration |
getFrameworkMessages()
Retrieves the framework messages for this PSServerAdminObject. |
protected String |
getFrameworkMessagesString()
Retrieves the framework messages for this PSServerAdminObject. |
XDMMessages |
getMessages()
Retrieves the current messages. |
protected void |
initializeAdminObject(ResultSet rs)
Initializes object properties if object was created with the default constructor. |
boolean |
isActive()
Retrieves the current state of the active variable. |
boolean |
isEnabled()
Retrieves the current state of the enabled variable. |
boolean |
isPending()
Retrieves the current state of the pending variable. |
boolean |
isValid()
Retrieves the current state of the valid variable. |
void |
setCassetteExtensionObject(CassetteExtensionObject extension)
Sets the Cassette extension object. |
protected void |
toXml(com.ibm.etill.xml.parser.TXElement xml)
Converts this object properties to XML document. |
Methods inherited from class com.ibm.etill.framework.xdm.PSServerObject |
---|
getPaymentType, setOptionalAttribute, setRequiredAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PSServerAdminObject(String view_enabled, String view_active, String view_valid, String view_pending, String view_messageskey)
view_enabled
- a string indicating whether a view is enabledview_active
- a string indicating whether a view is activeview_valid
- a string indicating whether a view is validview_pending
- a string indicating whether a view is pendingview_messageskey
- a string indicating view messages keypublic PSServerAdminObject()
Method Detail |
protected String getFrameworkMessagesString()
protected Enumeration getFrameworkMessages()
protected String getCassetteMessagesString()
protected Enumeration getCassetteMessages()
public boolean isEnabled()
public boolean isActive()
public boolean isValid()
public boolean isPending()
public XDMMessages getMessages()
protected void initializeAdminObject(ResultSet rs) throws SQLException, com.ibm.etill.framework.payapi.ETillAbortOperation
SQLException
- thrown by the DB managercom.ibm.etill.framework.payapi.ETillAbortOperation
- thrown if severe errors are encounteredpublic void setCassetteExtensionObject(CassetteExtensionObject extension)
extension
- a CassetteExtensionObjectpublic void addCassetteConfigObject(CassetteConfigObject object)
protected void toXml(com.ibm.etill.xml.parser.TXElement xml)
public int getApproximateXDMSize()
getApproximateXDMSize
in class PSServerObject
protected int getApproximateXDMKeySize()
getApproximateXDMKeySize
in class PSServerObject
com.ibm.etill.framework.log.ETillFrameworkException
- is always thrown when this method is calledprotected int getApproximateXDMObjectSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |