|
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 LookAndFeelDefinitionControl
A custom control interface used to interact with LookAndFeelDefinitions.
| Method Summary | |
|---|---|
void |
deleteLookAndFeelDefinition(LookAndFeelDefinitionId id,
ResourceContext context)
Deletes a specified LookAndFeelDefinition. |
void |
deleteThemeDefinition(ThemeDefinitionId id,
boolean cascadeDelete,
ResourceContext context)
Delete a ThemeDefinition if it is not currently
in use. |
LookAndFeelDefinition |
getLookAndFeelDefinition(LookAndFeelDefinitionId id,
ResourceContext context)
Used to retieve a single LookAndFeelDefinition object given
an Id. |
LookAndFeelDefinitionId |
getLookAndFeelDefinitionId(String markupName,
String webAppName,
ResourceContext context)
Getter for returning a single LookAndFeelDefinitionId
object given a supplied lookAndFeel
markup name and webapp. |
SortableFilterablePagedResult<LookAndFeelDefinition> |
getLookAndFeelDefinitions(int pageSize,
WebAppSearchCriteria criteria,
ResourceContext context)
This methods gets all LookAndFeelDefinitions scoped to
the specified webapp |
ThemeDefinition |
getThemeDefinition(ThemeDefinitionId id,
ResourceContext context)
Getter for returning a single ThemeDefinition object
given a supplied theme definition identifier. |
SortableFilterablePagedResult<ThemeDefinition> |
getThemeDefinitions(int pageSize,
WebAppSearchCriteria criteria,
ResourceContext context)
Return a PagedResult of ThemeDefinitions
matching the specified criteria. |
| Method Detail |
|---|
SortableFilterablePagedResult<ThemeDefinition> getThemeDefinitions(int pageSize,
WebAppSearchCriteria criteria,
ResourceContext context)
throws ToolsException
Return a PagedResult of ThemeDefinitions
matching the specified criteria.
pageSize - The number of results to retrieve per pagecriteria - The web application to searchcontext - The resource context
ToolsException
ThemeDefinition getThemeDefinition(ThemeDefinitionId id,
ResourceContext context)
throws ToolsException
Getter for returning a single ThemeDefinition object
given a supplied theme definition identifier.
id - the ID of the theme definition to retrievecontext - the resource context
ToolsException
void deleteThemeDefinition(ThemeDefinitionId id,
boolean cascadeDelete,
ResourceContext context)
throws ObjectInUseException,
ToolsException,
NotEntitledException,
ObjectNotFoundException
Delete a ThemeDefinition if it is not currently
in use.
id - the ID of the theme definition to deletecascadeDelete - true if all associated objects should be deleted.context - the resource context
ObjectInUseException
ToolsException
NotEntitledException
ObjectNotFoundException
SortableFilterablePagedResult<LookAndFeelDefinition> getLookAndFeelDefinitions(int pageSize,
WebAppSearchCriteria criteria,
ResourceContext context)
throws ToolsException
LookAndFeelDefinitions scoped to
the specified webapp
pageSize - The size of one page in the PagedResultcriteria - The criteria (such as web application name) to use in the search.context - the resource context.
PagedResult containg iterators of
LookAndFeelDefinitions matching the specified criteria.
ToolsException
LookAndFeelDefinition getLookAndFeelDefinition(LookAndFeelDefinitionId id,
ResourceContext context)
throws ToolsException
LookAndFeelDefinition object given
an Id.
id - the ID of the look and feel to retreivecontext - the resource context.
LookAndFeelDefinition object for the specified ID
ToolsException
void deleteLookAndFeelDefinition(LookAndFeelDefinitionId id,
ResourceContext context)
throws ObjectInUseException,
ToolsException,
NotEntitledException,
ObjectNotFoundException
LookAndFeelDefinition.
id - The id of the look and feel to deletecontext - the resource context.
ObjectInUseException
ToolsException
NotEntitledException
ObjectNotFoundException
LookAndFeelDefinitionId getLookAndFeelDefinitionId(String markupName,
String webAppName,
ResourceContext context)
throws ToolsException
Getter for returning a single LookAndFeelDefinitionId
object given a supplied lookAndFeel
markup name and webapp.
markupName - the markup name attribute supplied on the tag in the .laf filewebAppName - the webapp namecontext - the resource context.
ToolsException
|
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 | ||||||||