|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.collaboration.CollaborationServiceFwd
A utility service that holds methods to manipulate Collaborationcontainer
and CollaborationTemplate
objects.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
CollaborationServiceFwd()
|
Method Summary | |
private static Manager |
getManager()
|
boolean |
isSubscribed(CollaborationContainer container,
String event_key)
returns true if current user is subscribed to the given event of the container, false otherwise. |
boolean |
isSubscribed(ObjectIdentifier oid,
String event_key)
returns true if current user is subscribed to the given event of the container, false otherwise. |
boolean |
isValidTemplate(CollaborationTemplate template)
Supported API: false |
CollaborationContainer |
populateContainer(CollaborationContainer container,
CollaborationTemplate template)
Supported API: false |
CollaborationTemplate |
saveTemplate(CollaborationTemplate template)
Validates the template and updates it if already persisted else inserts it into the database. |
void |
subscribe(CollaborationContainer container)
Subscribes the current user to the given CollaborationContainer. |
void |
subscribe(CollaborationContainer container,
Vector userVec)
Subscribes the list of users to the given CollaborationContainer. |
void |
unsubscribe(CollaborationContainer container,
String event_key)
Unsubscribes the current user from the given CollaborationContainer. |
void |
unsubscribe(CollaborationContainer container,
Vector userVec,
String event_key)
Unsubscribes the list of users from the given CollaborationContainer. |
void |
unsubscribe(CollaborationContainer container,
WTPrincipalReference user,
String event_key)
Unsubscribes the list of users from the given CollaborationContainer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public CollaborationServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public void subscribe(CollaborationContainer container) throws WTException
subscribe
in interface CollaborationService
container
-
WTException
public void unsubscribe(CollaborationContainer container, String event_key) throws WTException
unsubscribe
in interface CollaborationService
container
- The CollaborationContainer being unsubscribed from.event_key
- The event being unsubscribed from.
WTException
public void subscribe(CollaborationContainer container, Vector userVec) throws WTException
subscribe
in interface CollaborationService
container
- userVec
-
WTException
public void unsubscribe(CollaborationContainer container, WTPrincipalReference user, String event_key) throws WTException
unsubscribe
in interface CollaborationService
container
- The CollaborationContainer being unsubscribed from.user
- The user being unsubscribed.event_key
- The event being unsubscribed from.
WTException
public void unsubscribe(CollaborationContainer container, Vector userVec, String event_key) throws WTException
unsubscribe
in interface CollaborationService
container
- The CollaborationContainer being unsubscribed from.userVec
- A Vector of WTPrincipal objects.event_key
- The event being unsubscribed from.
WTException
public CollaborationContainer populateContainer(CollaborationContainer container, CollaborationTemplate template) throws WTException
populateContainer
in interface CollaborationService
container
- template
-
WTException
public boolean isValidTemplate(CollaborationTemplate template) throws WTException
isValidTemplate
in interface CollaborationService
template
-
WTException
public boolean isSubscribed(CollaborationContainer container, String event_key) throws WTException
isSubscribed
in interface CollaborationService
container
- event_key
-
WTException
public CollaborationTemplate saveTemplate(CollaborationTemplate template) throws WTException
saveTemplate
in interface CollaborationService
template
-
WTException
public boolean isSubscribed(ObjectIdentifier oid, String event_key) throws WTException
isSubscribed
in interface CollaborationService
oid
- event_key
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |