| com.sun.portal.community.CommunityManager
All known Subclasses: com.sun.portal.community.impl.CommunityManagerImpl,
CommunityManager | public interface CommunityManager (Code) | | A community manager.
Objects of this type are used to create, remove, and test for existence of
communities.
|
Method Summary | |
public void | createCommunity(CommunityId cid, String ownerId, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed) Create a community. | public void | createCommunity(CommunityId cid, String templateId, String category, String description, boolean isMembershipRestricted, boolean isSecure, boolean isListed) Create a community. | public void | destroyCommunity(CommunityId cid) Remove community permanently. | public void | destroyCommunity(CommunityId cid, boolean cont) Remove community permanently. | public boolean | existsCommunity(CommunityId cid) Test if a community exists. | public String | getContentsSearchDb(CommunityId cid) | public List | getContentsSearchDbs(CommunityId cid) | public String | getDiscussionsSearchDb(CommunityId cid) | public int | getDpBasePriority() | public String | getSearchDb() Get the configured search database name. | public String | getSearchDbPrefix() Get the configured search database prefix. | public String | getSearchTaxonomyRoot() Get the configured search taxonomy root. | public String | getSearchUrl() Get the configured search URL. | public Map | getUserCounts(Set communityIds) | public Set | match(Pattern p, boolean nameOnly) Return a set of matching community IDs.
A match occurs when the community name or description matches the given
pattern.
Parameters: p - a Pattern object, the pattern to match. Parameters: nameOnly - boolean flag indicating whether to match community name only or not throws: com.sun.portal.community.CommunityException - if a problem occurs matching communities. |
destroyCommunity | public void destroyCommunity(CommunityId cid, boolean cont) throws CommunityServiceException, CommunityException(Code) | | Remove community permanently. Note that this is an irreversible action - i.e. a removed community can never be accessed. You can supply an option to continue when one of its subprocess fails.
|
getDpBasePriority | public int getDpBasePriority()(Code) | | |
getSearchDb | public String getSearchDb()(Code) | | Get the configured search database name.
|
getSearchDbPrefix | public String getSearchDbPrefix()(Code) | | Get the configured search database prefix.
|
getSearchTaxonomyRoot | public String getSearchTaxonomyRoot()(Code) | | Get the configured search taxonomy root.
|
getSearchUrl | public String getSearchUrl()(Code) | | Get the configured search URL.
|
match | public Set match(Pattern p, boolean nameOnly) throws CommunityException(Code) | | Return a set of matching community IDs.
A match occurs when the community name or description matches the given
pattern.
Parameters: p - a Pattern object, the pattern to match. Parameters: nameOnly - boolean flag indicating whether to match community name only or not throws: com.sun.portal.community.CommunityException - if a problem occurs matching communities. a Set of CommunityId objects, the matching communities. |
|
|