Package wt.federation

Interface Federated

All Superinterfaces:
_Federated
All Known Implementing Classes:
_ProxyDocument, _ProxyDocumentMaster, _ProxyGroup, _ProxyPartMaster, _ProxyURLData, _ProxyUser, ProxyDocument, ProxyDocumentMaster, ProxyGroup, ProxyPartMaster, ProxyURLData, ProxyUser



Supported API: true

Extendable: false
  • Method Details

    • getService

      Return the service object referenced by the serviceId attribute.

      Supported API: true
      Returns:
      FederatedService
      Throws:
      FederationServicesException
    • preset

      void preset() throws FederationServicesException
      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. This method allows the proxy object to do further class-specific initialization.

      Supported API: true
      Throws:
      FederationServicesException
    • refresh

      void refresh() throws FederationServicesException
      Refresh the derived attributes of the object.

      Supported API: true
      Throws:
      FederationServicesException
    • refreshIfStale

      void refreshIfStale() throws FederationServicesException
      Refresh the derived attributes of the object, but only if the properties are stale.

      Supported API: true
      Throws:
      FederationServicesException
    • update

      void update() throws FederationServicesException
      Update the derived attributes of the object on the source service.

      Supported API: true
      Throws:
      FederationServicesException
    • prepareForStore

      void prepareForStore() throws FederationServicesException
      The persistence manager calls this method just before storing the proxy object in the database. This gives the object an opportunity to make associated proxy objects persistent, if necessary.

      Supported API: true
      Throws:
      FederationServicesException
    • findLinks

      QueryResult findLinks(Class targetLinkClass, String obj1Role, Persistable obj2) throws FederationServicesException
      Return all link objects that exist between the Federated object and the specified source object.

      Supported API: true
      Parameters:
      targetLinkClass -
      obj1Role -
      obj2 -
      Returns:
      QueryResult
      Throws:
      FederationServicesException
    • postStore

      void postStore() throws FederationServicesException
      The persistence manager calls this method just after storing the proxy object in the database. This gives the object an opportunity to make associated objects persistent, if necessary. For example, links between the proxy object and other objects need to be persisted after the proxy object is persisted.

      Supported API: true
      Throws:
      FederationServicesException