Package com.xwiki.macros.userlist.macro
Class UserListMacroParameters
java.lang.Object
com.xwiki.macros.userlist.macro.UserListMacroParameters
Parameters for the
UserListMacro.- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.xwiki.macros.internal.grouplist.GroupReferenceListcom.xwiki.macros.internal.userlist.UserReferenceListgetUsers()booleanvoidsetFixedTableLayout(boolean value) Sets the user list table layout style to "fixed".voidsetGroups(com.xwiki.macros.internal.grouplist.GroupReferenceList groups) Sets a list of users.voidsetProperties(List<String> properties) Sets a list of property names.voidsetUsers(com.xwiki.macros.internal.userlist.UserReferenceList users) Sets a list of users.
-
Constructor Details
-
UserListMacroParameters
public UserListMacroParameters()
-
-
Method Details
-
getUsers
public com.xwiki.macros.internal.userlist.UserReferenceList getUsers()- Returns:
- a list of users
-
setUsers
public void setUsers(com.xwiki.macros.internal.userlist.UserReferenceList users) Sets a list of users.- Parameters:
users- list of user references
-
getGroups
@Unstable public com.xwiki.macros.internal.grouplist.GroupReferenceList getGroups()- Returns:
- a list of groups
- Since:
- 1.6
-
setGroups
@Unstable public void setGroups(com.xwiki.macros.internal.grouplist.GroupReferenceList groups) Sets a list of users.- Parameters:
groups- list of user references- Since:
- 1.6
-
getProperties
- Returns:
- list of properties to be displayed
-
setProperties
Sets a list of property names.- Parameters:
properties- list of user properties
-
setFixedTableLayout
public void setFixedTableLayout(boolean value) Sets the user list table layout style to "fixed".- Parameters:
value- true if the table layout should be fixed
-
isFixedTableLayout
public boolean isFixedTableLayout()- Returns:
- true if the user table should use a fixed layout
-