com.softwareag.centrasite.api.csom.action
Interface ConsumeAction

All Superinterfaces:
CSOAction

public interface ConsumeAction
extends CSOAction

The ConsumerAction facilitates to consume the assets with CentraSiteObject.
This interface includes a specified set of users, groups and/or consumer applications as consumers for the specified assets.


Method Summary
 CSOSearchResult getAllUsersAndGroups()
           
 CSOSearchResult getConsumerApplications()
           
 void setSelectedConsumerApplications(java.util.Collection<CentraSiteObject> consumerApplications)
           
 void setSelectedUsersAndGroups(java.util.Collection<CentraSiteObject> usersAndGroups)
           
 
Methods inherited from interface com.softwareag.centrasite.api.csom.action.CSOAction
cancel, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
 

Method Detail

getConsumerApplications

CSOSearchResult getConsumerApplications()
                                        throws CLLException
Returns:
the search result containing a list of consumer applications over which the session user has at least view privilege.
Throws:
CLLException

getAllUsersAndGroups

CSOSearchResult getAllUsersAndGroups()
                                     throws CLLException
Returns:
the search result containing a list of users and groups over which the session user has at least view privilege.
Throws:
CLLException

setSelectedConsumerApplications

void setSelectedConsumerApplications(java.util.Collection<CentraSiteObject> consumerApplications)
                                     throws CLLException
Parameters:
consumerApplications - the list of consumer applications to consume the assets.
Throws:
CLLException

setSelectedUsersAndGroups

void setSelectedUsersAndGroups(java.util.Collection<CentraSiteObject> usersAndGroups)
                               throws CLLException
Parameters:
usersAndGroups - the list of users and groups to consume the assets.
Throws:
CLLException