|
|||||||||||
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
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
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Fields inherited from interface wt.federation.FederatedService |
ACTION_TABLE, FIND_ASSOCIATIONS_BY_CRITERIA, FIND_ASSOCIATIONS_BY_LINK_CLASS, FIND_OBJECTS, PROXY_EXPIRATION_INTERVAL, PROXY_REFRESH_INTERVAL, RETRIEVE_CONTENTLIST, RETRIEVE_MASTER, RETRIEVE_OBJECT, SERVICE_NAME, SERVICE_URL, TIGHTLY_COUPLED |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
FederatedInfoEngineService()
|
Method Summary | |
protected 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. |
protected 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. |
protected 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. |
protected 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. |
protected void |
_refreshRemoteObject(Federated proxy)
Refreshes the derived properties of a specified proxy object. |
protected Hashtable |
_retrieveRemoteAttributes(String sourceObjectId)
Return a Java Hashtable object containing all of the attributes read from the specified remote object. |
protected Vector |
_retrieveRemoteContentList(String sourceObjectId)
Return a Java Vector object containing all of the content items linked to the specified remote object. |
protected Object |
_retrieveRemoteObject(String sourceObjectId)
Returns a Federated instance of the remote object identified by the specified relative URL. |
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. |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
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. |
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. |
String |
getConceptualClassname()
Deprecated. |
int |
getObjectCacheSize()
Gets the value of the attribute: OBJECT_CACHE_SIZE. |
long |
getObjectCacheTTL()
Gets the value of the attribute: OBJECT_CACHE_TTL. |
long |
getProxyExpirationInterval()
Gets the value of the attribute: PROXY_EXPIRATION_INTERVAL. |
long |
getProxyRefreshInterval()
Gets the value of the attribute: PROXY_REFRESH_INTERVAL. |
String |
getQuerySpecTranslator()
Gets the value of the attribute: QUERY_SPEC_TRANSLATOR. |
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. |
InfoEngineTranslationTable |
getTranslationTable()
Return an instance of the attribute translation table referenced by this Info*Engine service. |
String |
getTranslationTableName()
Gets the value of the attribute: TRANSLATION_TABLE_NAME. |
private QuerySpecTranslator |
getTranslator()
Return an instance of the QuerySpec translator referenced by this Info*Engine service. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
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)
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. |
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. |
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)
Supported API: false |
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. |
private void |
querySpecTranslatorValidate(String a_QuerySpecTranslator)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(FederatedInfoEngineService thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
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. |
private void |
serviceURLValidate(String a_ServiceURL)
|
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 |
setObjectCacheSize(int a_ObjectCacheSize)
Sets the value of the attribute: OBJECT_CACHE_SIZE. |
void |
setObjectCacheTTL(long a_ObjectCacheTTL)
Sets the value of the attribute: OBJECT_CACHE_TTL. |
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 |
setQuerySpecTranslator(String a_QuerySpecTranslator)
Sets the value of the attribute: QUERY_SPEC_TRANSLATOR. |
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 |
setTranslationTableName(String a_TranslationTableName)
Sets the value of the attribute: TRANSLATION_TABLE_NAME. |
private String |
substituteFieldValues(String s,
Persistable obj)
Substitute the values of fields from a specified object into a specified string. |
private void |
translationTableNameValidate(String a_TranslationTableName)
|
void |
updateObject(String sourceObjectId,
Hashtable updateAttributes,
Vector deleteAttributes)
Update the attributes of a specified remote object. |
private void |
updateObjectCache(String url,
Hashtable entry)
Add an entry to the object cache. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.Item |
getDomainRef, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String QUERY_SPEC_TRANSLATOR
private static int QUERY_SPEC_TRANSLATOR_UPPER_LIMIT
private String querySpecTranslator
public static final String TRANSLATION_TABLE_NAME
private static int TRANSLATION_TABLE_NAME_UPPER_LIMIT
private String translationTableName
public static final String OBJECT_CACHE_TTL
private long objectCacheTTL
public static final String OBJECT_CACHE_SIZE
private int objectCacheSize
static final boolean SERVER
private static final String FC_RESOURCE
private String serviceName
private String serviceURL
private Hashtable actionTable
private long proxyRefreshInterval
private long proxyExpirationInterval
private boolean tightlyCoupled
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String urlSpecials
private static int defaultObjectCacheSize
private static long defaultObjectCacheTTL
private static long defaultProxyExpirationInterval
private static long defaultProxyRefreshInterval
private Hashtable navigationSupported
private static Hashtable objectCache
private Hashtable queriesSupported
private InfoEngineTranslationTable translationTable
private QuerySpecTranslator translator
private static boolean VERBOSE
Constructor Detail |
public FederatedInfoEngineService()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(FederatedInfoEngineService thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Item
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Item
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getQuerySpecTranslator()
public void setQuerySpecTranslator(String a_QuerySpecTranslator) throws WTPropertyVetoException
a_QuerySpecTranslator
-
WTPropertyVetoException
private void querySpecTranslatorValidate(String a_QuerySpecTranslator) throws WTPropertyVetoException
a_QuerySpecTranslator
-
WTPropertyVetoException
public String getTranslationTableName()
public void setTranslationTableName(String a_TranslationTableName) throws WTPropertyVetoException
a_TranslationTableName
-
WTPropertyVetoException
private void translationTableNameValidate(String a_TranslationTableName) throws WTPropertyVetoException
a_TranslationTableName
-
WTPropertyVetoException
public long getObjectCacheTTL()
public void setObjectCacheTTL(long a_ObjectCacheTTL) throws WTPropertyVetoException
a_ObjectCacheTTL
-
WTPropertyVetoException
public int getObjectCacheSize()
public void setObjectCacheSize(int a_ObjectCacheSize) throws WTPropertyVetoException
a_ObjectCacheSize
-
WTPropertyVetoException
public static FederatedInfoEngineService newFederatedInfoEngineService(String serviceName, String serviceURL, String translationTableName, String querySpecTranslator) throws FederationServicesException
serviceName
- serviceURL
- translationTableName
- querySpecTranslator
-
FederationServicesException
protected void initialize(String serviceName, String serviceURL, String translationTableName, String querySpecTranslator) throws FederationServicesException
serviceName
- serviceURL
- translationTableName
- querySpecTranslator
-
FederationServicesException
public static FederatedInfoEngineService newFederatedInfoEngineService(String serviceName, String serviceURL, String translationTableName) throws WTException
serviceName
- serviceURL
- translationTableName
-
WTException
protected void initialize(String serviceName, String serviceURL, String translationTableName) throws WTException
serviceName
- serviceURL
- translationTableName
-
WTException
public static FederatedInfoEngineService newFederatedInfoEngineService(String serviceName) throws FederationServicesException
serviceName
-
FederationServicesException
protected void initialize(String serviceName) throws FederationServicesException
serviceName
-
FederationServicesException
public static FederatedInfoEngineService newFederatedInfoEngineService() throws FederationServicesException
FederationServicesException
public Object retrieveRemoteObject(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
protected Object _retrieveRemoteObject(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
public void refreshRemoteObject(Federated proxy) throws FederationServicesException, WTException
proxy
-
FederationServicesException
WTException
protected void _refreshRemoteObject(Federated proxy) throws FederationServicesException, WTException
proxy
-
FederationServicesException
WTException
public Hashtable retrieveRemoteAttributes(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
protected Hashtable _retrieveRemoteAttributes(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
public QueryResult findRemoteObjects(String filterName, Hashtable filterArguments) throws FederationServicesException, WTException
filterName
- filterArguments
-
FederationServicesException
WTException
protected QueryResult _findRemoteObjects(String filterName, Hashtable filterArguments) throws FederationServicesException, WTException
filterName
- filterArguments
-
FederationServicesException
WTException
public QueryResult findRemoteObjects(String url) throws FederationServicesException, WTException
url
-
FederationServicesException
WTException
protected QueryResult _findRemoteObjects(String url) throws FederationServicesException, WTException
url
-
FederationServicesException
WTException
public QueryResult findRemoteAssociations(String filterName, Hashtable filterArguments, Class linkClass, String role) throws FederationServicesException, WTException
filterName
- filterArguments
- linkClass
- role
-
FederationServicesException
WTException
protected QueryResult _findRemoteAssociations(String filterName, Hashtable filterArguments, Class linkClass, String role) throws FederationServicesException, WTException
filterName
- filterArguments
- linkClass
- role
-
FederationServicesException
WTException
public QueryResult findRemoteAssociations(String url, Class linkClass, String role) throws FederationServicesException, WTException
url
- linkClass
- role
-
FederationServicesException
WTException
protected QueryResult _findRemoteAssociations(String url, Class linkClass, String role) throws FederationServicesException, WTException
url
- linkClass
- role
-
FederationServicesException
WTException
public InfoEngineTranslationTable getTranslationTable() throws FederationServicesException
FederationServicesException
public Vector retrieveRemoteContentList(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
protected Vector _retrieveRemoteContentList(String sourceObjectId) throws FederationServicesException, WTException
sourceObjectId
-
FederationServicesException
WTException
public String getServiceName()
getServiceName
in interface FederatedService
public void setServiceName(String a_ServiceName)
setServiceName
in interface FederatedService
a_ServiceName
- public String getServiceURL()
getServiceURL
in interface FederatedService
public void setServiceURL(String a_ServiceURL) throws WTPropertyVetoException
setServiceURL
in interface FederatedService
a_ServiceURL
-
WTPropertyVetoException
private void serviceURLValidate(String a_ServiceURL) throws WTPropertyVetoException
a_ServiceURL
-
WTPropertyVetoException
public Hashtable getActionTable()
getActionTable
in interface FederatedService
public void setActionTable(Hashtable a_ActionTable) throws WTPropertyVetoException
setActionTable
in interface FederatedService
a_ActionTable
-
WTPropertyVetoException
public long getProxyRefreshInterval()
getProxyRefreshInterval
in interface FederatedService
public void setProxyRefreshInterval(long a_ProxyRefreshInterval) throws WTPropertyVetoException
setProxyRefreshInterval
in interface FederatedService
a_ProxyRefreshInterval
-
WTPropertyVetoException
public long getProxyExpirationInterval()
getProxyExpirationInterval
in interface FederatedService
public void setProxyExpirationInterval(long a_ProxyExpirationInterval) throws WTPropertyVetoException
setProxyExpirationInterval
in interface FederatedService
a_ProxyExpirationInterval
-
WTPropertyVetoException
public boolean isTightlyCoupled()
isTightlyCoupled
in interface FederatedService
public void setTightlyCoupled(boolean a_TightlyCoupled) throws WTPropertyVetoException
setTightlyCoupled
in interface FederatedService
a_TightlyCoupled
-
WTPropertyVetoException
public String getActionURL(String actionName, String sourceObjectId) throws FederationServicesException
getActionURL
in interface FederatedService
actionName
- sourceObjectId
-
FederationServicesException
public String getActionURL(String actionName, Hashtable arguments) throws FederationServicesException
getActionURL
in interface FederatedService
actionName
- arguments
-
FederationServicesException
public String getActionURLTemplate(String actionName)
getActionURLTemplate
in interface FederatedService
actionName
-
public void setActionURLTemplate(String actionName, String actionURLTemplate)
setActionURLTemplate
in interface FederatedService
actionName
- actionURLTemplate
- public Object retrieveObject(String sourceObjectId) throws FederationServicesException
retrieveObject
in interface FederatedService
sourceObjectId
-
FederationServicesException
public Hashtable retrieveAttributes(String sourceObjectId) throws FederationServicesException
retrieveAttributes
in interface FederatedService
sourceObjectId
-
FederationServicesException
public void refreshObject(Federated proxy) throws FederationServicesException
refreshObject
in interface FederatedService
proxy
-
FederationServicesException
public Object createObject(Class objectClass, String sourceObjectId, Hashtable attributes) throws FederationServicesException
createObject
in interface FederatedService
objectClass
- sourceObjectId
- attributes
-
FederationServicesException
public void updateObject(String sourceObjectId, Hashtable updateAttributes, Vector deleteAttributes) throws FederationServicesException
updateObject
in interface FederatedService
sourceObjectId
- updateAttributes
- deleteAttributes
-
FederationServicesException
public void deleteObject(String sourceObjectId) throws FederationServicesException
deleteObject
in interface FederatedService
sourceObjectId
-
FederationServicesException
public QueryResult findObjects(QuerySpec criteria) throws FederationServicesException
findObjects
in interface FederatedService
criteria
-
FederationServicesException
public QueryResult findObjects(Class targetLinkClass, Persistable obj1, String obj1Role, Persistable obj2) throws FederationServicesException
findObjects
in interface FederatedService
targetLinkClass
- obj1
- obj1Role
- obj2
-
FederationServicesException
public QueryResult navigate(Persistable obj, String role, Class linkClass, boolean onlyOtherSide) throws FederationServicesException
navigate
in interface FederatedService
obj
- role
- linkClass
- onlyOtherSide
-
FederationServicesException
public QueryResult navigate(Persistable obj, String role, QuerySpec criteria, boolean onlyOtherSide) throws FederationServicesException
navigate
in interface FederatedService
obj
- role
- criteria
- onlyOtherSide
-
FederationServicesException
public Enumeration getSupportedObjectClasses() throws FederationServicesException
getSupportedObjectClasses
in interface FederatedService
FederationServicesException
public Enumeration getSupportedLinkClasses() throws FederationServicesException
getSupportedLinkClasses
in interface FederatedService
FederationServicesException
public boolean isQuerySupported(Class objectClass) throws FederationServicesException
isQuerySupported
in interface FederatedService
objectClass
-
FederationServicesException
public boolean isNavigationSupported(Class linkClass) throws FederationServicesException
isNavigationSupported
in interface FederatedService
linkClass
-
FederationServicesException
public void purgeCaches() throws FederationServicesException
purgeCaches
in interface FederatedService
FederationServicesException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Item
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Item
protected void initialize() throws FederationServicesException
initialize
in class Item
FederationServicesException
private QuerySpecTranslator getTranslator() throws FederationServicesException
FederationServicesException
private String substituteFieldValues(String s, Persistable obj) throws FederationServicesException
s
- String in which to substitute field valuesobj
- the object supplying field values
FederationServicesException
private void updateObjectCache(String url, Hashtable entry)
url
- unique key under which to add the entryentry
- attribute table representing object to add
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |