@Entity(name="Filter") public class FilterImpl extends ScopeDomainObject implements Filter
Modifier and Type | Field and Description |
---|---|
static String |
BATCH_UPDATE_TEST_RUN_STATUS |
refId, scopeId
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
FilterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.jamasoftware.contour.api.service.dto.FilterParameter para) |
void |
addFilterParameter(com.jamasoftware.contour.api.service.dto.FilterParameter param) |
int |
compareTo(Filter o) |
Project |
getCurrentProject() |
User |
getCurrentUser() |
String |
getDescription() |
DocumentGroup |
getDocumentGroupDEPRECATED()
Deprecated.
Filters have type and project instead of group
|
DocumentType |
getDocumentType() |
com.jamasoftware.contour.data.service.restriction.Restriction |
getFilterRestriction() |
Integer |
getId() |
Boolean |
getIsHidden() |
org.apache.lucene.search.Filter |
getLuceneFilter() |
String |
getName() |
Integer |
getOrganizationId() |
List<com.jamasoftware.contour.api.service.dto.FilterParameter> |
getParameters() |
String |
getXmlString() |
String |
getXmlToString() |
void |
setCurrentProject(Project currentProject) |
void |
setCurrentUser(User currentUser) |
void |
setDescription(String description) |
void |
setDocumentGroupDEPRECATED(DocumentGroup documentGroup)
Deprecated.
Filters have type and project instead of group
|
void |
setDocumentType(DocumentType documentType) |
void |
setFilterRestriction(com.jamasoftware.contour.data.service.restriction.Restriction filterRestriction) |
void |
setId(Integer lookupId) |
void |
setIsHidden(Boolean isHidden) |
void |
setLuceneFilter(org.apache.lucene.search.Filter luceneFilter) |
void |
setName(String displayDescription) |
void |
setOrganizationId(Integer organizationId) |
void |
setParameters(List<com.jamasoftware.contour.api.service.dto.FilterParameter> params) |
void |
setXmlString(String xml) |
String |
toString() |
getRefId, getScopeId, setRefId, setScope, setScopeByType, setScopeId
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
getRefId, getScopeId, setRefId, setScopeByType, setScopeId
public static final String BATCH_UPDATE_TEST_RUN_STATUS
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer lookupId)
setId
in interface DomainObjectBase
public String getDescription()
getDescription
in interface Filter
public void setDescription(String description)
setDescription
in interface Filter
public String getXmlString()
getXmlString
in interface Filter
public void setXmlString(String xml)
setXmlString
in interface Filter
public List<com.jamasoftware.contour.api.service.dto.FilterParameter> getParameters()
getParameters
in interface Filter
public void setParameters(List<com.jamasoftware.contour.api.service.dto.FilterParameter> params)
setParameters
in interface Filter
public void addFilterParameter(com.jamasoftware.contour.api.service.dto.FilterParameter param)
addFilterParameter
in interface Filter
public int compareTo(Filter o)
compareTo
in interface Comparable<Filter>
public DocumentType getDocumentType()
getDocumentType
in interface Filter
public void setDocumentType(DocumentType documentType)
setDocumentType
in interface Filter
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public Boolean getIsHidden()
getIsHidden
in interface Filter
public void setIsHidden(Boolean isHidden)
setIsHidden
in interface Filter
isHidden
- the isHidden to setpublic User getCurrentUser()
getCurrentUser
in interface Filter
public void setCurrentUser(User currentUser)
setCurrentUser
in interface Filter
public Project getCurrentProject()
getCurrentProject
in interface Filter
public void setCurrentProject(Project currentProject)
setCurrentProject
in interface Filter
public String getXmlToString()
getXmlToString
in interface DomainObject
public void add(com.jamasoftware.contour.api.service.dto.FilterParameter para)
public org.apache.lucene.search.Filter getLuceneFilter()
public void setLuceneFilter(org.apache.lucene.search.Filter luceneFilter)
public com.jamasoftware.contour.data.service.restriction.Restriction getFilterRestriction()
public void setFilterRestriction(com.jamasoftware.contour.data.service.restriction.Restriction filterRestriction)
public String toString()
@Deprecated public DocumentGroup getDocumentGroupDEPRECATED()
@Deprecated public void setDocumentGroupDEPRECATED(DocumentGroup documentGroup)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.