net.sourceforge.blogentis.modules.actions
Class BlogUserMod
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.util.velocity.VelocityActionEvent
org.apache.turbine.modules.actions.VelocityAction
org.apache.turbine.modules.actions.VelocitySecureAction
net.sourceforge.blogentis.turbine.SecureBlogAction
net.sourceforge.blogentis.modules.actions.BlogUserMod
- public class BlogUserMod
- extends SecureBlogAction
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Method Summary |
void |
doAdd(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
void |
doPerform(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
void |
doRemove(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
void |
doUpdate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
|
protected org.apache.turbine.om.security.Group |
getGroup(org.apache.turbine.util.RunData data)
|
protected java.lang.String[] |
getPermissions()
Get the array of permissions this actions needs. |
protected org.apache.turbine.om.security.Role |
getRole(org.apache.turbine.util.RunData data)
|
protected org.apache.turbine.om.security.Role |
getRole(org.apache.turbine.util.RunData data,
java.lang.String paramName)
|
protected org.apache.turbine.om.security.User |
getUser(org.apache.turbine.util.RunData data)
|
Methods inherited from class org.apache.turbine.modules.actions.VelocitySecureAction |
perform |
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction |
doPerform, getContext, setTemplate |
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent |
executeEvents |
Methods inherited from class org.apache.turbine.modules.ActionEvent |
considerKey, executeEvents, formatString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogUserMod
public BlogUserMod()
getUser
protected org.apache.turbine.om.security.User getUser(org.apache.turbine.util.RunData data)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
getRole
protected org.apache.turbine.om.security.Role getRole(org.apache.turbine.util.RunData data,
java.lang.String paramName)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
getRole
protected org.apache.turbine.om.security.Role getRole(org.apache.turbine.util.RunData data)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
getGroup
protected org.apache.turbine.om.security.Group getGroup(org.apache.turbine.util.RunData data)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
doAdd
public void doAdd(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Throws:
java.lang.Exception
doUpdate
public void doUpdate(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
doRemove
public void doRemove(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
throws org.apache.turbine.util.security.DataBackendException,
org.apache.turbine.util.security.UnknownEntityException
- Throws:
org.apache.turbine.util.security.DataBackendException
org.apache.turbine.util.security.UnknownEntityException
doPerform
public void doPerform(org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPermissions
protected java.lang.String[] getPermissions()
- Description copied from class:
SecureBlogAction
- Get the array of permissions this actions needs. The logged-in user
must have at least one of them to be allowed access to this screen.
- Specified by:
getPermissions
in class SecureBlogAction
- Returns:
- the array of permissions.
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.