public interface OrganizationSetInSessionCmd extends ControllerCommand
This command is used to switch the current active organization. The active organization enables a user to be entitled to contracts that belong to their parent organization or where they play an Organization participant role. The organization that the switch is being made to must not be locked.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVE_ORG_ID
This constant defines the OrganizationID parameter of the command.
|
static java.lang.String |
COPYRIGHT
Copyright field.
|
static java.lang.String |
defaultCommandClassName
Default command implementation class.
|
static java.lang.String |
ERRTASK_NAME
The error view that would be forwarded to on errors.
|
static java.lang.String |
NAME
Command name.
|
static java.lang.String |
ROLE_ORGANIZATION_PARTICIPANT
The Organization Participant internal role name.
|
static java.lang.String |
VIEW_NAME
The view that would be forwarded to on successful execution, if a URL is not defined.
|
Modifier and Type | Method and Description |
---|---|
void |
setActiveOrganizationId(java.lang.Long nOrganizationId)
The organization to activate in the organization.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ACTIVE_ORG_ID
static final java.lang.String VIEW_NAME
static final java.lang.String ERRTASK_NAME
static final java.lang.String ROLE_ORGANIZATION_PARTICIPANT