|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.enterprise.RevisionControlled
wt.doc.WTDocument
wt.federation.ProxyDocument
public class ProxyDocument
Use the newProxyDocument static factory method(s), not the
ProxyDocument 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 class wt.doc.WTDocument |
|---|
DEPARTMENT, DESCRIPTION, DOC_TYPE, NAME, NUMBER, TITLE |
| Fields inherited from class wt.enterprise.RevisionControlled |
|---|
MASTER |
| Fields inherited from interface wt.federation.Federated |
|---|
SERVICE_ID |
| Fields inherited from interface wt.org.OrganizationOwnedVersion |
|---|
MASTER, MASTER_REFERENCE |
| Fields inherited from interface wt.org.OrganizationOwned |
|---|
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER |
| 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. |
Mastered |
getMaster()
Gets the object for the association that plays the role: MASTERED Supported API: true |
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 |
getSourceName()
Gets the value of the attribute: SOURCE_NAME Supported API: true |
String |
getSourceNumber()
Gets the value of the attribute: SOURCE_NUMBER Supported API: true |
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 |
setServiceId(ServiceIdentifier a_ServiceId)
Sets the object for the association that plays role: SERVICE_ID. |
void |
setSourceName(String name)
Sets the value of the attribute: SOURCE_NAME Supported API: true |
void |
setSourceNumber(String number)
Sets the value of the attribute: SOURCE_NUMBER Supported API: true |
void |
update()
Update the derived attributes of the object on the source service. |
| Methods inherited from class wt.doc.WTDocument |
|---|
getDepartment, getDescription, getDocType, getName, getNumber, getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, getTitle, newWTDocument, newWTDocument, newWTDocument, setDepartment, setDescription, setDocType, setName, setNumber, setOrganization, setTitle |
| Methods inherited from class wt.enterprise.RevisionControlled |
|---|
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference |
| 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 |
| Methods inherited from interface wt.org.OrganizationOwnedVersion |
|---|
getMasterReference |
| Method Detail |
|---|
public String getSourceName()
public void setSourceName(String name)
throws WTPropertyVetoException
name -
WTPropertyVetoExceptionpublic String getSourceNumber()
public void setSourceNumber(String number)
throws WTPropertyVetoException
number -
WTPropertyVetoExceptionpublic Mastered getMaster()
getMaster in interface OrganizationOwnedVersiongetMaster in interface IteratedgetMaster in class RevisionControlledMastered
public FederatedService getService()
throws wt.federation.FederationServicesException
getService in interface Federatedwt.federation.FederationServicesException
public void preset()
throws wt.federation.FederationServicesException
preset in interface Federatedwt.federation.FederationServicesException
public void refresh()
throws wt.federation.FederationServicesException
refresh in interface Federatedwt.federation.FederationServicesException
public void refreshIfStale()
throws wt.federation.FederationServicesException
refreshIfStale in interface Federatedwt.federation.FederationServicesException
public void update()
throws wt.federation.FederationServicesException
update in interface Federatedwt.federation.FederationServicesException
public void prepareForStore()
throws wt.federation.FederationServicesException
prepareForStore in interface Federatedwt.federation.FederationServicesException
public QueryResult findLinks(Class targetLinkClass,
String obj1Role,
Persistable obj2)
throws wt.federation.FederationServicesException
findLinks in interface FederatedtargetLinkClass - obj1Role - obj2 -
wt.federation.FederationServicesException
public QueryResult navigate(String role,
Class linkClass,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
navigate in interface Federatedrole - linkClass - onlyOtherSide -
wt.federation.FederationServicesException
public QueryResult navigate(String role,
QuerySpec criteria,
boolean onlyOtherSide)
throws wt.federation.FederationServicesException
navigate in interface Federatedrole - criteria - onlyOtherSide -
wt.federation.FederationServicesException
public void postStore()
throws wt.federation.FederationServicesException
postStore in interface Federatedwt.federation.FederationServicesExceptionpublic ServiceIdentifier getServiceId()
getServiceId in interface Federated
public void setServiceId(ServiceIdentifier a_ServiceId)
throws WTPropertyVetoException
setServiceId in interface Federateda_ServiceId -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||