|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.databrowser.DBDataResource
Wrapper class to the OGSADAI client toolkit DataService
with a fixed resource.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE Copyright statement |
private DBDataService |
mDataService GUI client data service which is associated with this data service resource |
private boolean |
mMLSEnabled Indicates whether message level security has been configured |
private ResourceID |
mResourceID ID of the resource |
private DataService |
mService OGSA-DAI data service |
private java.util.Vector |
mSupportedActivities Activities supported by this data service resource |
private boolean |
mTLSEncryptionEnabled Indicates whether transport level security is enabled with encryption |
Constructor Summary | |
DBDataResource(DBDataService service, ResourceID resourceID) Construct a data resource object. |
Method Summary | |
void |
enableTransportLevelEncryption() Enables encryption for transport level security on this service. |
DatabaseSchemaMetaData |
getDatabaseSchema() Gets a relational database schema from the data service resource. |
DBDataService |
getDataService() Returns the service associated with this data service resource. |
ResourceID |
getResourceID() Returns the fixed resource ID of this data service resource. |
java.util.Vector |
getSupportedActivities() Obtains activities supported by the data service resource. |
boolean |
isMLSEnabled() Indicates whether message level security is being used for communications with this data service resource. |
boolean |
isSQLQuerySupported() Indicates whether the database supports the SQL query activity. |
boolean |
isSQLUpdateSupported() Indicates whether the database supports the SQLUpdate activity. |
boolean |
isTLSEncryptionEnabled() Indicates whether encryption is being used when connecting to this service. |
boolean |
isXPathQuerySupported() Indicates whether the database supports XPath queries. |
Response |
perform(ActivityRequest request) Performs a request on this data service resource. |
Response |
perform(RequestComponent component) Performs a request containing a single request component on this data service resource. |
void |
setMessageLevelSecurity(java.io.File descriptor) Enables message level security for all messages on this service. |
void |
setTimeOut(int milliseconds) Sets the timeout property of the service. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private DBDataService mDataService
private ResourceID mResourceID
private DataService mService
private java.util.Vector mSupportedActivities
private boolean mMLSEnabled
private boolean mTLSEncryptionEnabled
Constructor Detail |
public DBDataResource(DBDataService service, ResourceID resourceID) throws java.lang.Exception
service
- the service where this resource belongs toresourceID
- ID of the resource.java.lang.Exception
- if there was a problem connecting to the serviceMethod Detail |
public ResourceID getResourceID()
public DBDataService getDataService()
public void setTimeOut(int milliseconds)
milliseconds
- The time in milliseconds until timeoutpublic void setMessageLevelSecurity(java.io.File descriptor)
descriptor
- a message level security descriptorpublic void enableTransportLevelEncryption()
public java.util.Vector getSupportedActivities()
public boolean isSQLQuerySupported()
true
if the database supports the sqlQueryStatement activity, false
otherwisepublic boolean isSQLUpdateSupported()
true
if the database supports the sqlUpdateStatement activity, false
otherwisepublic boolean isXPathQuerySupported()
true
if the database supports an xPathStatement activity, false
otherwisepublic DatabaseSchemaMetaData getDatabaseSchema() throws java.lang.Exception
java.lang.Exception
public Response perform(RequestComponent component) throws java.lang.Exception
component
- The request component to send to the server.java.lang.Exception
- If a problem occurs when executing the action.public Response perform(ActivityRequest request) throws java.lang.Exception
request
- Request to performjava.lang.Exception
- If a problem occurs when executing the action.public java.lang.String toString()
toString
in class java.lang.Object
public boolean isMLSEnabled()
true
if message level security is switched on and false
otherwise.public boolean isTLSEncryptionEnabled()
true
if encryption is enabled and false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |