|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShareTypeValidator
Interface that defines the validation of a particular ShareType
. Validation is checking that its associated
SharePermission
or ShareTypeSearchParameter
is valid.
Field Summary | |
---|---|
static String |
DELEGATED_ERROR_KEY
|
static String |
ERROR_KEY
Key used for any error messages. |
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. |
Field Detail |
---|
static final String ERROR_KEY
static final String DELEGATED_ERROR_KEY
Method Detail |
---|
boolean checkSharePermission(JiraServiceContext ctx, SharePermission permission)
ctx
- Context containing the user that is to store the SharePermission, the i18n bean and an ErrorCollection
permission
- the SharePermission to check.
boolean checkSearchParameter(JiraServiceContext ctx, ShareTypeSearchParameter searchParameter)
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 |