|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ownership.OwnershipServiceFwd
The OwnershipService provides access to the server functionality of handling
object ownership. The methods provide a means assign, change and clear
the ownership of an Ownable object. The operations are performed if
permission is granted via access control. Also, the object is updated
in the database via these methods. Access to these methods is done via
the OwnershipHelper class and it's static variable service
.
Supported API: false
Extendable: false
OwnershipHelper
,
Ownable
,
Serialized FormField 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 | |
OwnershipServiceFwd()
|
Method Summary | |
Ownable |
assignOwnership(Ownable obj,
WTPrincipal principal)
Assign the ownership of an object to a specific principal (user or group). |
WTCollection |
assignOwnership(WTCollection objs,
WTPrincipal principal)
Assign the ownership of objects to a specific principal (user or group). |
private static Manager |
getManager()
|
Ownable |
releaseOwnership(Ownable obj)
Release the ownership of an Ownable object. |
WTCollection |
releaseOwnership(WTCollection objs)
Release the ownership of Ownable objects. |
Ownable |
takeOwnership(Ownable obj)
Take over the ownership of an Ownable object. |
WTCollection |
takeOwnership(WTCollection objs)
Take over the ownership of Ownable objects. |
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 OwnershipServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public Ownable assignOwnership(Ownable obj, WTPrincipal principal) throws WTException
assignOwnership
in interface OwnershipService
obj
- principal
-
WTException
OwnershipHelper
public Ownable takeOwnership(Ownable obj) throws WTException
takeOwnership
in interface OwnershipService
obj
-
WTException
OwnershipHelper
,
SessionMgr
public Ownable releaseOwnership(Ownable obj) throws WTException
releaseOwnership
in interface OwnershipService
obj
-
WTException
OwnershipHelper
public WTCollection assignOwnership(WTCollection objs, WTPrincipal principal) throws WTException
assignOwnership
in interface OwnershipService
objs
- principal
-
WTException
OwnershipHelper
public WTCollection takeOwnership(WTCollection objs) throws WTException
takeOwnership
in interface OwnershipService
objs
-
WTException
OwnershipHelper
,
SessionMgr
public WTCollection releaseOwnership(WTCollection objs) throws WTException
releaseOwnership
in interface OwnershipService
objs
-
WTException
OwnershipHelper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |