Class SelectionUsersGroups
- java.lang.Object
-
- org.silverpeas.core.web.selection.SelectionUsersGroups
-
public class SelectionUsersGroups extends Object
-
-
Constructor Summary
Constructors Constructor Description SelectionUsersGroups()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComponentId()
static String[]
getDistinctUserIds(String[] selectedUsers, String[] selectedGroups)
String
getDomainId()
static String[]
getGroupIds(Group[] groups)
static Group[]
getGroups(String[] groupIds)
String
getJoinedProfileNames()
String
getObjectId()
Gets the identifier of the object in the component instance for which the users must have enough right to access.List<String>
getProfileIds()
static UserDetail[]
getUserDetails(String[] userIds)
static String[]
getUserIds(UserDetail[] users)
void
setComponentId(String componentId)
void
setDomainId(String domainId)
void
setObjectId(String objectId)
Sets the object in the component instance for which the users must have enough right to access.void
setProfileNames(List<String> profileNames)
-
-
-
Field Detail
-
USER
public static final int USER
- See Also:
- Constant Field Values
-
GROUP
public static final int GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJoinedProfileNames
public String getJoinedProfileNames()
-
getObjectId
public String getObjectId()
Gets the identifier of the object in the component instance for which the users must have enough right to access.- Returns:
- the unique identifier of the object, made up of its type followed by its identifier.
-
setObjectId
public void setObjectId(String objectId)
Sets the object in the component instance for which the users must have enough right to access.- Parameters:
objectId
- the unique identifier of the object in Silverpeas. It must be made up of its type followed by its identifier.
-
getComponentId
public String getComponentId()
-
setComponentId
public void setComponentId(String componentId)
-
getDomainId
public String getDomainId()
-
setDomainId
public void setDomainId(String domainId)
-
getDistinctUserIds
public static String[] getDistinctUserIds(String[] selectedUsers, String[] selectedGroups)
-
getUserDetails
public static UserDetail[] getUserDetails(String[] userIds)
-
getUserIds
public static String[] getUserIds(UserDetail[] users)
-
-