|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.word.QueryResult
This class is created by the IssueSearch object to contain a single result. It represents a row on the IssueList.vm screen. It is mostly a data structure with some additional functionality to format a multivalued attribute as CSV.
| Constructor Summary | |
(package private) |
QueryResult(IssueSearch search)
Ctor. |
| Method Summary | |
java.util.List |
getAttributeValues()
Get the AttributeValues value. |
java.util.List |
getAttributeValuesAsCSV()
Get the AttributeValues value. |
java.lang.Integer |
getCreatedBy()
|
ScarabUser |
getCreatedByUser()
|
java.util.Date |
getCreatedDate()
|
java.lang.String |
getIdCount()
Get the IdCount value. |
java.lang.String |
getIdPrefix()
Get the IdPrefix value. |
java.lang.String |
getIssueId()
Get the IssueId value. |
java.lang.Integer |
getIssueTypeId()
Get the IssueTypeId value. |
java.lang.Integer |
getModifiedBy()
|
ScarabUser |
getModifiedByUser()
|
java.util.Date |
getModifiedDate()
|
Module |
getModule()
Get the Module related thru getModuleId(). |
java.lang.Integer |
getModuleId()
Get the ModuleId value. |
RModuleIssueType |
getRModuleIssueType()
Get the RModuleIssueType related thru getModuleId() and
getIssueTypeId(). |
java.lang.String |
getUniqueId()
Combines getIdPrefix() and getIdCount() |
void |
populateInternalAttributes(java.util.List preferences)
Populate any attribute considered 'internal' with the proper value. |
void |
populateInternalAttributes(java.util.List preferences,
ScarabLocalizationTool l10n)
Populate, including localization of dates, any attribute considered 'internal' with the proper value. |
void |
setAttributeValues(java.util.List newAttributeValues)
Set the AttributeValues value. |
void |
setCreatedBy(java.lang.Integer createdBy)
|
void |
setCreatedDate(java.util.Date created)
|
void |
setIdCount(java.lang.String newIdCount)
Set the IdCount value. |
void |
setIdPrefix(java.lang.String newIdPrefix)
Set the IdPrefix value. |
void |
setIssueId(java.lang.String newIssueId)
Set the IssueId value. |
void |
setIssueTypeId(java.lang.Integer newIssueTypeId)
Set the IssueTypeId value. |
void |
setModifiedBy(java.lang.Integer modified)
|
void |
setModifiedDate(java.util.Date modifiedDate)
|
void |
setModuleId(java.lang.Integer newModuleId)
Set the ModuleId value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
QueryResult(IssueSearch search)
search - the IssueSearch that created this result| Method Detail |
public final java.lang.String getIssueId()
public final void setIssueId(java.lang.String newIssueId)
newIssueId - The new IssueId value.public final java.lang.String getIdPrefix()
public final void setIdPrefix(java.lang.String newIdPrefix)
newIdPrefix - The new IdPrefix value.public final java.lang.String getIdCount()
public final void setIdCount(java.lang.String newIdCount)
newIdCount - The new IdCount value.public final java.lang.String getUniqueId()
public final java.util.List getAttributeValues()
public final java.util.List getAttributeValuesAsCSV()
public void populateInternalAttributes(java.util.List preferences)
preferences -
public void populateInternalAttributes(java.util.List preferences,
ScarabLocalizationTool l10n)
preferences - public final void setAttributeValues(java.util.List newAttributeValues)
newAttributeValues - The new AttributeValues value.public final java.lang.Integer getModuleId()
public final void setModuleId(java.lang.Integer newModuleId)
newModuleId - The new ModuleId value.
public final Module getModule()
throws org.apache.torque.TorqueException
Module related thru getModuleId(). This method
provides caching so that multiple QueryResult objects in the same
resultset save db hits.
org.apache.torque.TorqueExceptionpublic final java.lang.Integer getIssueTypeId()
public final void setIssueTypeId(java.lang.Integer newIssueTypeId)
newIssueTypeId - The new IssueTypeId value.
public final RModuleIssueType getRModuleIssueType()
throws org.apache.torque.TorqueException
RModuleIssueType related thru getModuleId() and
getIssueTypeId(). This method provides caching so that multiple
QueryResult objects in the same resultset save db hits.
org.apache.torque.TorqueExceptionpublic void setCreatedBy(java.lang.Integer createdBy)
public java.lang.Integer getCreatedBy()
public ScarabUser getCreatedByUser()
public void setCreatedDate(java.util.Date created)
public java.util.Date getCreatedDate()
public void setModifiedBy(java.lang.Integer modified)
public java.lang.Integer getModifiedBy()
public ScarabUser getModifiedByUser()
public void setModifiedDate(java.util.Date modifiedDate)
public java.util.Date getModifiedDate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||