|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface CustomFieldService
Service front for the custom field manager. Implementations of this interface are responsible for
carrying out any validation and permission logic required to carry out a certain task. The actual
work required to do a certain task should be delegated to the CustomFieldManager
.
Method Summary | |
---|---|
void |
validateDelete(JiraServiceContext jiraServiceContext,
Long customFieldId)
Validates that the custom field with the provided id can be deleted. |
void |
validateUpdate(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String searcherKey)
Validates that the custom field with the provided id can be updated. |
Method Detail |
---|
void validateDelete(JiraServiceContext jiraServiceContext, Long customFieldId)
jiraServiceContext
- containing the User
who is performing the change and
the ErrorCollection
that will contain any errors
in calling the methodcustomFieldId
- the custom field id of the custom field about to be deleted.void validateUpdate(JiraServiceContext jiraServiceContext, Long customFieldId, String name, String description, String searcherKey)
jiraServiceContext
- containing the User
who is performing the change and
the ErrorCollection
that will contain any errors
in calling the methodcustomFieldId
- the custom field id of the customfield about to be updatedname
- the updated name of the customfielddescription
- the description of the customfieldsearcherKey
- the customfield searcher that should be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |