|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.spray.loader.task.Action org.norther.tammi.spray.loader.task.Submit org.norther.tammi.spray.template.step.FlowStepAction org.norther.tammi.spray.template.step.NextStepAction org.norther.tammi.spray.template.step.FormStepAction org.norther.tammi.spray.db.step.RepositoryStepAction org.norther.tammi.spray.db.step.SelectionStepAction org.norther.tammi.spray.db.step.ElementStepAction org.norther.tammi.spray.db.step.UserGroupAction
public abstract class UserGroupAction
A flow step action for managing user groups.
Note that an optional locale variant is interpreted as a user specific skin.
Nested Class Summary | |
---|---|
static class |
UserGroupAction.Attach
An attach group action. |
static class |
UserGroupAction.Attached
A select attached group action. |
static class |
UserGroupAction.Delete
A delete group action. |
static class |
UserGroupAction.Detach
A detach group action. |
static class |
UserGroupAction.Found
A select found group action. |
static class |
UserGroupAction.Insert
An insert group action. |
static class |
UserGroupAction.Join
A join group action. |
static class |
UserGroupAction.Joined
A select joined group action. |
static class |
UserGroupAction.Member
A select member group action. |
static class |
UserGroupAction.Move
A move group action. |
static class |
UserGroupAction.Own
A select own group action. |
static class |
UserGroupAction.Quit
A quit group action. |
static class |
UserGroupAction.Search
A search group action. |
static class |
UserGroupAction.Update
An update group action. |
Nested classes/interfaces inherited from interface org.norther.tammi.spray.loader.task.Task |
---|
Task.Control |
Field Summary |
---|
Fields inherited from class org.norther.tammi.spray.db.step.ElementStepAction |
---|
META_IDENTITY_PARAMETER, NEW_METADATA_ATTRIBUTES |
Fields inherited from class org.norther.tammi.spray.loader.task.Submit |
---|
EXECUTE_METHOD, SUBMIT_PREFIX |
Constructor Summary | |
---|---|
UserGroupAction()
Constructs a new flow step action. |
Method Summary | |
---|---|
void |
attachSubgroup(Identity id,
Variable var,
Persister persister,
FilterChain chain)
Attaches the specified subgroup. |
void |
detachSubgroup(Identity id,
Variable var,
Persister persister,
FilterChain chain)
Detaches the specified subgroup. |
protected void |
finishJoinedGroup(List<Variable> vars,
Persister persister,
FilterChain chain)
Finishes the group after joining it. |
protected void |
finishQuittedGroup(List<Variable> vars,
Persister persister,
FilterChain chain)
Finishes the group after quitting it. |
void |
joinUserGroup(Variable var,
Persister persister,
FilterChain chain)
Joins the specified user group. |
Collection<? extends Variable> |
queryGroupVariables(Variable search,
Persister persister,
FilterChain chain,
StepFlowContext context)
Queries for group variables of the specified search. |
void |
quitUserGroup(Variable var,
Persister persister,
FilterChain chain)
Quits the specified user group. |
Methods inherited from class org.norther.tammi.spray.db.step.ElementStepAction |
---|
checkPermission, createPermissionCriteria, createUserPermissionCriteria, getGroupId, getImportedElement, getMetaRecordType, getMetaSelectionVariable, getMetaSelectionVariable, getMetaSelectionVariable, getSelectedFormPrefix, getSelectedIdentity, isGroupMember, isGroupOwner, prepareMetaElement, queryAllMemberGroups, queryChildMemberGroups, queryMetaElement, queryParentMemberGroups |
Methods inherited from class org.norther.tammi.spray.template.step.FormStepAction |
---|
clearParameters, loadPropertyFile, loadUploadedFile, submit, submitCancelStep, submitFinishStep, submitInsertForm, submitNextStep, submitPreviousStep, submitRenewForm, submitResetForm, submitReuseForm, submitUpdateForm, update, update, update, update |
Methods inherited from class org.norther.tammi.spray.template.step.NextStepAction |
---|
isNextStepEnabled, setNextStepEnabled, submitBackStep |
Methods inherited from class org.norther.tammi.spray.template.step.FlowStepAction |
---|
checkPermission, checkPermission, checkPermission, construct, execute, execute, finish, forward, getPermissibleRoles, getSignature, include, initialize, initialize, prepare, submit, submitOpenHelp |
Methods inherited from class org.norther.tammi.spray.loader.task.Submit |
---|
getAction, getAction, invoke |
Methods inherited from class org.norther.tammi.spray.loader.task.Action |
---|
find, find, getFilter, getMBeanServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserGroupAction()
Method Detail |
---|
public void joinUserGroup(Variable var, Persister persister, FilterChain chain) throws Exception
var
- the group variable.persister
- the persister.chain
- the filter chain.
Exception
- on errors.public void quitUserGroup(Variable var, Persister persister, FilterChain chain) throws Exception
var
- the variable.persister
- the persister.chain
- the filter chain.
Exception
- on errors.public void attachSubgroup(Identity id, Variable var, Persister persister, FilterChain chain) throws Exception
id
- the subgroup identity.var
- the group variable.persister
- the persister.chain
- the filter chain.
Exception
- on errors.public void detachSubgroup(Identity id, Variable var, Persister persister, FilterChain chain) throws Exception
id
- the subgroup identity.var
- the group variable.persister
- the persister.chain
- the filter chain.
Exception
- on errors.public Collection<? extends Variable> queryGroupVariables(Variable search, Persister persister, FilterChain chain, StepFlowContext context) throws Exception
search
- the search variable.persister
- the persister.chain
- the filter chain.context
- the flow context.
Exception
- on errors.protected void finishJoinedGroup(List<Variable> vars, Persister persister, FilterChain chain) throws Exception
vars
- the variables.persister
- the persister.chain
- the filter chain.
Exception
- on errors.protected void finishQuittedGroup(List<Variable> vars, Persister persister, FilterChain chain) throws Exception
vars
- the variables.persister
- the persister.chain
- the filter chain.
Exception
- on errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |