|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
doValidation(String key,
Map parameters)
|
String |
getDisplayName()
|
String |
getType()
|
boolean |
hasPermission(org.ofbiz.core.entity.GenericValue entity,
String argument)
Interface for determining if a permission type has the permission. |
boolean |
hasPermission(org.ofbiz.core.entity.GenericValue entity,
String argument,
User user,
boolean issueCreation)
Interface for determining if a permission type has the permission |
Method Detail |
public String getDisplayName()
public String getType()
public boolean doValidation(String key, Map parameters)
public boolean hasPermission(org.ofbiz.core.entity.GenericValue entity, String argument)
This method is called if there is no Remote User (ie anonymous)
entity
- This is the issue or the project that the security is being checked forargument
- If this particular SchemeType has been configured with a parameter, then this parameter is passed (eg. Group Name for {@link com.atlassian.jira.security.type.GroupDropdown)public boolean hasPermission(org.ofbiz.core.entity.GenericValue entity, String argument, User user, boolean issueCreation)
entity
- This is the issue or the project that the security is being checked forargument
- If this particular SchemeType has been configured with a parameter, then this parameter is passed (eg. Group Name for {@link com.atlassian.jira.security.type.GroupDropdown)user
- The user for whom the permission is being checkedissueCreation
- Whether this permission is being checked during issue creation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |