wt.clients.workflow.tasks
Class AugmentWfProcessHelper
java.lang.Object
wt.clients.workflow.tasks.AugmentWfProcessHelper
- class AugmentWfProcessHelper
- extends Object
AugmentWfProcessHelper
contains static methods for interacting
with the server.
- See Also:
wt.workflow.work
package
Method Summary |
(package private) static Enumeration |
getRoles(Team team,
TeamManaged parentObject)
getRoles returns an enumeration
of roles that the user can update |
(package private) static Team |
getTeam(String oid)
getTeam returns the Team
represented by the oid. |
(package private) static Team |
saveTeam(Team team)
saveTeam persists the Team |
(package private) static TeamManaged |
setParentObject(String oid)
setParentObject If the oid specifies a TeamManaged object, this returns
that specified object, otherwise it returns null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AugmentWfProcessHelper
AugmentWfProcessHelper()
getTeam
static Team getTeam(String oid)
throws Exception
getTeam
returns the Team
represented by the oid. If a WfProcess is specified, the WfProcess' Team is returned,
if the oid represents a lifecycle managed object, the associated team object
is returned
- Throws:
Exception
setParentObject
static TeamManaged setParentObject(String oid)
throws Exception
setParentObject
If the oid specifies a TeamManaged object, this returns
that specified object, otherwise it returns null. This is necessary to make the team managed
object available for determining which roles are updatable and for persisting the team object.
- Throws:
Exception
getRoles
static Enumeration getRoles(Team team,
TeamManaged parentObject)
throws Exception
getRoles
returns an enumeration
of roles that the user can update
- Throws:
Exception
saveTeam
static Team saveTeam(Team team)
throws Exception
saveTeam
persists the Team
- Throws:
Exception