WfResource
object}, return the collection of resources this resource is authorized for.The resource assignment service usually uses its underlying resource management facility to implement this method, returning all groups the resource is a member of and all roles assigned to the resource. Resource assigments facilities may, however, modify this information e.g. according to configured delegation rules.
If the resource assignment service is based on a resource management service as defined in package {@link de.danet.an.workflow.spis.rms de.danet.an.workflow.spis.rms
}, it can simply delegate this call to {@link de.danet.an.workflow.spis.rms.ResourceManagementService#authorizers ResourceManagementService.authorizers
}. The workflow engine does not need this method for its operation; however, it provides a method for accessing this information as part of the client interface to ease the implementation of clients. The implementation of this method by a resource assignment service is therefore optional. If not implemented, a call to this method must result in a {@link java.lang.UnsupportedOperationException UnsupportedOperationException
}.
@param resource the resource.
@return a collection of WfResource
objects, notincluding resource
@throws RemoteException if a system-level error occurs.
@since 1.2
|
|