|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepoFullTextSearchControl<T>
This control is used to perform FullTextSearch in BEA content repositories. It will not search any other Enterprise-scoped databases; use the EnterpriseSearchControl for that.
Additional metadata parameters may be added by getting an instance of the PropertySearchBuilder and constructing an array of IMetadataCriteria to set on this control.
Method Summary | |
---|---|
Map<String,ObjectClass> |
getAvailableObjectClasses()
Show available ObjectClasses |
FullTextSearchBuilder |
getFullTextSearchBuilder()
Access the FullTextSearchBuilder for more complex query construction for both text and property |
Set<String> |
getObjectClassProperties(String objectClassName)
Return the set of searchable property names available for this ObjectClass. |
PropertyDefinition[] |
getObjectClassPropertyDefinitions(String objectClassName)
Get all of the property definitions that belong to the specified object class |
PropertySearchBuilder |
getPropertySearchBuilder()
Access the PropertySearchBuilder for more complex query construction for property |
boolean |
isCmBinaryDataEncoded()
|
boolean |
isCmMetadataEncoded()
|
SortableFilterablePagedResult<T> |
searchProperty(IMetadataQueryParameter param)
Search only the properties |
void |
setCmBinaryDataEncoded(boolean cmBinaryDataEncoded)
|
void |
setCmMetadataEncoded(boolean cmMetadataEncoded)
|
void |
setEnableSearchCache(boolean enable)
By default, the search cache is disabled |
void |
setSearchPath(String path)
Search paths are automatically set for some controls, such as the GroupSpace controls. |
void |
setSearchPaths(String[] paths)
Search paths are automatically set for some controls, such as the GroupSpace controls. |
Methods inherited from interface com.bea.apps.groupspace.search.controls.FullTextSearchControl |
---|
allOfTheseWords, anyOfTheseWords, clearMetadataParameters, getSearchDatabases, getTextSearchBuilder, search, setMetadataParameter, setMetadataParameters, setSearchDatabases, setSearchScope, textContains, textEquals |
Methods inherited from interface com.bea.apps.groupspace.search.controls.SearchControl |
---|
asList, asSet, flushSearchCache, getSortCriteria, setSortCriteria |
Method Detail |
---|
void setEnableSearchCache(boolean enable)
void setSearchPath(String path)
void setSearchPaths(String[] paths)
SortableFilterablePagedResult<T> searchProperty(IMetadataQueryParameter param) throws Exception
Exception
Map<String,ObjectClass> getAvailableObjectClasses()
Set<String> getObjectClassProperties(String objectClassName) throws AuthorizationException
AuthorizationException
- if user is not allowed to view properties of that ObjectClassPropertyDefinition[] getObjectClassPropertyDefinitions(String objectClassName) throws AuthorizationException, NoSuchObjectClassException
AuthorizationException
NoSuchObjectClassException
FullTextSearchBuilder getFullTextSearchBuilder()
PropertySearchBuilder getPropertySearchBuilder()
boolean isCmBinaryDataEncoded()
void setCmBinaryDataEncoded(boolean cmBinaryDataEncoded)
boolean isCmMetadataEncoded()
void setCmMetadataEncoded(boolean cmMetadataEncoded)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |