|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.federation.FederatedInfoEngineService
public class FederatedInfoEngineService
This class implements FederatedService objects that use Info*Engine to access remote systems and data sources.
Use the newFederatedInfoEngineService static factory method(s),
not the FederatedInfoEngineService constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface wt.federation.FederatedService |
|---|
SERVICE_NAME |
| 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. |
QueryResult |
findRemoteAssociations(String url,
Class linkClass,
String role)
Search the remote service for associations matching the criteria specified in the given URL, and return a QueryResult containing objects corresponding to the matching link and other side objects. |
QueryResult |
findRemoteAssociations(String filterName,
Hashtable filterArguments,
Class linkClass,
String role)
Search the remote service for associations matching the specified search filter, and return a QueryResult containing objects corresponding to the matching link and other side objects. |
QueryResult |
findRemoteObjects(String url)
Search the remote service for objects matching the criteria specified in the given URL, and return a QueryResult containing the matched objects. |
QueryResult |
findRemoteObjects(String filterName,
Hashtable filterArguments)
Search the remote service for objects matching the specified search filter, and return a QueryResult containing objects corresponding to the matching objects. |
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. |
InfoEngineTranslationTable |
getTranslationTable()
Return an instance of the attribute translation table referenced by this Info*Engine service. |
protected void |
initialize()
Supports initialization, following construction of an instance. |
protected void |
initialize(String serviceName)
Supports initialization, following construction of an instance. |
protected void |
initialize(String serviceName,
String serviceURL,
String translationTableName,
String querySpecTranslator)
Supports initialization, following construction of an instance. |
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. |
static FederatedInfoEngineService |
newFederatedInfoEngineService()
Constructor returning an instance initialized with default property values. |
static FederatedInfoEngineService |
newFederatedInfoEngineService(String serviceName)
Constructor returning an instance initialized with a specified service name and no directory attribute translation table. |
static FederatedInfoEngineService |
newFederatedInfoEngineService(String serviceName,
String serviceURL,
String translationTableName,
String querySpecTranslator)
Constructor returning an instance initialized with a specified service name, base service URL, and translation table name. |
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. |
void |
refreshRemoteObject(Federated proxy)
Refreshes the derived properties of a specified proxy 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. |
Hashtable |
retrieveRemoteAttributes(String sourceObjectId)
Return a Java Hashtable object containing all of the attributes read from the specified remote object. |
Vector |
retrieveRemoteContentList(String sourceObjectId)
Return a Java Vector object containing all of the content items linked to the specified remote object. |
Object |
retrieveRemoteObject(String sourceObjectId)
Returns a Federated instance of the remote object identified by the specified relative URL. |
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. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static FederatedInfoEngineService newFederatedInfoEngineService(String serviceName,
String serviceURL,
String translationTableName,
String querySpecTranslator)
throws wt.federation.FederationServicesException
serviceName - serviceURL - translationTableName - querySpecTranslator -
wt.federation.FederationServicesException
protected void initialize(String serviceName,
String serviceURL,
String translationTableName,
String querySpecTranslator)
throws wt.federation.FederationServicesException
serviceName - serviceURL - translationTableName - querySpecTranslator -
wt.federation.FederationServicesException
public static FederatedInfoEngineService newFederatedInfoEngineService(String serviceName)
throws wt.federation.FederationServicesException
serviceName -
wt.federation.FederationServicesException
protected void initialize(String serviceName)
throws wt.federation.FederationServicesException
serviceName -
wt.federation.FederationServicesException
public static FederatedInfoEngineService newFederatedInfoEngineService()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
public Object retrieveRemoteObject(String sourceObjectId)
throws wt.federation.FederationServicesException,
WTException
sourceObjectId -
wt.federation.FederationServicesException
WTException
public void refreshRemoteObject(Federated proxy)
throws wt.federation.FederationServicesException,
WTException
proxy -
wt.federation.FederationServicesException
WTException
public Hashtable retrieveRemoteAttributes(String sourceObjectId)
throws wt.federation.FederationServicesException,
WTException
sourceObjectId -
wt.federation.FederationServicesException
WTException
public QueryResult findRemoteObjects(String filterName,
Hashtable filterArguments)
throws wt.federation.FederationServicesException,
WTException
filterName - filterArguments -
wt.federation.FederationServicesException
WTException
public QueryResult findRemoteObjects(String url)
throws wt.federation.FederationServicesException,
WTException
url -
wt.federation.FederationServicesException
WTException
public QueryResult findRemoteAssociations(String filterName,
Hashtable filterArguments,
Class linkClass,
String role)
throws wt.federation.FederationServicesException,
WTException
filterName - filterArguments - linkClass - role -
wt.federation.FederationServicesException
WTException
public QueryResult findRemoteAssociations(String url,
Class linkClass,
String role)
throws wt.federation.FederationServicesException,
WTException
url - linkClass - role -
wt.federation.FederationServicesException
WTException
public InfoEngineTranslationTable getTranslationTable()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
public Vector retrieveRemoteContentList(String sourceObjectId)
throws wt.federation.FederationServicesException,
WTException
sourceObjectId -
wt.federation.FederationServicesException
WTExceptionpublic String getServiceName()
getServiceName in interface FederatedServicepublic void setServiceName(String a_ServiceName)
setServiceName in interface FederatedServicea_ServiceName -
public String getActionURL(String actionName,
Hashtable arguments)
throws wt.federation.FederationServicesException
getActionURL in interface FederatedServiceactionName - arguments -
wt.federation.FederationServicesException
public Object retrieveObject(String sourceObjectId)
throws wt.federation.FederationServicesException
retrieveObject in interface FederatedServicesourceObjectId -
wt.federation.FederationServicesException
public Hashtable retrieveAttributes(String sourceObjectId)
throws wt.federation.FederationServicesException
retrieveAttributes in interface FederatedServicesourceObjectId -
wt.federation.FederationServicesException
public void refreshObject(Federated proxy)
throws wt.federation.FederationServicesException
refreshObject in interface FederatedServiceproxy -
wt.federation.FederationServicesException
public Object createObject(Class objectClass,
String sourceObjectId,
Hashtable attributes)
throws wt.federation.FederationServicesException
createObject in interface FederatedServiceobjectClass - sourceObjectId - attributes -
wt.federation.FederationServicesException
public void updateObject(String sourceObjectId,
Hashtable updateAttributes,
Vector deleteAttributes)
throws wt.federation.FederationServicesException
updateObject in interface FederatedServicesourceObjectId - updateAttributes - deleteAttributes -
wt.federation.FederationServicesException
public void deleteObject(String sourceObjectId)
throws wt.federation.FederationServicesException
deleteObject in interface FederatedServicesourceObjectId -
wt.federation.FederationServicesException
public QueryResult findObjects(QuerySpec criteria)
throws wt.federation.FederationServicesException
findObjects in interface FederatedServicecriteria -
wt.federation.FederationServicesException
public QueryResult findObjects(Class targetLinkClass,
Persistable obj1,
String obj1Role,
Persistable obj2)
throws wt.federation.FederationServicesException
findObjects in interface FederatedServicetargetLinkClass - obj1 - obj1Role - obj2 -
wt.federation.FederationServicesException
public QueryResult navigate(Persistable obj,
String role,
Class linkClass,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
navigate in interface FederatedServiceobj - role - linkClass - onlyOtherSide -
wt.federation.FederationServicesException
public QueryResult navigate(Persistable obj,
String role,
QuerySpec criteria,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
navigate in interface FederatedServiceobj - role - criteria - onlyOtherSide -
wt.federation.FederationServicesException
public Enumeration getSupportedObjectClasses()
throws wt.federation.FederationServicesException
getSupportedObjectClasses in interface FederatedServicewt.federation.FederationServicesException
public Enumeration getSupportedLinkClasses()
throws wt.federation.FederationServicesException
getSupportedLinkClasses in interface FederatedServicewt.federation.FederationServicesException
public boolean isQuerySupported(Class objectClass)
throws wt.federation.FederationServicesException
isQuerySupported in interface FederatedServiceobjectClass -
wt.federation.FederationServicesException
public boolean isNavigationSupported(Class linkClass)
throws wt.federation.FederationServicesException
isNavigationSupported in interface FederatedServicelinkClass -
wt.federation.FederationServicesException
public void purgeCaches()
throws wt.federation.FederationServicesException
purgeCaches in interface FederatedServicewt.federation.FederationServicesException
protected void initialize()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||