|
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 GsKeywordSearchControl
This control will search ONLY GroupSpace communities that have been deployed to this same web app. It is not meaningful to search across all GroupSpace communuties in the application or domain beacause we wsant to return the community URL from these search results.
Instantiate the control in a page flow as follows:
@Control
GsKeywordSearchControlBean gsKeywordSearchControl;
Nested Class Summary | |
---|---|
static interface |
GsKeywordSearchControl.GroupSpaceSearchParams
Scope the search |
Nested classes/interfaces inherited from interface com.bea.apps.groupspace.search.controls.CommunitySearchControl |
---|
CommunitySearchControl.CommunitySearchParams |
Method Summary | |
---|---|
boolean |
communityIsRelatedTo(CommunityDefinition cdef,
String keyword)
Given this keyword, see whether this community is related to that. |
CommunityDefinition |
enableCommunitySearch(CommunityDefinition cdef,
boolean searchable)
Make the named community searchable or not |
SortableFilterablePagedResult<CommunityDefinition> |
findCommunityDefsRelatedTo(String keyword)
Find all communities that are related to (eg, keywords contain) this subject |
SortableFilterablePagedResult<GenericURL> |
findCommunityURLsRelatedTo(String keyword)
Find all communities that are related to (eg, keywords contain) this keyword. |
SortableFilterablePagedResult<CommunityDefinition> |
findSearchableCommunities()
Find all GroupSpace communities that have been marked as 'searchable' |
List<String> |
getCommunityKeywords(CommunityDefinition cdef)
Keywords are used to search communites so we can find 'related to'. |
boolean |
isCommunitySearchable(CommunityDefinition cdef)
Is this named community searchable? |
void |
setCommunityKeywords(CommunityDefinition cdef,
Set<String> keywords)
Add a set of keywords for this named community that will be used to describe the community, and on which we'll search (eg, find communities related to 'bears') |
Methods inherited from interface com.bea.apps.groupspace.search.controls.CommunitySearchControl |
---|
findAllMemberships, findAllMemberships, getEligibleToJoinCommunities, getMembershipsForCapability, getMyCommunityURLs, getMyCommunityURLsAsString, getUsernamesForCapability |
Method Detail |
---|
boolean isCommunitySearchable(CommunityDefinition cdef) throws Exception
Exception
CommunityDefinition enableCommunitySearch(CommunityDefinition cdef, boolean searchable)
void setCommunityKeywords(CommunityDefinition cdef, Set<String> keywords) throws Exception
Exception
List<String> getCommunityKeywords(CommunityDefinition cdef)
SortableFilterablePagedResult<CommunityDefinition> findSearchableCommunities() throws Exception
Exception
SortableFilterablePagedResult<GenericURL> findCommunityURLsRelatedTo(String keyword) throws Exception
Exception
SortableFilterablePagedResult<CommunityDefinition> findCommunityDefsRelatedTo(String keyword) throws Exception
Exception
boolean communityIsRelatedTo(CommunityDefinition cdef, String keyword) throws Exception
Exception
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |