|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.accesscontrol.admin.AbstractAccessControlEditor
org.torweg.pulse.component.core.accesscontrol.admin.GroupEditor
public class GroupEditor
the editor for a Group of the access-control. This editor is shown as
a tab of the CENTER-panel pulse-web-site-administration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
GroupEditor()
|
|
| Method Summary | |
|---|---|
void |
createGroup(Bundle bundle, ServiceRequest request)
creates a new Group within the access-control of the
pulse-web-site-administration. |
void |
deleteGroup(Bundle bundle, ServiceRequest request)
removes a Group from the access-control of the pulse
-web-site-administration. |
void |
init(ConfigBean c)
initializes the GroupEditor. |
AccessControlEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
Initializes the editor for a Group within the pulse
-web-site-administration. |
AccessControlEditorResult |
initOverview(Bundle bundle, ServiceRequest request)
initializes the Group-overview-grid within the pulse
-web-site-administration. |
java.lang.Object |
loadGrid(Bundle bundle, ServiceRequest request)
loads the data for the Group-overview-grid within the
pulse-web-site-administration. |
java.lang.Object |
loadPermissions(Bundle bundle, ServiceRequest request)
loads the Permissions of a Group specified by
request-parameter "id" for the permission-assorter of the group-editor
within the pulse-web-site-administration. |
java.lang.Object |
loadRoles(Bundle bundle, ServiceRequest request)
loads the Roles of a Group specified by request-parameter
"id" for the role-assorter of the group-editor within the pulse
-web-site-administration. |
java.lang.Object |
loadUsers(Bundle bundle, ServiceRequest request)
loads the Users of a Group specified by request-parameter
"id" for the user-assorter of the group-editor within the pulse
-web-site-administration. |
void |
saveGroup(Bundle bundle, ServiceRequest request)
saves value changes for a Group of the access-control of the
pulse-web-site-administration. |
| Methods inherited from class org.torweg.pulse.component.core.accesscontrol.admin.AbstractAccessControlEditor |
|---|
buildCriterionFromRequest, buildIdCriterionFromRequest, buildLoadAssorterCriteria, buildLoadAssorterCriteria, getReqParamIgnoreEmptyValue, getReqParamOrNullIfValueEmpty, loadAssorterData, loadAssorterData, processCriteriaForPaging, retrieveAssorterObjects |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupEditor()
| Method Detail |
|---|
@RequireToken
@Action(value="usergroupOverviewInit", generate=true)
@Permission(value="usergroupOverviewInit")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final AccessControlEditorResult initOverview(Bundle bundle, ServiceRequest request)
Group-overview-grid within the pulse
-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
Result for the GroupEditor
@RequireToken
@Action(value="loadUsergroupOverviewGrid", generate=true)
@Permission(value="loadUsergroupOverviewGrid")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final java.lang.Object loadGrid(Bundle bundle, ServiceRequest request)
Group-overview-grid within the
pulse-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="createUsergroupEditor", generate=true)
@Permission(value="createUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final void createGroup(Bundle bundle, ServiceRequest request)
Group within the access-control of the
pulse-web-site-administration.
possible errors:
Sends a JSON-response with the id and FQ-class-name of the new group on
success, JSONObject error otherwise.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="deleteUsergroupEditor", generate=true)
@Permission(value="deleteUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final void deleteGroup(Bundle bundle, ServiceRequest request)
Group from the access-control of the pulse
-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="initUsergroupEditor", generate=true)
@Permission(value="initUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final AccessControlEditorResult initEditor(Bundle bundle, ServiceRequest request)
Group within the pulse
-web-site-administration.
bundle - the current Bundlerequest - the current ServiceRequest
Result for the GroupEditor
@RequireToken
@Action(value="saveUsergroupEditor", generate=true)
@Permission(value="saveUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final void saveGroup(Bundle bundle, ServiceRequest request)
Group of the access-control of the
pulse-web-site-administration.
possible errors:
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadUsersUsergroupEditor", generate=true)
@Permission(value="loadUsersUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final java.lang.Object loadUsers(Bundle bundle, ServiceRequest request)
Users of a Group specified by request-parameter
"id" for the user-assorter of the group-editor within the pulse
-web-site-administration.
Use: load the associated and the un-associated users of the group according to given request-parameter "unasoc" (default false).
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadRolesUsergroupEditor", generate=true)
@Permission(value="loadRolesUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final java.lang.Object loadRoles(Bundle bundle, ServiceRequest request)
Roles of a Group specified by request-parameter
"id" for the role-assorter of the group-editor within the pulse
-web-site-administration.
Use: load the associated and the un-associated roles of the group according to given request-parameter "unasoc" (default false).
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken
@Action(value="loadPermissionsUsergroupEditor", generate=true)
@Permission(value="loadPermissionsUsergroupEditor")
@Groups(values={"AccessControl:Administrator","AccessControl:GroupEditor"})
public final java.lang.Object loadPermissions(Bundle bundle, ServiceRequest request)
Permissions of a Group specified by
request-parameter "id" for the permission-assorter of the group-editor
within the pulse-web-site-administration.
Use: load the associated and the un-associated permissions of the group according to given request-parameter "unasoc" (default false).
bundle - the current Bundlerequest - the current ServiceRequest
public final void init(ConfigBean c)
GroupEditor.
init in interface DeprecatedConfigurablec - the ConfigBean of this Controller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||