|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.search.PublicTypeFilter
public class PublicTypeFilter
PublicTypeFilter
Field Summary | |
---|---|
protected boolean |
_includeSubTypes
|
protected ServerInterface |
_server
|
protected java.util.List<java.lang.String> |
_supportedTypes
|
protected static java.lang.String |
PUBLIC_TYPE
|
Constructor Summary | |
---|---|
PublicTypeFilter(java.util.List<java.lang.String> types)
Constructs a new filter given the list of public types to search for. |
|
PublicTypeFilter(java.util.List<java.lang.String> types,
boolean includeSubTypes)
Constructs a new filter given the list of public types to search for. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
FilterComponent |
getFilterComponent()
Returns the filter component used for processing this search criteria |
java.lang.String |
getFilterDescription()
Returns the description of this filter. |
java.lang.String |
getFilterType()
Returns the localized name of this filter. |
java.util.List<java.lang.String> |
getTypes()
Returns the public types included in theis filter. |
boolean |
isIncludeSubTypes()
Returns true if subtypes are being included during the search. |
void |
setServer(ServerInterface server)
Sets the server instance used to create this filter. |
void |
setTypes(java.util.List<java.lang.String> types)
|
Field Detail |
---|
protected static final java.lang.String PUBLIC_TYPE
protected java.util.List<java.lang.String> _supportedTypes
protected ServerInterface _server
protected boolean _includeSubTypes
Constructor Detail |
---|
public PublicTypeFilter(java.util.List<java.lang.String> types)
types
- array of public types to search for. A null value can be specified if the filter
is searching for all public types.public PublicTypeFilter(java.util.List<java.lang.String> types, boolean includeSubTypes)
types
- array of public types to search for. A null value can be specified if the filter
is searching for all public types.includeSubTypes
- specifies whether or not a type's subtypes should be included. By default,
subtypes are excluded, meaning if a search is performed on the type "Report", none of its subtypes
(including Report.Image, Report.Component, etc.) will be searched.Method Detail |
---|
public void setServer(ServerInterface server)
server
- public java.util.List<java.lang.String> getTypes()
public void setTypes(java.util.List<java.lang.String> types)
public boolean isIncludeSubTypes()
public java.lang.String getFilterType()
SearchFilter
getFilterType
in interface SearchFilter
public java.lang.String getFilterDescription()
SearchFilter
getFilterDescription
in interface SearchFilter
public FilterComponent getFilterComponent()
SearchFilter
getFilterComponent
in interface SearchFilter
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |