|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectService
Field Summary | |
---|---|
static String |
PROJECT_DESCRIPTION
The default name of HTML fields containing a Project's description. |
static String |
PROJECT_KEY
The default name of HTML fields containing a Project's key. |
static String |
PROJECT_LEAD
The default name of HTML fields containing a Project's lead. |
static String |
PROJECT_NAME
The default name of HTML fields containing a Project's name. |
static String |
PROJECT_URL
The default name of HTML fields containing a Project's URL. |
Method Summary | |
---|---|
String |
getProjectKeyDescription()
Get the project key description from the properties file. |
boolean |
isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType)
Will validate all project fields setting the appropriate errors in the JiraServiceContext if any errors occur. |
boolean |
isValidRequiredProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead)
Will validate the fields required for creating a project and setting the appropriate validation errors in the JiraServiceContext if any errors occur. |
Field Detail |
---|
static final String PROJECT_NAME
ErrorCollection
with error messages keyed to this field name.
static final String PROJECT_KEY
ErrorCollection
with error messages keyed to this field name.
static final String PROJECT_LEAD
ErrorCollection
with error messages keyed to this field name.
static final String PROJECT_URL
ErrorCollection
with error messages keyed to this field name.
static final String PROJECT_DESCRIPTION
ErrorCollection
with error messages keyed to this field name.
Method Detail |
---|
boolean isValidAllProjectData(JiraServiceContext serviceContext, String name, String key, String lead, String url, Long assigneeType)
JiraServiceContext
if any errors occur.
serviceContext
- containing the errorCollection that will be populated with any validation errors that are
encounteredname
- the name of the project @NotNullkey
- the key of the project @NotNulllead
- the project lead @NotNullurl
- the project URL (optional)assigneeType
- the default assignee type (optional - only appears on some forms)
boolean isValidRequiredProjectData(JiraServiceContext serviceContext, String name, String key, String lead)
JiraServiceContext
if any errors occur.
serviceContext
- containing the errorCollection that will be populated with any validation errors that are
encounteredname
- the name of the project @NotNullkey
- the key of the project @NotNulllead
- the project lead @NotNull
String getProjectKeyDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |