|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.sharing.type.GlobalShareTypeValidator
public class GlobalShareTypeValidator
A GlobalShareTypeValidator representing a globally shared SharedEntity
.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.sharing.type.ShareTypeValidator |
---|
ERROR_KEY |
Constructor Summary | |
---|---|
GlobalShareTypeValidator(PermissionManager permissionManager)
|
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)
The user must have the global permission to share filters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalShareTypeValidator(PermissionManager permissionManager)
Method Detail |
---|
public boolean checkSharePermission(JiraServiceContext ctx, SharePermission permission)
checkSharePermission
in interface ShareTypeValidator
ctx
- Service context containing user, i18n bean and error collection.permission
- Permission must have type of GlobalShareType.TYPE
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 |