|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.sharing.type.GroupShareTypeValidator
public class GroupShareTypeValidator
A validator for the GroupShareType
.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.sharing.type.ShareTypeValidator |
---|
ERROR_KEY |
Constructor Summary | |
---|---|
GroupShareTypeValidator(PermissionManager permissionManager,
com.opensymphony.user.UserManager userManager)
|
Method Summary | |
---|---|
boolean |
checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid for the ShareType. |
boolean |
checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
Checks if the passed SharePermission is valid for the associated ShareType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupShareTypeValidator(PermissionManager permissionManager, com.opensymphony.user.UserManager userManager)
Method Detail |
---|
public boolean checkSharePermission(JiraServiceContext ctx, SharePermission permission)
ShareTypeValidator
checkSharePermission
in interface ShareTypeValidator
ctx
- Context containing the user that is to store the SharePermission, the i18n bean and an ErrorCollection
permission
- the SharePermission to check.
public boolean checkSearchParameter(JiraServiceContext ctx, ShareTypeSearchParameter searchParameter)
ShareTypeValidator
checkSearchParameter
in interface ShareTypeValidator
ctx
- Context containing the user that is to store the SharePermission, the i18n bean and an ErrorCollection
searchParameter
- the parameter is check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |