|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.selection.SelectionUsersGroups
public class SelectionUsersGroups
Field Summary | |
---|---|
static int |
GROUP
|
static int |
USER
|
Constructor Summary | |
---|---|
SelectionUsersGroups()
|
Method Summary | |
---|---|
void |
addProfileId(String profileId)
Deprecated. Use instead either both the setObjectId() and setProfileNames() methods to set the roles for a given object in the component instance or the setProfileNames() method to set the roles for the whole component instance. |
void |
addProfileIds(List<String> profileIds)
Deprecated. Use instead either both the setObjectId() and setProfileNames() methods to set the roles for a given object in the component instance or the setProfileNames() method to set the roles for the whole component instance. |
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. |
String |
getParameter(String name)
|
String[] |
getProfileIds()
Deprecated. |
List<String> |
getProfileNames()
|
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 |
setProfileIds(List<String> profileIds)
Deprecated. Use instead either both the setObjectId() and setProfileNames() methods to set the roles for a given object in the component instance or the setProfileNames() method to set the roles for the whole component instance. |
void |
setProfileNames(List<String> profileNames)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int USER
public static final int GROUP
Constructor Detail |
---|
public SelectionUsersGroups()
Method Detail |
---|
@Deprecated public String[] getProfileIds()
public String getJoinedProfileNames()
public List<String> getProfileNames()
public void setProfileNames(List<String> profileNames)
@Deprecated public void setProfileIds(List<String> profileIds)
profileIds
- the unique identifier of the user roles.@Deprecated public void addProfileId(String profileId)
profileId
- the unique identifier of a user role.@Deprecated public void addProfileIds(List<String> profileIds)
profileIds
- the user role identifiers.public String getObjectId()
public void setObjectId(String objectId)
objectId
- the unique identifier of the object in Silverpeas. It must be made up of its
type followed by its identifier.public String getComponentId()
public void setComponentId(String componentId)
public String getDomainId()
public void setDomainId(String domainId)
public String getParameter(String name)
getParameter
in interface SelectionExtraParams
public static String[] getDistinctUserIds(String[] selectedUsers, String[] selectedGroups)
public static UserDetail[] getUserDetails(String[] userIds)
public static Group[] getGroups(String[] groupIds)
public static String[] getUserIds(UserDetail[] users)
public static String[] getGroupIds(Group[] groups)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |