|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Field Summary | |
static String |
EXPIRATION_TIME
Label for the attribute. |
static String |
REFRESH_TIME
Label for the attribute. |
static String |
SERVICE_ID
Label for the attribute. |
static String |
SOURCE_OBJECT_ID
Label for the attribute. |
static String |
SOURCE_URL
Label for the attribute. |
Method Summary | |
QueryResult |
findLinks(Class targetLinkClass,
String obj1Role,
Persistable obj2)
Return all link objects that exist between the Federated object and the specified source object. |
long |
getExpirationTime()
Gets the value of the attribute: EXPIRATION_TIME. |
long |
getRefreshTime()
Gets the value of the attribute: REFRESH_TIME. |
FederatedService |
getService()
Return the service object referenced by the serviceId attribute. |
ServiceIdentifier |
getServiceId()
Gets the object for the association that plays role: SERVICE_ID. |
String |
getSourceObjectId()
Gets the value of the attribute: SOURCE_OBJECT_ID. |
String |
getSourceURL()
Gets the value of the attribute: SOURCE_URL. |
QueryResult |
navigate(String role,
Class linkClass,
boolean onlyOtherSide)
Return objects related to this federated source object given a role and link class. |
QueryResult |
navigate(String role,
QuerySpec criteria,
boolean onlyOtherSide)
Return objects related to this federated source object given a role and link selection crtieria. |
void |
postStore()
The persistence manager calls this method just after storing the proxy object in the database. |
void |
prepareForStore()
The persistence manager calls this method just before storing the proxy object in the database. |
void |
preset()
This method is called when a proxy object is first created by a service, just after the object is instantiated and its readExternal method has been called to populate its properties from attributes obtained from the remote information source. |
void |
refresh()
Refresh the derived attributes of the object. |
void |
refreshIfStale()
Refresh the derived attributes of the object, but only if the properties are stale. |
void |
setExpirationTime(long a_ExpirationTime)
Sets the value of the attribute: EXPIRATION_TIME. |
void |
setRefreshTime(long a_RefreshTime)
Sets the value of the attribute: REFRESH_TIME. |
void |
setServiceId(ServiceIdentifier a_ServiceId)
Sets the object for the association that plays role: SERVICE_ID. |
void |
setSourceObjectId(String a_SourceObjectId)
Sets the value of the attribute: SOURCE_OBJECT_ID. |
void |
setSourceURL(String a_SourceURL)
Sets the value of the attribute: SOURCE_URL. |
void |
update()
Update the derived attributes of the object on the source service. |
Field Detail |
public static final String SOURCE_OBJECT_ID
public static final String SOURCE_URL
public static final String EXPIRATION_TIME
public static final String REFRESH_TIME
public static final String SERVICE_ID
Method Detail |
public String getSourceObjectId()
public void setSourceObjectId(String a_SourceObjectId) throws WTPropertyVetoException
a_SourceObjectId
-
WTPropertyVetoException
public String getSourceURL()
public void setSourceURL(String a_SourceURL) throws WTPropertyVetoException
a_SourceURL
-
WTPropertyVetoException
public long getExpirationTime()
public void setExpirationTime(long a_ExpirationTime) throws WTPropertyVetoException
a_ExpirationTime
-
WTPropertyVetoException
public long getRefreshTime()
public void setRefreshTime(long a_RefreshTime) throws WTPropertyVetoException
a_RefreshTime
-
WTPropertyVetoException
public ServiceIdentifier getServiceId()
public void setServiceId(ServiceIdentifier a_ServiceId) throws WTPropertyVetoException
a_ServiceId
-
WTPropertyVetoException
public FederatedService getService() throws FederationServicesException
FederationServicesException
public void preset() throws FederationServicesException
FederationServicesException
public void refresh() throws FederationServicesException
FederationServicesException
public void refreshIfStale() throws FederationServicesException
FederationServicesException
public void update() throws FederationServicesException
FederationServicesException
public void prepareForStore() throws FederationServicesException
FederationServicesException
public QueryResult findLinks(Class targetLinkClass, String obj1Role, Persistable obj2) throws FederationServicesException
targetLinkClass
- obj1Role
- obj2
-
FederationServicesException
public QueryResult navigate(String role, Class linkClass, boolean onlyOtherSide) throws FederationServicesException
role
- linkClass
- onlyOtherSide
-
FederationServicesException
public QueryResult navigate(String role, QuerySpec criteria, boolean onlyOtherSide) throws FederationServicesException
role
- criteria
- onlyOtherSide
-
FederationServicesException
public void postStore() throws FederationServicesException
FederationServicesException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |