public interface CheckUserInMemberGroupCmd extends TaskCommand, Evaluator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
static java.lang.String |
defaultCommandClassName
The name of the default implementation of this interface.
|
static java.lang.String |
Name
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateMarketingPopulates()
This method evaluates the "marketingPopulates" condition.
|
boolean |
getResult()
Returns true if the current user belongs to the specified
member group.
|
void |
setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
Sets the member group access bean.
|
void |
setMemberGroupCondition(Condition condition)
Sets the condition object.
|
void |
setMemberGroupExplicitMembersFromCache(boolean memberGroupExplicitMembersFromCache)
Sets the flag that indicates whether the explicit members of the member group should be retrieved
from the
SegmentCache object or not. |
void |
setMemberGroupName(java.lang.String memberGroupName)
Sets the member group name.
|
void |
setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
Sets the owner of the member group.
|
void |
setUser(UserAccessBean user)
Sets the user that you want to test.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String Name
static final java.lang.String defaultCommandClassName
void setUser(UserAccessBean user)
user
- The user access bean.void setMemberGroupName(java.lang.String memberGroupName)
memberGroupName
- The name of the member group.void setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
memberGroupOwnerId
- The member id of the owner of the member group.void setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
memberGroupAccessBean
- The member group access bean.void setMemberGroupCondition(Condition condition)
memberGroupCondition
- The condition used for implicit membership.void setMemberGroupExplicitMembersFromCache(boolean memberGroupExplicitMembersFromCache)
SegmentCache
object or not. Default value of this flag is false.
It is not recommended to cache the members of the member group
in the in-memory segment cache. This has been replaced with
a cache entry for the command MemberGroupsCacheCmdImpl
to cache
the member groups per member in dynacache.memberGroupExplicitMembersFromCache
- True if explicit members should be retrieved from the SegmentCache
object; false otherwise.boolean getResult()
true
if the current user belongs to the member group.boolean evaluateMarketingPopulates()
true
if the condition evaluates to true.