|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FederatedService
Defines the essential interface for all classes implementing Federated
services that provide access to non-local objects.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
Label for the attribute. |
| Method Summary | |
|---|---|
Object |
createObject(Class objectClass,
String sourceObjectId,
Hashtable attributes)
Create a new object in a remote information service. |
void |
deleteObject(String sourceObjectId)
Delete the specified object managed by this federated service. |
QueryResult |
findObjects(Class targetLinkClass,
Persistable obj1,
String obj1Role,
Persistable obj2)
Return all link objects in this service that exist between two specified source objects. |
QueryResult |
findObjects(QuerySpec criteria)
Retrieve objects from this federated service using the specified selection criteria. |
String |
getActionURL(String actionName,
Hashtable arguments)
Returns the URL associated with the specified action and set of named arguments. |
String |
getServiceName()
Gets the value of the attribute: SERVICE_NAME. |
Enumeration |
getSupportedLinkClasses()
Return the enumeration of link class names for which this service supports navigation. |
Enumeration |
getSupportedObjectClasses()
Return the enumeration of class names for which this service supports queries. |
boolean |
isNavigationSupported(Class linkClass)
Return true if the named class is defined in the table of supported link classes for this federated service. |
boolean |
isQuerySupported(Class objectClass)
Return true if the named class is defined in the table of supported object classes for this federated service. |
QueryResult |
navigate(Persistable obj,
String role,
Class linkClass,
boolean onlyOtherSide)
Return objects from this federated service related to the specified source object given a role and link class. |
QueryResult |
navigate(Persistable obj,
String role,
QuerySpec criteria,
boolean onlyOtherSide)
Return objects from this federated service related to the specified source object given a role and link selection crtieria. |
void |
purgeCaches()
Purge any caches that might be kept by the service. |
void |
refreshObject(Federated proxy)
Refresh the properties of a proxy object that are derived from a remote object. |
Hashtable |
retrieveAttributes(String sourceObjectId)
Supported API: true |
Object |
retrieveObject(String sourceObjectId)
Returns a Federated instance of the remote object identified by the specified source object identifier. |
void |
setServiceName(String a_ServiceName)
Sets the value of the attribute: SERVICE_NAME. |
void |
updateObject(String sourceObjectId,
Hashtable updateAttributes,
Vector deleteAttributes)
Update the attributes of a specified remote object. |
| Field Detail |
|---|
static final String SERVICE_NAME
| Method Detail |
|---|
String getServiceName()
void setServiceName(String a_ServiceName)
a_ServiceName -
String getActionURL(String actionName,
Hashtable arguments)
throws wt.federation.FederationServicesException
actionName - arguments -
wt.federation.FederationServicesException
Object retrieveObject(String sourceObjectId)
throws wt.federation.FederationServicesException
sourceObjectId -
wt.federation.FederationServicesException
Hashtable retrieveAttributes(String sourceObjectId)
throws wt.federation.FederationServicesException
sourceObjectId -
wt.federation.FederationServicesException
void refreshObject(Federated proxy)
throws wt.federation.FederationServicesException
proxy -
wt.federation.FederationServicesException
Object createObject(Class objectClass,
String sourceObjectId,
Hashtable attributes)
throws wt.federation.FederationServicesException
objectClass - sourceObjectId - attributes -
wt.federation.FederationServicesException
void updateObject(String sourceObjectId,
Hashtable updateAttributes,
Vector deleteAttributes)
throws wt.federation.FederationServicesException
sourceObjectId - updateAttributes - deleteAttributes -
wt.federation.FederationServicesException
void deleteObject(String sourceObjectId)
throws wt.federation.FederationServicesException
sourceObjectId -
wt.federation.FederationServicesException
QueryResult findObjects(QuerySpec criteria)
throws wt.federation.FederationServicesException
criteria -
wt.federation.FederationServicesException
QueryResult findObjects(Class targetLinkClass,
Persistable obj1,
String obj1Role,
Persistable obj2)
throws wt.federation.FederationServicesException
targetLinkClass - obj1 - obj1Role - obj2 -
wt.federation.FederationServicesException
QueryResult navigate(Persistable obj,
String role,
Class linkClass,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
obj - role - linkClass - onlyOtherSide -
wt.federation.FederationServicesException
QueryResult navigate(Persistable obj,
String role,
QuerySpec criteria,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
obj - role - criteria - onlyOtherSide -
wt.federation.FederationServicesException
Enumeration getSupportedObjectClasses()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
Enumeration getSupportedLinkClasses()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
boolean isQuerySupported(Class objectClass)
throws wt.federation.FederationServicesException
objectClass -
wt.federation.FederationServicesException
boolean isNavigationSupported(Class linkClass)
throws wt.federation.FederationServicesException
linkClass -
wt.federation.FederationServicesException
void purgeCaches()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||