|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.rca.common.beans.TemplateSearchFilter
public class TemplateSearchFilter
This filter allows you specify review template search criteria to be AND-ed together. TemplateSearchFilter is used to search for review templates. Each attribute of the filter represent a filtering criteria and one of more filter criteria can be used to search for review templates. All filter attributes or criteria are joined by AND condition and used in like query, so % can be used for wild char searches. e.g. if templateName is set to "Test%" and complianceCode is set to "SOP", then search result will consist of all the templates where name starts with "Test" and complianceCode is set to "SOP". Search results can be paginated. pageSize and pageNumeber attributes in the search filter are used for pagination. if paging in the search results in not required then above attributes should not be set or can be set to 0.
Constructor Summary | |
---|---|
TemplateSearchFilter()
creates a template search filter object |
|
TemplateSearchFilter(String templateName,
String keywords,
String complianceCode,
boolean retrieveActiveOnly,
String author,
Map customAttributes,
int pageSize,
int pageNumber)
creates a template search filter object |
|
TemplateSearchFilter(String templateName,
String keywords,
String complianceCode,
boolean retrieveActiveOnly,
String appName,
String author,
Map customAttributes,
int pageSize,
int pageNumber)
|
Method Summary | |
---|---|
String |
getAppName()
|
String |
getAuthor()
Deprecated. use getCreatedBy() |
String |
getComplianceCode()
get the compliance code used to search templates |
String |
getCreatedBy()
|
Map |
getCustomAttributes()
Get custom attributes map used to search templates. |
String |
getKeywords()
gets the keywords used to search templates |
String |
getLastModifiedBy()
|
int |
getPageNumber()
Page number of the search result, this is only applicable if pageSize is >0. |
int |
getPageSize()
Gets the page size used in pagination calculation. |
String |
getTemplateName()
Gets the template name used to search templates |
boolean |
isRetrieveActiveOnly()
gets active flag on which the search to based |
boolean |
isRetrieveInActiveOnly()
|
void |
setAppName(String appName)
|
void |
setAuthor(String author)
Deprecated. use setCreatedBy(createdBy) |
void |
setComplianceCode(String complianceCode)
Sets the compliance code used to search templates |
void |
setCreatedBy(String createdBy)
|
void |
setCustomAttributes(Map customAttributes)
Set custom attributes map used to search templates. |
void |
setKeywords(String keywords)
Sets the keywords used to search templates |
void |
setLastModifiedBy(String lastModifiedBy)
|
void |
setPageNumber(int pageNumber)
Page number of the search result, this is only applicable if pageSize is >0. |
void |
setPageSize(int pageSize)
Gets the page size used in pagination calculation. |
void |
setRetrieveActiveOnly(boolean active)
sets active flag on which the search to based |
void |
setRetrieveInActiveOnly(boolean retrieveInActiveOnly)
|
void |
setTemplateName(String templateName)
sets the template name used to search templates |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateSearchFilter()
public TemplateSearchFilter(String templateName, String keywords, String complianceCode, boolean retrieveActiveOnly, String author, Map customAttributes, int pageSize, int pageNumber)
templateName
- name of the templatekeywords
- string value to be searched in description.complianceCode
- compliance code to be searchedretrieveActiveOnly
- if this flag is true, search returns only active templates.author
- Name of the author, whose templates to be searchedcustomAttributes
- Map of custom attributes (if any), to be included in searchpageSize
- page size to be used in paging calculationspageNumber
- page number of the search results, to be returned.public TemplateSearchFilter(String templateName, String keywords, String complianceCode, boolean retrieveActiveOnly, String appName, String author, Map customAttributes, int pageSize, int pageNumber)
Method Detail |
---|
public String getTemplateName()
public void setTemplateName(String templateName)
templateName
- template name used to search templatespublic String getKeywords()
public void setKeywords(String keywords)
keywords
- keywords used to search templatespublic String getComplianceCode()
public void setComplianceCode(String complianceCode)
complianceCode
- compliance code used to search templatespublic boolean isRetrieveActiveOnly()
public void setRetrieveActiveOnly(boolean active)
active
- active flag on which the search to basedpublic boolean isRetrieveInActiveOnly()
public void setRetrieveInActiveOnly(boolean retrieveInActiveOnly)
public String getAuthor()
public void setAuthor(String author)
author
- author name used to search templatespublic String getCreatedBy()
public void setCreatedBy(String createdBy)
public String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
public Map getCustomAttributes()
public void setCustomAttributes(Map customAttributes)
customAttributes
- custom attributes used to search templatespublic int getPageSize()
public void setPageSize(int pageSize)
pageSize
- page size used in pagination calculationpublic int getPageNumber()
public void setPageNumber(int pageNumber)
pageNumber
- Page number of the search result,public String getAppName()
public void setAppName(String appName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |