This interface must be implemented to provide a task command that lists the member groups to which a user belongs. 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 | |
---|---|
java.lang.Long[] |
getMemberGroupIds() Returns the IDs of the member groups to which the current user belongs. |
java.lang.String[] |
getMemberGroups() Returns the names of the member groups to which the current user belongs. |
void |
setMemberGroupUsageTypeId(java.lang.Integer memberGroupUsageTypeId)
Sets the member group usage type ID. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String Name
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setMemberGroupUsageTypeId(java.lang.Integer memberGroupUsageTypeId)
memberGroupUsageTypeId
- The ID of the desired usage
type.public java.lang.String[] getMemberGroups()
public java.lang.Long[] getMemberGroupIds()