wt.ownership
Interface OwnershipServiceSvr

All Known Implementing Classes:
StandardOwnershipService

public interface OwnershipServiceSvr



Supported API: false

Extendable: false


Method Summary
 void changeOwner(Ownable obj, WTPrincipal principal, boolean commit_change)
          Replace the Owner of an object.
 void changeOwnership(WTCollection objs, WTPrincipal principal, boolean commit_change)
          Replace the Owner of the specified objects.
 void replaceOwnership(Ownable from, Ownable to, boolean commit_change)
          Give one Ownable object the same ownership as another.
 

Method Detail

replaceOwnership

public void replaceOwnership(Ownable from,
                             Ownable to,
                             boolean commit_change)
                      throws WTException,
                             OwnershipException
Give one Ownable object the same ownership as another. Optionally this can commit the change to the database. This method provides low level access to the database and bypasses access control operations.

Supported API: false

Parameters:
from -
to -
commit_change -
Throws:
WTException
OwnershipException

changeOwner

public void changeOwner(Ownable obj,
                        WTPrincipal principal,
                        boolean commit_change)
                 throws WTException,
                        OwnershipException
Replace the Owner of an object. Optionally this will commit the change to the database. This method provides low level access to the database and bypasses access control operations.

Supported API: false

Parameters:
obj -
principal -
commit_change -
Throws:
WTException
OwnershipException

changeOwnership

public void changeOwnership(WTCollection objs,
                            WTPrincipal principal,
                            boolean commit_change)
                     throws WTException,
                            OwnershipException
Replace the Owner of the specified objects. Optionally this will commit the change to the database. This method provides low level access to the database and bypasses access control operations.

Supported API: false

Parameters:
objs -
principal -
commit_change -
Throws:
WTException
OwnershipException