za.org.coefficient.modules.issueTracker
Class SearchFilter

java.lang.Object
  extended by za.org.coefficient.modules.issueTracker.SearchFilter
All Implemented Interfaces:
java.io.Serializable

public class SearchFilter
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  CoefficientUser assignedTo
           
private  Role assignedToRole
           
private  CoefficientUser author
           
private  Role authorRole
           
private  boolean comments
           
private  java.util.Date createdAfter
           
private  java.util.Date createdBefore
           
private  java.lang.Long createdInPrevious
           
private  boolean description
           
private  boolean environment
           
private  CoefficientUser filterAuthor
           
private  java.lang.String filterDescription
           
private  java.lang.Long id
           
private  java.lang.String name
           
private  java.util.List priorities
           
private  Project project
           
private  java.util.List resolutions
           
private  java.lang.String searchText
           
private  Role sharingLevel
           
private static java.lang.String SQL_1
           
private static java.lang.String SQL_2
           
private static java.lang.String SQL_3
           
private static java.lang.String SQL_4
           
private  java.util.List statuses
           
private  boolean summary
           
private  java.util.List types
           
private  java.util.Date updatedAfter
           
private  java.util.Date updatedBefore
           
private  java.lang.Long updatedInPrevious
           
private  long version
           
 
Constructor Summary
SearchFilter()
           
 
Method Summary
 CoefficientUser getAssignedTo()
          Gets the value of name
 Role getAssignedToRole()
          Gets the value of assignedToRole
 CoefficientUser getAuthor()
          Gets the value of name
 Role getAuthorRole()
          Gets the value of authorRole
 boolean getComments()
          Gets the value of comments
 java.util.Date getCreatedAfter()
          Gets the value of createdAfter
 java.util.Date getCreatedBefore()
          Gets the value of createdBefore
 java.lang.Long getCreatedInPrevious()
          Gets the value of createdInPrevious
 boolean getDescription()
          Gets the value of description
 boolean getEnvironment()
          Gets the value of environment
 CoefficientUser getFilterAuthor()
          Gets the value of name
 java.lang.String getFilterDescription()
          Gets the value of name
 java.lang.Long getId()
          Gets the value of id
 java.lang.String getName()
          Gets the value of name
 java.util.List getPriorities()
          Gets the value of priorities
 Project getProject()
          Gets the value of project
 java.lang.String getQuery()
           
 java.lang.Object[] getQueryObjects()
           
 java.util.List getResolutions()
          Gets the value of resolutions
 java.lang.String getSearchText()
          Gets the value of searchText
 Role getSharingLevel()
          Gets the value of sharingLevel
 java.util.List getStatuses()
          Gets the value of statuses
 boolean getSummary()
          Gets the value of summary
 java.util.List getTypes()
          Gets the value of types
 java.util.Date getUpdatedAfter()
          Gets the value of updatedAfter
 java.util.Date getUpdatedBefore()
          Gets the value of updatedBefore
 java.lang.Long getUpdatedInPrevious()
          Gets the value of updatedInPrevious
 long getVersion()
          Gets the value of version
 void setAssignedTo(CoefficientUser assignedTo)
           
 void setAssignedToRole(Role assignedToRole)
          Sets the value of assignedToRole
 void setAuthor(CoefficientUser author)
           
 void setAuthorRole(Role authorRole)
          Sets the value of authorRole
 void setComments(boolean comments)
          Sets the value of comments
 void setCreatedAfter(java.util.Date argCreatedAfter)
          Sets the value of createdAfter
 void setCreatedBefore(java.util.Date argCreatedBefore)
          Sets the value of createdBefore
 void setCreatedInPrevious(java.lang.Long argCreatedInPrevious)
          Sets the value of createdInPrevious
 void setDescription(boolean description)
          Sets the value of description
 void setEnvironment(boolean environment)
          Sets the value of environment
 void setFilterAuthor(CoefficientUser filterAuthor)
           
 void setFilterDescription(java.lang.String filterDesc)
           
 void setId(java.lang.Long argId)
          Sets the value of id
 void setName(java.lang.String name)
          Sets the value of name
 void setPriorities(java.util.List priorities)
          Sets the value of priorities
 void setProject(Project project)
          Sets the value of project
 void setResolutions(java.util.List resolutions)
          Sets the value of resolutions
 void setSearchText(java.lang.String searchText)
          Sets the value of searchText
 void setSharingLevel(Role sharingLevel)
          Sets the value of sharingLevel
 void setStatuses(java.util.List statuses)
          Sets the value of statuses
 void setSummary(boolean summary)
          Sets the value of summary
 void setTypes(java.util.List types)
          Sets the value of types
 void setUpdatedAfter(java.util.Date argUpdatedAfter)
          Sets the value of createdAfter
 void setUpdatedBefore(java.util.Date argUpdatedBefore)
          Sets the value of updatedBefore
 void setUpdatedInPrevious(java.lang.Long argUpdatedInPrevious)
          Sets the value of updatedInPrevious
 void setVersion(long version)
          Sets the value of version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_1

private static final java.lang.String SQL_1

SQL_2

private static final java.lang.String SQL_2

SQL_3

private static final java.lang.String SQL_3
See Also:
Constant Field Values

SQL_4

private static final java.lang.String SQL_4
See Also:
Constant Field Values

filterAuthor

private CoefficientUser filterAuthor

author

private CoefficientUser author

assignedTo

private CoefficientUser assignedTo

authorRole

private Role authorRole

assignedToRole

private Role assignedToRole

project

private Project project

searchText

private java.lang.String searchText

summary

private boolean summary

comments

private boolean comments

description

private boolean description

environment

private boolean environment

types

private java.util.List types

statuses

private java.util.List statuses

resolutions

private java.util.List resolutions

priorities

private java.util.List priorities

sharingLevel

private Role sharingLevel

createdAfter

private java.util.Date createdAfter

createdBefore

private java.util.Date createdBefore

createdInPrevious

private java.lang.Long createdInPrevious

updatedAfter

private java.util.Date updatedAfter

updatedBefore

private java.util.Date updatedBefore

updatedInPrevious

private java.lang.Long updatedInPrevious

id

private java.lang.Long id

filterDescription

private java.lang.String filterDescription

name

private java.lang.String name

version

private long version
Constructor Detail

SearchFilter

public SearchFilter()
Method Detail

setAuthor

public void setAuthor(CoefficientUser author)

getAuthor

public CoefficientUser getAuthor()
Gets the value of name

Returns:
the value of name

setFilterAuthor

public void setFilterAuthor(CoefficientUser filterAuthor)

getFilterAuthor

public CoefficientUser getFilterAuthor()
Gets the value of name

Returns:
the value of name

setAssignedTo

public void setAssignedTo(CoefficientUser assignedTo)

getAssignedTo

public CoefficientUser getAssignedTo()
Gets the value of name

Returns:
the value of name

setProject

public void setProject(Project project)
Sets the value of project

Parameters:
argId - Value to assign to this.project

getProject

public Project getProject()
Gets the value of project

Returns:
the value of project

setEnvironment

public void setEnvironment(boolean environment)
Sets the value of environment

Parameters:
argEnvironment - Value to assign to this.environment

getEnvironment

public boolean getEnvironment()
Gets the value of environment

Returns:
the value of environment

setSummary

public void setSummary(boolean summary)
Sets the value of summary

Parameters:
argSummary - Value to assign to this.summary

getSummary

public boolean getSummary()
Gets the value of summary

Returns:
the value of summary

setComments

public void setComments(boolean comments)
Sets the value of comments

Parameters:
argComments - Value to assign to this.comments

getComments

public boolean getComments()
Gets the value of comments

Returns:
the value of comments

setDescription

public void setDescription(boolean description)
Sets the value of description

Parameters:
argDescription - Value to assign to this.description

getDescription

public boolean getDescription()
Gets the value of description

Returns:
the value of description

setId

public void setId(java.lang.Long argId)
Sets the value of id

Parameters:
argId - Value to assign to this.id

getId

public java.lang.Long getId()
Gets the value of id

Returns:
the value of id

setSearchText

public void setSearchText(java.lang.String searchText)
Sets the value of searchText

Parameters:
argSearchText - Value to assign to this.searchText

getSearchText

public java.lang.String getSearchText()
Gets the value of searchText

Returns:
the value of searchText

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
argName - Value to assign to this.name

getName

public java.lang.String getName()
Gets the value of name

Returns:
the value of name

setVersion

public void setVersion(long version)
Sets the value of version

Parameters:
version - Value to assign to this.version

getVersion

public long getVersion()
Gets the value of version

Returns:
the value of version

setTypes

public void setTypes(java.util.List types)
Sets the value of types

Parameters:
types - Value to assign to this.types

getTypes

public java.util.List getTypes()
Gets the value of types

Returns:
the value of types

setStatuses

public void setStatuses(java.util.List statuses)
Sets the value of statuses

Parameters:
statuses - Value to assign to this.statuses

getStatuses

public java.util.List getStatuses()
Gets the value of statuses

Returns:
the value of statuses

setPriorities

public void setPriorities(java.util.List priorities)
Sets the value of priorities

Parameters:
priorities - Value to assign to this.priorities

getPriorities

public java.util.List getPriorities()
Gets the value of priorities

Returns:
the value of priorities

setResolutions

public void setResolutions(java.util.List resolutions)
Sets the value of resolutions

Parameters:
resolutions - Value to assign to this.resolutions

getResolutions

public java.util.List getResolutions()
Gets the value of resolutions

Returns:
the value of resolutions

setSharingLevel

public void setSharingLevel(Role sharingLevel)
Sets the value of sharingLevel

Parameters:
argSharingLevel - Value to assign to this.sharingLevel

getSharingLevel

public Role getSharingLevel()
Gets the value of sharingLevel

Returns:
the value of sharingLevel

setAuthorRole

public void setAuthorRole(Role authorRole)
Sets the value of authorRole

Parameters:
argAuthorRole - Value to assign to this.authorRole

getAuthorRole

public Role getAuthorRole()
Gets the value of authorRole

Returns:
the value of authorRole

setAssignedToRole

public void setAssignedToRole(Role assignedToRole)
Sets the value of assignedToRole

Parameters:
argAssignedToRole - Value to assign to this.assignedToRole

getAssignedToRole

public Role getAssignedToRole()
Gets the value of assignedToRole

Returns:
the value of assignedToRole

setFilterDescription

public void setFilterDescription(java.lang.String filterDesc)

getFilterDescription

public java.lang.String getFilterDescription()
Gets the value of name

Returns:
the value of name

setCreatedAfter

public void setCreatedAfter(java.util.Date argCreatedAfter)
Sets the value of createdAfter

Parameters:
argId - Value to assign to this.createdAfter

getCreatedAfter

public java.util.Date getCreatedAfter()
Gets the value of createdAfter

Returns:
the value of createdAfter

setCreatedBefore

public void setCreatedBefore(java.util.Date argCreatedBefore)
Sets the value of createdBefore

Parameters:
argId - Value to assign to this.createdBefore

getCreatedBefore

public java.util.Date getCreatedBefore()
Gets the value of createdBefore

Returns:
the value of createdBefore

setCreatedInPrevious

public void setCreatedInPrevious(java.lang.Long argCreatedInPrevious)
Sets the value of createdInPrevious

Parameters:
argId - Value to assign to this.createdInPrevious

getCreatedInPrevious

public java.lang.Long getCreatedInPrevious()
Gets the value of createdInPrevious

Returns:
the value of createdInPrevious

setUpdatedAfter

public void setUpdatedAfter(java.util.Date argUpdatedAfter)
Sets the value of createdAfter

Parameters:
argId - Value to assign to this.createdAfter

getUpdatedAfter

public java.util.Date getUpdatedAfter()
Gets the value of updatedAfter

Returns:
the value of updatedAfter

setUpdatedBefore

public void setUpdatedBefore(java.util.Date argUpdatedBefore)
Sets the value of updatedBefore

Parameters:
argId - Value to assign to this.updatedBefore

getUpdatedBefore

public java.util.Date getUpdatedBefore()
Gets the value of updatedBefore

Returns:
the value of updatedBefore

setUpdatedInPrevious

public void setUpdatedInPrevious(java.lang.Long argUpdatedInPrevious)
Sets the value of updatedInPrevious

Parameters:
argId - Value to assign to this.updatedInPrevious

getUpdatedInPrevious

public java.lang.Long getUpdatedInPrevious()
Gets the value of updatedInPrevious

Returns:
the value of updatedInPrevious

getQuery

public java.lang.String getQuery()

getQueryObjects

public java.lang.Object[] getQueryObjects()


Copyright CSIR. All Rights Reserved.