Interface CountUsersInMemberGroupCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CountUsersInMemberGroupCmd
    extends TaskCommand
    This interface must be implemented to provide a task command that counts the number of users that belong to a specified member group. Different implementations of this interface can be provided for different stores.
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation of this interface.
        See Also:
        Constant Field Values
    • Method Detail

      • setMemberGroupName

        void setMemberGroupName(java.lang.String memberGroupName)
        Sets the member group name. This parameter is required unless the member group access bean parameter is set.
        memberGroupName - The name of the member group.
      • setMemberGroupOwnerId

        void setMemberGroupOwnerId(java.lang.Long memberGroupOwnerId)
        Sets the owner of the member group. If this parameter is not specified then owner of the current store will be used.
        memberGroupOwnerId - The member id of the owner of the member group.
      • setMemberGroupAccessBean

        void setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
        Sets the member group access bean. This parameter is required unless the member group name is specified. If you specify this parameter, then the conditions used to evaluate the implicit inclusion of users in a member group will be taken from the access bean.
        memberGroupAccessBean - The member group access bean.
      • getCount

        long getCount()
        Returns the number of users that belong to the specified member group. You must execute this task command before accessing this value.
        The number of users in the member group.