|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
ACTION_TABLE
Label for the attribute. |
static String |
FIND_ASSOCIATIONS_BY_CRITERIA
|
static String |
FIND_ASSOCIATIONS_BY_LINK_CLASS
|
static String |
FIND_OBJECTS
|
static String |
PROXY_EXPIRATION_INTERVAL
Label for the attribute. |
static String |
PROXY_REFRESH_INTERVAL
Label for the attribute. |
static String |
RETRIEVE_CONTENTLIST
|
static String |
RETRIEVE_MASTER
|
static String |
RETRIEVE_OBJECT
|
static String |
SERVICE_NAME
Label for the attribute. |
static String |
SERVICE_URL
Label for the attribute. |
static String |
TIGHTLY_COUPLED
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. |
Hashtable |
getActionTable()
Gets the value of the attribute: ACTION_TABLE. |
String |
getActionURL(String actionName,
Hashtable arguments)
Returns the URL associated with the specified action and set of named arguments. |
String |
getActionURL(String actionName,
String sourceObjectId)
Returns the URL associated with the specified action and source object identifier. |
String |
getActionURLTemplate(String actionName)
Returns the URL template associated with the specified action. |
long |
getProxyExpirationInterval()
Gets the value of the attribute: PROXY_EXPIRATION_INTERVAL. |
long |
getProxyRefreshInterval()
Gets the value of the attribute: PROXY_REFRESH_INTERVAL. |
String |
getServiceName()
Gets the value of the attribute: SERVICE_NAME. |
String |
getServiceURL()
Gets the value of the attribute: SERVICE_URL. |
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. |
boolean |
isTightlyCoupled()
Gets the value of the attribute: TIGHTLY_COUPLED. |
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 |
setActionTable(Hashtable a_ActionTable)
Sets the value of the attribute: ACTION_TABLE. |
void |
setActionURLTemplate(String actionName,
String actionURLTemplate)
Associates the specified URL template with the specified action. |
void |
setProxyExpirationInterval(long a_ProxyExpirationInterval)
Sets the value of the attribute: PROXY_EXPIRATION_INTERVAL. |
void |
setProxyRefreshInterval(long a_ProxyRefreshInterval)
Sets the value of the attribute: PROXY_REFRESH_INTERVAL. |
void |
setServiceName(String a_ServiceName)
Sets the value of the attribute: SERVICE_NAME. |
void |
setServiceURL(String a_ServiceURL)
Sets the value of the attribute: SERVICE_URL. |
void |
setTightlyCoupled(boolean a_TightlyCoupled)
Sets the value of the attribute: TIGHTLY_COUPLED. |
void |
updateObject(String sourceObjectId,
Hashtable updateAttributes,
Vector deleteAttributes)
Update the attributes of a specified remote object. |
Field Detail |
public static final String SERVICE_NAME
public static final String SERVICE_URL
public static final String ACTION_TABLE
public static final String PROXY_REFRESH_INTERVAL
public static final String PROXY_EXPIRATION_INTERVAL
public static final String TIGHTLY_COUPLED
public static final String FIND_ASSOCIATIONS_BY_CRITERIA
public static final String FIND_ASSOCIATIONS_BY_LINK_CLASS
public static final String FIND_OBJECTS
public static final String RETRIEVE_OBJECT
public static final String RETRIEVE_MASTER
public static final String RETRIEVE_CONTENTLIST
Method Detail |
public String getServiceName()
public void setServiceName(String a_ServiceName)
a_ServiceName
- public String getServiceURL()
public void setServiceURL(String a_ServiceURL) throws WTPropertyVetoException
a_ServiceURL
-
WTPropertyVetoException
public Hashtable getActionTable()
public void setActionTable(Hashtable a_ActionTable) throws WTPropertyVetoException
a_ActionTable
-
WTPropertyVetoException
public long getProxyRefreshInterval()
public void setProxyRefreshInterval(long a_ProxyRefreshInterval) throws WTPropertyVetoException
a_ProxyRefreshInterval
-
WTPropertyVetoException
public long getProxyExpirationInterval()
public void setProxyExpirationInterval(long a_ProxyExpirationInterval) throws WTPropertyVetoException
a_ProxyExpirationInterval
-
WTPropertyVetoException
public boolean isTightlyCoupled()
public void setTightlyCoupled(boolean a_TightlyCoupled) throws WTPropertyVetoException
a_TightlyCoupled
-
WTPropertyVetoException
public String getActionURL(String actionName, String sourceObjectId) throws FederationServicesException
actionName
- sourceObjectId
-
FederationServicesException
public String getActionURL(String actionName, Hashtable arguments) throws FederationServicesException
actionName
- arguments
-
FederationServicesException
public String getActionURLTemplate(String actionName)
actionName
-
public void setActionURLTemplate(String actionName, String actionURLTemplate)
actionName
- actionURLTemplate
- public Object retrieveObject(String sourceObjectId) throws FederationServicesException
sourceObjectId
-
FederationServicesException
public Hashtable retrieveAttributes(String sourceObjectId) throws FederationServicesException
sourceObjectId
-
FederationServicesException
public void refreshObject(Federated proxy) throws FederationServicesException
proxy
-
FederationServicesException
public Object createObject(Class objectClass, String sourceObjectId, Hashtable attributes) throws FederationServicesException
objectClass
- sourceObjectId
- attributes
-
FederationServicesException
public void updateObject(String sourceObjectId, Hashtable updateAttributes, Vector deleteAttributes) throws FederationServicesException
sourceObjectId
- updateAttributes
- deleteAttributes
-
FederationServicesException
public void deleteObject(String sourceObjectId) throws FederationServicesException
sourceObjectId
-
FederationServicesException
public QueryResult findObjects(QuerySpec criteria) throws FederationServicesException
criteria
-
FederationServicesException
public QueryResult findObjects(Class targetLinkClass, Persistable obj1, String obj1Role, Persistable obj2) throws FederationServicesException
targetLinkClass
- obj1
- obj1Role
- obj2
-
FederationServicesException
public QueryResult navigate(Persistable obj, String role, Class linkClass, boolean onlyOtherSide) throws FederationServicesException
obj
- role
- linkClass
- onlyOtherSide
-
FederationServicesException
public QueryResult navigate(Persistable obj, String role, QuerySpec criteria, boolean onlyOtherSide) throws FederationServicesException
obj
- role
- criteria
- onlyOtherSide
-
FederationServicesException
public Enumeration getSupportedObjectClasses() throws FederationServicesException
FederationServicesException
public Enumeration getSupportedLinkClasses() throws FederationServicesException
FederationServicesException
public boolean isQuerySupported(Class objectClass) throws FederationServicesException
objectClass
-
FederationServicesException
public boolean isNavigationSupported(Class linkClass) throws FederationServicesException
linkClass
-
FederationServicesException
public void purgeCaches() throws FederationServicesException
FederationServicesException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |