|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.bean
Interface PermissionBean

Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- public interface PermissionBean
A javabean implementing this interface can use the checkEdit
and checkView custom tags to check edit and view permissions.
| Method Summary | |
boolean |
canEdit(User user)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
boolean |
canView(User user)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
| Method Detail |
canEdit
public boolean canEdit(User user) throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Returns whether the specified User can edit (ie make changes to) this
PermissionBean. This would typically check if theUserowns thisPermissionBean, and/or is an admin user.Note: When a Bean is newly created, it could have no owner. It is
canEdit's responsibility to decide what to do in this case. - Returns whether the specified User can edit (ie make changes to) this
canView
public boolean canView(User user) throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Returns whether the specified User can view this
PermissionBean. This would typically return true.Note: When a Bean is newly created, it could have no owner. It is
canView's responsibility to decide what to do in this case. - Returns whether the specified User can view this
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC