|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.stratelia.silverpeas.selectionPeas.control.SelectionPeasWrapperSessionController
public class SelectionPeasWrapperSessionController
A simple wrapper to the userpanel.
Field Summary |
---|
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
---|
CHARACTER_ENCODING, context |
Constructor Summary | |
---|---|
SelectionPeasWrapperSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
Standard Session Controller Constructeur |
Method Summary | |
---|---|
String |
getDomainIdFilter()
Gets the identifier of the domain on which the user selection must be filtered. |
String |
getElementId()
Returns the HTML input where the selected user id must be set. |
String |
getElementName()
Returns the HTML input where the selected user name must be set. |
String |
getFormName()
Returns the HTML form name whose user element must be set. |
Group |
getSelectedGroup()
Returns the selected group (if any). |
Group[] |
getSelectedGroups()
Returns the selected groups (if any). |
UserDetail |
getSelectedUser()
Returns the selected user (if any). |
UserDetail[] |
getSelectedUsers()
Returns the selected user (if any). |
void |
getSelectionPeasSelection()
Reads the selection made with the user panel. |
String |
initSelectionPeas(boolean multiple,
String instanceId,
List<String> roles)
Init the user panel. |
boolean |
isGroupSelectable()
|
boolean |
isUserSelectable()
|
void |
setDomainIdFilter(String domainIdFilter)
Sets the identifier of the domain in order to filter user selection on it. |
void |
setElementId(String elementId)
Set the HTML input where the selected user id must be set. |
void |
setElementName(String elementName)
Set the HTML input where the selected user name must be set. |
void |
setFormName(String formName)
Set the HTML form name whose user element must be set. |
void |
setSelectable(int selectable)
|
void |
setSelectable(String selectable)
|
void |
setSelectedGroupId(String selectedId)
|
void |
setSelectedGroupIds(String selectedIds)
|
void |
setSelectedUserId(String selectedUserId)
Set the selected user (if any). |
void |
setSelectedUserIds(String selectedUserIds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionPeasWrapperSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
mainSessionCtrl
- The full work session.componentContext
- The context of this component session.Method Detail |
---|
public String getFormName()
public String getElementId()
public String getElementName()
public UserDetail getSelectedUser()
public UserDetail[] getSelectedUsers()
public Group getSelectedGroup()
public Group[] getSelectedGroups()
public void setFormName(String formName)
public void setElementId(String elementId)
public void setElementName(String elementName)
public void setSelectedUserId(String selectedUserId)
public void setSelectedUserIds(String selectedUserIds)
public String getDomainIdFilter()
public void setDomainIdFilter(String domainIdFilter)
domainIdFilter
- the identifier of domain as string.public String initSelectionPeas(boolean multiple, String instanceId, List<String> roles)
public void getSelectionPeasSelection()
public void setSelectable(int selectable)
public void setSelectable(String selectable)
public boolean isUserSelectable()
public boolean isGroupSelectable()
public void setSelectedGroupId(String selectedId)
public void setSelectedGroupIds(String selectedIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |