|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented to provide a task command that checks to see if the current user belongs to a specified member group. Different implementations of this interface can be provided for different stores.
Field Summary | |
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. |
Method Summary | |
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 memberGroupCondition)
Sets the condition object. |
void |
setMemberGroupName(java.lang.String memberGroupName)
Sets the member group name. |
void |
setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
Sets the owner of the member group. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.condition.Evaluator |
evaluate, evaluate |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String Name
Method Detail |
public boolean getResult()
true
if the current user belongs to the member group.public void setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
memberGroupAccessBean
- The member group access bean.public void setMemberGroupCondition(Condition memberGroupCondition)
memberGroupCondition
- The condition used for implicit membership.public void setMemberGroupName(java.lang.String memberGroupName)
memberGroupName
- The name of the member group.public void setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
memberGroupOwnerId
- The member id of the owner of the member group.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |