Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G I K L N P R S T U V W

A

accepts(User) - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Checks whether a User is accepted by this PermissionRule.
accepts(User) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Checks whether a User is accepted by this PermissionRule.
accepts(User) - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Checks whether a User is accepted by this PermissionRule.
addGroup(UserGroup) - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Add a group to the list for the permission rule.

B

beanId - Variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
The id of the EntityBean this PermissibleExtension is for.

C

COMMA - Static variable in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
 
canEdit(User) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Can a user "edit" this Bean.
canEdit(User) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Can a user "edit" this Bean.
canPerformAction(String, User) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Can a given User perform a given action on that Bean?
canPerformAction(String, User) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Can a given User perform a given action on that Bean?
canView(User) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Can a user "view" this Bean.
canView(User) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Can a user "view" this Bean.
clearFromExtIdCache(int) - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
To notice the cache of stale data.
clearGroups() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
 
com.RuntimeCollective.permission.bean - package com.RuntimeCollective.permission.bean
The Permission module provides support for much more flexible Permission logic than webapps.bean.PermissionBean.
computeGroupCombination(List) - Static method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
This is static, also used by UserGroupPermissionRuleFactory.
containsGroup(UserGroup) - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
 

D

DATABASE_PRULEMAP_TABLE - Static variable in class com.RuntimeCollective.permission.bean.SimplePermissible
 
DATABASE_TABLE - Static variable in interface com.RuntimeCollective.permission.bean.Permissible
The name of the database table for this bean type.
DATABASE_TABLE - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
DATABASE_TABLE - Static variable in interface com.RuntimeCollective.permission.bean.PermissionRule
The name of the database table for this bean type.
DATABASE_TABLE - Static variable in class com.RuntimeCollective.permission.bean.SimplePermissible
The name of the database table for this bean type.
DATABASE_TABLE - Static variable in class com.RuntimeCollective.permission.bean.SimplePermissionRule
The name of the database table for this bean type.
DELETE_FROM - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
delete() - Method in interface com.RuntimeCollective.permission.bean.Permissible
Delete this bean from the database.
delete() - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Delete this bean from the database.
delete() - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Delete this bean from the database.
delete() - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Delete this bean from the database.
delete() - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Delete this bean from the database.
delete() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Delete this bean from the database.

E

EDIT_ACTION - Static variable in interface com.RuntimeCollective.permission.bean.Permissible
The action for object editing.
EMPTY_STRING - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
ESC - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
extIdCache - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
Cache of beanId-id mappings, used only if not clustered.

F

FIELD_BEAN_ID - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 

G

GROUP_RULE_MAP - Static variable in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
The database table that maps user groups to permission rules.
getActionPermissionRule(String) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Get the PermissionRule for a given action on this Bean.
getActionPermissionRule(String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Get the PermissionRule for a given action on this Bean.
getActions() - Method in interface com.RuntimeCollective.permission.bean.Permissible
Get an Iterator of the actions constrained until now.
getActions() - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Get an Iterator of the actions constrained until now.
getAuthorisationPath(HttpSession, String) - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Deprecated. This method was modified not to refer to Client Tier classes (HttpSession). Use instead: getAuthorisationPath((User) session.getAttribute(RuntimeParameters.get("logonUserKey")), (Session) session.getAttribute(Session.SESSION_KEY), new HttpSessionReturnPathContainer(session), returnPath)
getAuthorisationPath(User, Session, ReturnPathContainer, String) - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Get the path of the page where a User should be sent in order to (maybe) get authorised.
getAuthorisationPath(User) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the path of the page where the user should be sent in order to (maybe) get authorised.
getAuthorisationPath(HttpSession, String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Deprecated. This method was modified not to refer to Client Tier classes (HttpSession). Use instead: getAuthorisationPath((User) session.getAttribute(RuntimeParameters.get("logonUserKey")), (Session) session.getAttribute(Session.SESSION_KEY), new HttpSessionReturnPathContainer(session), returnPath)
getAuthorisationPath(User, Session, ReturnPathContainer, String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the path of the page where a User should be sent in order to (maybe) get authorised.
getAuthorisationPath(User, Session, ReturnPathContainer, String) - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Like the parent, excepts if the user is rejected, and not logged in, and the ReturnPathContainer is an HttpSessionReturnPathContainer, then we set the list of groups which could have been cleared on the session, so that the resulting JSP can display eg "You should be a XXX or XXX".
getAuthorisationPathForAction(String, HttpSession, String) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Deprecated. This method was modified not to refer to Client Tier classes (HttpSession). Use instead: getAuthorisationPathForAction(action, (User) session.getAttribute(RuntimeParameters.get("logonUserKey")), (Session) session.getAttribute(Session.SESSION_KEY), new HttpSessionReturnPathContainer(session), returnPath)
getAuthorisationPathForAction(String, User, Session, ReturnPathContainer, String) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Get the path of the page where a User should be sent in order to (maybe) get authorised for an action.
getAuthorisationPathForAction(String, HttpSession, String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Deprecated. This method was modified not to refer to Client Tier classes (HttpSession). Use instead: getAuthorisationPathForAction(action, (User) session.getAttribute(RuntimeParameters.get("logonUserKey")), (Session) session.getAttribute(Session.SESSION_KEY), new HttpSessionReturnPathContainer(session), returnPath)
getAuthorisationPathForAction(String, User, Session, ReturnPathContainer, String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Get the path of the page where a User should be sent in order to (maybe) get authorised for an action.
getEntityBean() - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Gets the bean.
getFor(EntityBean) - Static method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Gets the PermissibleExtension for a particular bean, if one exists.
getGroupCombination() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
This returns a String such as "123,523,1652", which contains the ids of all the groups, separated by commas, and sorted in ascending order.
getGroupCount() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
 
getGroupList() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Get a list of all groups.
getGroups() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Get an iterator of the groups for this rule.
getId() - Method in interface com.RuntimeCollective.permission.bean.Permissible
Get the unique id of this bean instance.
getId() - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Get the unique id of this bean instance.
getId() - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Get the unique id of this bean instance.
getId() - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the unique id of this bean instance.
getKey() - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Get the key, which will be an identifier of what kind of PermissionRule this one is.
getKey() - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the key, which will be an identifier of what kind of PermissionRule this one is.
getNeedLogin() - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get whether the User has to be logged in
getOrCreateFor(EntityBean) - Static method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Gets or creates the PermissibleExtension for a particular bean.
getPathToLogon() - Static method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the path to the logon page.
getPathToRelogon() - Static method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get the path to the logon-again page.
getPermissionRulesForUserGroup(UserGroup) - Static method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Gets an iterator of the permission rules associated with a particular user group.
getPermissionRulesForUserGroupAsList(UserGroup) - Static method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Gets a list of the permission rules associated with a particular user group.
groupCount - Variable in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Keeps track of the number of groups in the rule

I

iGroups - Variable in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
The user groups that this rule uses.
id - Variable in class com.RuntimeCollective.permission.bean.SimplePermissible
This object's id
id - Variable in class com.RuntimeCollective.permission.bean.SimplePermissionRule
This object's id

K

Key - Variable in class com.RuntimeCollective.permission.bean.SimplePermissionRule
The Key identifier

L

loadRules(int) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Load the rule mappings data

N

NeedLogin - Variable in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Whether the User has to be logged in

P

Permissible - interface com.RuntimeCollective.permission.bean.Permissible.
Interface to implement if you want the access to your object to be constrained by PermissionRules.
PermissibleExtension - class com.RuntimeCollective.permission.bean.PermissibleExtension.
An extension which can be used to stick the Permissible behaviour to any bean.
PermissibleExtension() - Constructor for class com.RuntimeCollective.permission.bean.PermissibleExtension
Constructs a new blank bean with a unique id.
PermissibleExtension(int) - Constructor for class com.RuntimeCollective.permission.bean.PermissibleExtension
Gets a bean from the RuntimeDataSource, given an id.
PermissionRule - interface com.RuntimeCollective.permission.bean.PermissionRule.
Interface that defines a permission ruls, which determines whether a user has access to some part of the system.
PermissionRuleIds - Variable in class com.RuntimeCollective.permission.bean.SimplePermissible
The PermissionRules for each action

R

removeActionPermissionRule(String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Remove any PermissionRules for a given action on this Bean.
removeGroup(UserGroup) - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Remove group from the list for this permission rule.

S

SELECT_DATA - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
SELECT_ID - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
SPACE - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
SimplePermissible - class com.RuntimeCollective.permission.bean.SimplePermissible.
A simple implementation of Permissible.
SimplePermissible() - Constructor for class com.RuntimeCollective.permission.bean.SimplePermissible
Construct a new blank SimplePermissible, giving it a new unique ID.
SimplePermissible(int) - Constructor for class com.RuntimeCollective.permission.bean.SimplePermissible
Get a current SimplePermissible from the RuntimeDataSource, given an id.
SimplePermissionRule - class com.RuntimeCollective.permission.bean.SimplePermissionRule.
A very simple implementation of PermissionRule.
SimplePermissionRule() - Constructor for class com.RuntimeCollective.permission.bean.SimplePermissionRule
Construct a new blank SimplePermissionRule, giving it a new unique ID.
SimplePermissionRule(int) - Constructor for class com.RuntimeCollective.permission.bean.SimplePermissionRule
Get a current SimplePermissionRule from the RuntimeDataSource, given an id.
save() - Method in interface com.RuntimeCollective.permission.bean.Permissible
Save this bean to the database.
save() - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Save this bean in the database.
save() - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Save this bean to the database.
save() - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Save this bean to the database.
save() - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Save this bean to the database.
save() - Method in class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Save this bean to the database.
saveRules() - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Save the Rule mappings
setActionPermissionRule(String, PermissionRule) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Set the PermissionRule for a given action on this Bean.
setActionPermissionRule(String, PermissionRule) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Set the PermissionRule for a given action on this Bean.
setEntityBean(EntityBean) - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
Sets the bean.
setId(int) - Method in interface com.RuntimeCollective.permission.bean.Permissible
Set the unique id of this bean instance.
setId(int) - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Set the unique id of this bean instance.
setId(int) - Method in class com.RuntimeCollective.permission.bean.SimplePermissible
Set the unique id of this bean instance.
setId(int) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Set the unique id of this bean instance.
setKey(String) - Method in interface com.RuntimeCollective.permission.bean.PermissionRule
Set the key, which will be an identifier of what kind of PermissionRule this one is.
setKey(String) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Set the key, which will be an identifier of what kind of PermissionRule this one is.
setNeedLogin(boolean) - Method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Set whether the User has to be logged in
setReturnUrl(HttpSession, String) - Static method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Deprecated. This method was modified not to refer to Client Tier classes (HttpSession). Use instead: setReturnUrl((ReturnPathContainer) new HttpSessionReturnPathContainer(session), returnPath)
setReturnUrl(ReturnPathContainer, String) - Static method in class com.RuntimeCollective.permission.bean.SimplePermissionRule
Set the return url in the session.

T

toString() - Method in class com.RuntimeCollective.permission.bean.PermissibleExtension
 

U

UserGroupPermissionRule - class com.RuntimeCollective.permission.bean.UserGroupPermissionRule.
A permission rule whose behaviour depends on whether the user is a member of a group
UserGroupPermissionRule() - Constructor for class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Default constructor generates a new blank bean with a new unique ID.
UserGroupPermissionRule(int) - Constructor for class com.RuntimeCollective.permission.bean.UserGroupPermissionRule
Generate a bean from the database for the given primary key.

V

VIEW_ACTION - Static variable in interface com.RuntimeCollective.permission.bean.Permissible
The action for object viewing.

W

WHERE_BEAN_ID - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 
WHERE_ID - Static variable in class com.RuntimeCollective.permission.bean.PermissibleExtension
 

A B C D E F G I K L N P R S T U V W