|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface public interface PortalDefinitionControl
Method Summary | |
---|---|
void |
createPortalDefinition(String webApp,
PortalPath portalPath,
String title,
String description,
String portalUri,
ResourceContext context)
Create a new portal definition. |
void |
deletePortalDefinition(String webApp,
PortalPath portalPath,
ResourceContext context)
Deletes a portal definition. |
DefinitionCount |
getDefinitionCount(String webApp,
ResourceContext context)
Gets a DefinitionCount object containing counts of definitions within the specified webapp. |
int |
getDesktopDefinitionCount(String webApp,
PortalPath portalPath,
ResourceContext context)
Returns the number of desktops in a portal for a given web app. |
PortalDefinition |
getPortalDefinition(String webApp,
PortalPath portalPath,
ResourceContext context)
Gets a mutable PortalDefinition object. |
int |
getPortalDefinitionCount(String webApp,
ResourceContext context)
Returns the number of portal definitions defined in the system. |
SortableFilterablePagedResult<PortalDefinition> |
getPortalDefinitions(int pageSize,
WebAppSearchCriteria criteria,
ResourceContext context)
Gets all the portal definitions for this web app. |
void |
updatePortalDefinition(String webApp,
PortalPath portalPath,
PortalDefinition pDef,
ResourceContext context)
Updates a portal definition. |
Method Detail |
---|
DefinitionCount getDefinitionCount(String webApp, ResourceContext context) throws ToolsException
webApp
- the web application to get definition counts for.context
- the resource context.
ToolsException
void deletePortalDefinition(String webApp, PortalPath portalPath, ResourceContext context) throws ToolsException, NotEntitledException
webApp
- the web applicationportalPath
- The portal path.context
- the resource context.
ToolsException
NotEntitledException
int getPortalDefinitionCount(String webApp, ResourceContext context) throws ToolsException
webApp
- The webApp the definition count is scoped to.context
- the resource context.
ToolsException
int getDesktopDefinitionCount(String webApp, PortalPath portalPath, ResourceContext context) throws ToolsException
webApp
- the web applicationportalPath
- The portal to query.context
- the resource context.
ToolsException
PortalDefinition getPortalDefinition(String webApp, PortalPath portalPath, ResourceContext context) throws ToolsException, ObjectNotFoundException
webApp
- the web applicationportalPath
- The path to portal.context
- the resource context.
ToolsException
ObjectNotFoundException
SortableFilterablePagedResult<PortalDefinition> getPortalDefinitions(int pageSize, WebAppSearchCriteria criteria, ResourceContext context) throws ToolsException, ObjectNotFoundException
pageSize
- The pagesize of the returned PagedResult.criteria
- the criteria (including webapp) for the searchcontext
- the resource context.
ObjectNotFoundException
ToolsException
void createPortalDefinition(String webApp, PortalPath portalPath, String title, String description, String portalUri, ResourceContext context) throws ToolsException, DuplicateObjectException, NotEntitledException, MissingDataException
webApp
- The web app to associate the portal with.portalPath
- The portal path.title
- The portal title.description
- The portal description.portalUri
- The uri of the portal.context
- the resource context.
ToolsException
DuplicateObjectException
NotEntitledException
MissingDataException
void updatePortalDefinition(String webApp, PortalPath portalPath, PortalDefinition pDef, ResourceContext context) throws ToolsException, ObjectInUseException, NotEntitledException, MissingDataException, ObjectNotFoundException
webApp
- The web app for the portal.portalPath
- The portal path.pDef
- The portal definitioncontext
- the resource context.
ToolsException
ObjectInUseException
NotEntitledException
MissingDataException
ObjectNotFoundException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |