|
|||||||||
| 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.org.WTPrincipal
wt.org.WTGroup
wt.federation.ProxyGroup
public class ProxyGroup
Proxy group of users.
Use the newProxyGroup static factory method(s), not the
ProxyGroup 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.Federated |
|---|
SERVICE_ID |
| Method Summary | |
|---|---|
boolean |
addMember(WTPrincipal principal)
Adds a member to the group. |
QueryResult |
findLinks(Class targetLinkClass,
String obj1Role,
Persistable obj2)
Return all link objects that exist between the Federated object and the specified source object. |
FederatedService |
getService()
Return the service object referenced by the serviceId attribute. |
ServiceIdentifier |
getServiceId()
Gets the object for the association that plays role: SERVICE_ID. |
boolean |
isMember(WTPrincipal principal)
Supported API: true |
Enumeration |
members()
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. |
boolean |
removeMember(WTPrincipal principal)
Removes a member from the group. |
void |
setServiceId(ServiceIdentifier a_ServiceId)
Sets the object for the association that plays role: SERVICE_ID. |
void |
update()
Update the derived attributes of the object on the source service. |
| Methods inherited from class wt.org.WTGroup |
|---|
addMembers, getBusinessType, initialize, initialize, newWTGroup, newWTGroup, newWTGroup, parentGroups |
| Methods inherited from class wt.org.WTPrincipal |
|---|
getPrincipalDisplayIdentifier |
| 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 boolean isMember(WTPrincipal principal)
throws WTException
isMember in class WTGroupprincipal -
WTException
public Enumeration members()
throws WTException
members in class WTGroupWTException
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
public boolean addMember(WTPrincipal principal)
throws WTException
addMember in class WTGroupprincipal -
WTException
public boolean removeMember(WTPrincipal principal)
throws WTException
removeMember in class WTGroupprincipal -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||