org.itracker.web.forms
Class IssueForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.itracker.web.forms.ITrackerForm
org.itracker.web.forms.IssueForm
- All Implemented Interfaces:
- Serializable
public class IssueForm
- extends ITrackerForm
This form is by the struts actions to pass issue data.
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.validator.ValidatorForm |
page, validatorResults |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Methods inherited from class org.apache.struts.validator.ValidatorForm |
getPage, getResultValueMap, getValidationKey, getValidatorResults, reset, setPage, setValidatorResults |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueForm
public IssueForm()
getAttachment
public org.apache.struts.upload.FormFile getAttachment()
setAttachment
public void setAttachment(org.apache.struts.upload.FormFile attachment)
getAttachmentDescription
public String getAttachmentDescription()
setAttachmentDescription
public void setAttachmentDescription(String attachmentDescription)
getCaller
public String getCaller()
setCaller
public void setCaller(String caller)
getComponents
public Integer[] getComponents()
setComponents
public void setComponents(Integer[] components)
getCreatorId
public Integer getCreatorId()
setCreatorId
public void setCreatorId(Integer creatorId)
getCustomFields
public HashMap<String,String> getCustomFields()
setCustomFields
public void setCustomFields(HashMap<String,String> customFields)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getHistory
public String getHistory()
setHistory
public void setHistory(String history)
getId
public Integer getId()
setId
public void setId(Integer id)
getOwnerId
public Integer getOwnerId()
setOwnerId
public void setOwnerId(Integer ownerId)
getPrevStatus
public Integer getPrevStatus()
setPrevStatus
public void setPrevStatus(Integer prevStatus)
getProjectId
public Integer getProjectId()
setProjectId
public void setProjectId(Integer projectId)
getRelatedIssueId
public Integer getRelatedIssueId()
setRelatedIssueId
public void setRelatedIssueId(Integer relatedIssueId)
getRelationType
public Integer getRelationType()
setRelationType
public void setRelationType(Integer relationType)
getResolution
public String getResolution()
setResolution
public void setResolution(String resolution)
getSeverity
public Integer getSeverity()
setSeverity
public void setSeverity(Integer severity)
getStatus
public Integer getStatus()
setStatus
public void setStatus(Integer status)
getTargetVersion
public Integer getTargetVersion()
setTargetVersion
public void setTargetVersion(Integer targetVersion)
getVersions
public Integer[] getVersions()
setVersions
public void setVersions(Integer[] versions)
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- This methods adds in validation for custom fields. It makes sure the
datatype matches and also that all required fields have been populated.
- Overrides:
validate in class org.apache.struts.validator.ValidatorForm
- Parameters:
mapping - the ActionMapping objectrequest - the current HttpServletRequest object
- Returns:
- an ActionErrors object containing any validation errors
Copyright © 2002-2012 itracker. All Rights Reserved.