|
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 CommunityManagerControl
| Method Summary | |
|---|---|
void |
activateCommunity(Date date,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Sets a community active until a specified expiration date. |
com.bea.netuix.application.definition.CommunityDefinition |
createCommunity(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.portal.tools.common.ResourceContext context)
Creates a new community. |
com.bea.netuix.application.definition.CommunityDefinition |
createCommunityFromTemplate(String communityTitle,
String communityDescription,
com.bea.netuix.application.identifier.PortalPath portalPath,
com.bea.netuix.application.identifier.DesktopPath desktopPath,
com.bea.netuix.application.identifier.CommunityDefinitionId templateId,
com.bea.portal.tools.common.ResourceContext context)
Creates a new community from a template. |
com.bea.netuix.application.definition.CommunityDefinition |
createCommunityFromTemplateAndUpdateInfo(com.bea.netuix.application.communities.CommunityInfo info,
String communityTitle,
String communityDescription,
com.bea.netuix.application.identifier.PortalPath portalPath,
com.bea.netuix.application.identifier.DesktopPath desktopPath,
com.bea.netuix.application.identifier.CommunityDefinitionId templateId,
com.bea.portal.tools.common.ResourceContext context)
|
com.bea.netuix.application.definition.CommunityDefinition |
createCommunityTemplate(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.portal.tools.common.ResourceContext context)
|
void |
deactivateCommunity(com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Deactivates a community. |
void |
deleteCommunity(boolean cascade,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Deletes a community definition. |
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.definition.CommunityDefinition> |
getCommunities(int pageSize,
com.bea.netuix.application.communities.CommunitySearchCriteria criteria,
com.bea.portal.tools.common.ResourceContext context)
Does a paginated communities get. |
com.bea.netuix.application.definition.CommunityDefinition |
getCommunity(boolean localize,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Gets a single CommunityDefintion. |
com.bea.netuix.application.definition.CommunityDefinition |
getCommunity(String webApp,
com.bea.netuix.application.identifier.PortalPath portalPath,
com.bea.netuix.application.identifier.DesktopPath desktopPath,
boolean localize,
com.bea.portal.tools.common.ResourceContext context)
|
void |
setPersonalPagesEnabled(boolean enabled,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Enabled Personal Pages. |
void |
updateCommunity(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
Updates a Community |
| Method Detail |
|---|
void activateCommunity(Date date,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.exception.IllegalOperationException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
date - The expiration datecommunityId - the community definition ID of the community to activate.context - a resource context
com.bea.netuix.application.exception.ObjectNotFoundException - If community to be activated does not exist
com.bea.netuix.application.exception.NotEntitledException - Thrown if the user in the current thread is not entitled to perform
this action.
com.bea.netuix.application.exception.IllegalOperationException - If this community is a template or if expirationDate
is in the past
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.communities.exception.CommunityCallbackException
void setPersonalPagesEnabled(boolean enabled,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.ObjectNotFoundException
enabled - True if personal pages should be enabled.communityId - the community definition ID of the communitycontext - a resource context
com.bea.netuix.application.exception.NotEntitledException - Thrown if the user in the current thread is not entitled to perform
this action.
com.bea.netuix.application.exception.ObjectNotFoundException - If community to be deleted does not exist
com.bea.portal.tools.common.exceptions.ToolsException
void deactivateCommunity(com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
communityId - the community definition ID of the communitycontext - a resource context
com.bea.netuix.application.exception.ObjectNotFoundException - If community to be deleted does not exist
com.bea.netuix.application.exception.NotEntitledException - If current user does not have permission to delete this
community
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.communities.exception.CommunityCallbackException
com.bea.netuix.application.definition.CommunityDefinition createCommunity(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.DuplicateObjectException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.MissingDataException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
info - The CommunityInfo object.context - a resource contextvisitorMode - true if called from the visitor tools
com.bea.netuix.application.exception.DuplicateObjectException
com.bea.netuix.application.exception.NotEntitledException - Thrown if the user in the current thread is not entitled to perform
this action.
com.bea.netuix.application.exception.MissingDataException - Thrown if a resource required by this action does not exist.
com.bea.netuix.application.exception.ObjectNotFoundException - Thrown if a resource required by this action is not valid.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.communities.exception.CommunityCallbackException
void deleteCommunity(boolean cascade,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.exception.IllegalOperationException,
com.bea.netuix.application.exception.ObjectInUseException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
ResourceContext via the setWebApp() method, otherwise
a NoWebAppFoundException is thrown.
cascade - True if the delete is a cascading delete.communityId - the community definition IDcontext - a resource context
com.bea.netuix.application.exception.NotEntitledException - Thrown if the user in the current thread is not entitled to perform
this action.
com.bea.netuix.application.exception.ObjectNotFoundException - Thrown if a resource required by this action is not valid.
com.bea.netuix.application.exception.IllegalOperationException - If this community is a template
com.bea.netuix.application.exception.ObjectInUseException - If community to be deleted is being used
by other (user customized) communities
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.communities.exception.CommunityCallbackException
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.definition.CommunityDefinition> getCommunities(int pageSize,
com.bea.netuix.application.communities.CommunitySearchCriteria criteria,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException
pageSize - The size of a page of data.criteria - the search criteria to use.context - a resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.definition.CommunityDefinition getCommunity(boolean localize,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException
localize - If false the localization object is not retrieved in the definition.communityId - the community definition ID of the community to retrieve.context - a resource context
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.definition.CommunityDefinition createCommunityFromTemplate(String communityTitle,
String communityDescription,
com.bea.netuix.application.identifier.PortalPath portalPath,
com.bea.netuix.application.identifier.DesktopPath desktopPath,
com.bea.netuix.application.identifier.CommunityDefinitionId templateId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.DuplicateObjectException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.MissingDataException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
communityTitle - The title for the community.communityDescription - The description for the community.portalPath - The portal path the template is located in.desktopPath - The desktop path associated with this community.templateId - the CommunityDefinitionId of the template to create a community from.context - a resource context
com.bea.netuix.application.exception.DuplicateObjectException - Thrown when a unique key constraint is violated.
com.bea.netuix.application.exception.NotEntitledException - Thrown if the user in the current thread is not entitled to perform
this action.
com.bea.netuix.application.exception.MissingDataException - Thrown if a resource required by this action does not exist.
com.bea.netuix.application.exception.ObjectNotFoundException - Thrown if a resource required by this action is not valid.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.communities.exception.CommunityCallbackException
com.bea.netuix.application.definition.CommunityDefinition createCommunityTemplate(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.DuplicateObjectException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.MissingDataException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.communities.exception.CommunityCallbackException
info - specifies information about the template to createcontext - a resource context
com.bea.netuix.application.exception.DuplicateObjectException
com.bea.netuix.application.exception.NotEntitledException
com.bea.netuix.application.exception.MissingDataException
com.bea.netuix.application.exception.ObjectNotFoundException
com.bea.netuix.application.communities.exception.CommunityCallbackException
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.definition.CommunityDefinition getCommunity(String webApp,
com.bea.netuix.application.identifier.PortalPath portalPath,
com.bea.netuix.application.identifier.DesktopPath desktopPath,
boolean localize,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException
webApp - the webApp of the community to retrieveportalPath - the portal path for the community to retrievedesktopPath - the desktop path for the community to retrievelocalize - if false, the community definition is not localized when returnedcontext - a resource context
com.bea.portal.tools.common.exceptions.ToolsException
void updateCommunity(com.bea.netuix.application.communities.CommunityInfo info,
com.bea.netuix.application.identifier.CommunityDefinitionId communityId,
com.bea.portal.tools.common.ResourceContext context)
throws com.bea.portal.tools.common.exceptions.ToolsException,
com.bea.netuix.application.exception.ObjectNotFoundException,
com.bea.netuix.application.exception.NotEntitledException,
com.bea.netuix.application.exception.IllegalOperationException,
com.bea.netuix.application.exception.ObjectInUseException
info - the new information to update the community definition withcommunityId - the ID of the community to update.context - a resource context
com.bea.netuix.application.exception.ObjectNotFoundException
com.bea.netuix.application.exception.NotEntitledException
com.bea.netuix.application.exception.IllegalOperationException
com.bea.netuix.application.exception.ObjectInUseException
com.bea.portal.tools.common.exceptions.ToolsExceptioncom.bea.netuix.application.communities.exception.CommunityCallbackException
com.bea.netuix.application.exception.DuplicateObjectException
com.bea.netuix.application.exception.NotEntitledException
com.bea.netuix.application.exception.MissingDataException
com.bea.netuix.application.exception.ObjectNotFoundException
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.exception.ObjectInUseException
com.bea.netuix.application.exception.IllegalOperationException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||