|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPortletCategoryManager
Defines methods to manage a hierarchy of PortletDefinition
s.
Assumes that the hierarchy is a top down tree with each category having
only one parent category. A PortletDefinition
can
reside under multiple categories. All calls are subject to entitlements-based
filtering.
Method Summary | |
---|---|
void |
addPortletDefinition(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
PortletDefinitionId pdId)
Adds a PortletDefinitionId to a portlet category. |
PortletCategoryDefinition |
createCategory(CustomizationContext customizationContext,
PortletCategoryDefinition pcd)
Creates a persistent version of a PortletCategoryDefinition
from the provided PortletCategoryDefinition . |
PortletCategoryDefinition |
createRootCategory(CustomizationContext customizationContext,
PortletCategoryDefinition root)
Creates and returns a root category |
int |
deleteCategory(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Deletes all (including localized) versions of a category. |
void |
deletePortletDefinition(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
PortletDefinitionId pdId)
Deletes a PortletDefinitionId from a portlet category. |
int |
deletePortletDefinitions(CustomizationContext customizationContext,
PortletDefinitionId pdId)
Deletes a PortletDefinitionId from all portlet categories. |
PortletCategoryDefinitionId[] |
getAllPortletDefinitionCategories(CustomizationContext customizationContext,
PortletDefinitionId pdId)
Returns all the PortletCategoryDefinition s that a
PortletDefinition is a part of. |
PortletCategoryDefinitionId[] |
getAncestorIds(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns an array of PortletCategoryDefinitionId s that
represent the ancestors of a category starting with the parent
category and ending with the root. |
PortletCategoryDefinition[] |
getAncestors(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns an array of PortletCategoryDefinition s that
represent the ancestors of a category starting with the parent
category and ending with the root. |
PortletCategoryDefinition[] |
getCategories(CustomizationContext customizationContext,
PortletCategoryDefinitionId[] pcdId)
Returns an array of PortletCategoryDefinition s corresponding
to an array of PortletCategoryDefinitionId s. |
PortletCategoryDefinition |
getCategory(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns a PortletCategoryDefinition corresponding to a
PortletCategoryDefinitionId . |
int |
getCategoryCount(CustomizationContext customizationContext,
String webAppName)
Returns the number of categories recursively starting with the root category. |
PortletCategoryDefinitionId[] |
getCategoryIds(CustomizationContext customizationContext,
int begin,
int end,
String webAppName)
Returns an array of PortletCategoryDefinitionId s in the
begin and end range. |
PortletCategoryView |
getCategoryView(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns a PortletCategoryView corresponding to a
PortletCategoryDefinitionId .NOTE: This method returns a deep copy of a category definition. |
PortletCategoryView[] |
getCategoryViews(CustomizationContext customizationContext,
PortletCategoryDefinitionId[] pcdId)
Returns an array of PortletCategoryView s corresponding
to an array of PortletCategoryDefinitionId s.NOTE:If some of the PortletCategoryDefinition s in the
method argument are parents or children of one another duplicated data
will get returned in the PortletCategoryView objects.Also, the returned View objects can be quite large. |
int |
getNonCategorizedPortletDefinitionCount(CustomizationContext customizationContext,
String webAppName)
Returns the number of PortletDefinition s that are
not included under any category. |
PortletDefinitionId[] |
getNonCategorizedPortletDefinitionIds(CustomizationContext customizationContext,
int begin,
int end,
String webAppName)
Returns noncategorized PortletDefinitionId s in the
begin and end range. |
PortletDefinition[] |
getNonCategorizedPortletDefinitions(CustomizationContext customizationContext,
int begin,
int end,
String webAppName)
Returns noncategorized PortletDefinition s in the
begin and end range. |
PortletView[] |
getNonCategorizedPortletViews(CustomizationContext customizationContext,
int begin,
int end,
String webAppName)
Returns noncategorized PortletView s in the
begin and end range. |
SortableFilterablePagedResult<PortletCategoryDefinition> |
getPortletCategoryDefinitions(CustomizationContext customizationContext,
WebAppSearchCriteria criteria,
int pageSize)
Returns a paged result of PortletCategoryDefinition s for
a webapp. |
PortletCategoryDefinitionId[] |
getPortletDefinitionCategories(CustomizationContext customizationContext,
PortletDefinitionId pdId)
Returns all the PortletCategoryDefinition s that a
PortletDefinition is a part of. |
int |
getPortletDefinitionCount(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns the number of PortletDefinition s under category
pcdId . |
SortableFilterablePagedResult<PortletDefinition> |
getPortletDefinitions(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int pageSize)
Returns PortletDefinition s for a given category pcdId . |
PortletDefinition[] |
getPortletDefinitions(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns PortletDefinition s in the begin
and end range under the category pcdId . |
PortletView[] |
getPortletViews(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns PortletView s in the begin and
end range under the category pcdId . |
PortletCategoryDefinition |
getRootCategory(CustomizationContext customizationContext,
String webAppName)
Returns the root of the PortletCategory hierarchy. |
PortletCategoryDefinition[] |
getSiblingCategories(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns an array of PortletCategoryDefinition s for
sibling categories of the category represented by pcdId in
the begin and end range.If fewer categories
than (begin-end) exist then the former number of categories is
returned. |
int |
getSiblingCategoryCount(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns the number of categories at the same level as a category. |
PortletCategoryDefinitionId[] |
getSiblingCategoryIds(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns an array of PortletCategoryDefinitionId s for
sibling categories of the category represented by pcdId in
the begin and end range. |
PortletCategoryView[] |
getSiblingCategoryViews(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns an array of PortletCategoryView s for
sibling categories of the category represented by pcdId in
the begin and end range. |
PortletCategoryDefinition[] |
getSubCategories(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns an array of PortletCategoryDefinition s for
subcategories of the category represented by pcdId in the
begin and end range.If fewer categories
than (begin-end) exist then the former number of categories is
returned. |
SortableFilterablePagedResult<PortletCategoryDefinition> |
getSubCategories(CustomizationContext customizationContext,
PortletCategoryDefinitionId parentCategoryId,
WebAppSearchCriteria criteria,
int pageSize)
Returns a paged result of PortletCategoryDefinition s for
subcategories of the category represented by parentCategoryId
The implementation has to ensure that repeated calls to this
method return PortletCategoryDefinition s in a consistent
order. |
int |
getSubCategoryCount(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId)
Returns the number of immediate categories under category pcdId . |
PortletCategoryDefinitionId[] |
getSubCategoryIds(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
int begin,
int end)
Returns an array of PortletCategoryDefinitionId s for
subcategories of the category represented by pcdId in the
begin and end range. |
SortableFilterablePagedResult<LocalizationResourceView> |
getVisiblePortletCategoryLocalizationResources(CustomizationContext customizationContext,
WebAppSearchCriteria criteria,
int pageSize)
Retrieve the LocalizationResourceViews for all visible portlet categories for a given locale and webapp. |
void |
moveCategory(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
PortletCategoryDefinitionId newParentId)
Moves a category under a new parent. |
void |
updateCategory(CustomizationContext customizationContext,
PortletCategoryDefinitionId pcdId,
PortletCategoryDefinition newPcd)
Updates a locale specific version of a category based on a new PortletCategoryDefinition . |
Method Detail |
---|
PortletCategoryDefinition createRootCategory(CustomizationContext customizationContext, PortletCategoryDefinition root) throws RemoteException, MissingDataException, NotEntitledException
customizationContext
- customization information such as preferred
localesroot
- PortletCategoryDefinition
for the root category
MissingDataException
- if some data is missing
NotEntitledException
- if caller does not have permission for this
operation
RemoteException
PortletCategoryDefinition getRootCategory(CustomizationContext customizationContext, String webAppName) throws RemoteException, ObjectNotFoundException
customizationContext
- customization information such as preferred
localeswebAppName
- the name of the webapp as defined in the config.xml
PortletCategoryDefinition
.
ObjectNotFoundException
- if the root category does not exist
RemoteException
int getCategoryCount(CustomizationContext customizationContext, String webAppName) throws RemoteException
webAppName
- the name of the webapp as defined in the config.xml
RemoteException
PortletCategoryDefinition getCategory(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinition
corresponding to a
PortletCategoryDefinitionId
.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
PortletCategoryDefinition
ObjectNotFoundException
- if no category definition is found
RemoteException
PortletCategoryView getCategoryView(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryView
corresponding to a
PortletCategoryDefinitionId
.PortletCategoryDefinitionId
in the category hierarchy the larger the size of the returned
PortletCategoryView
object is going to be. An example of
such a degenerative case would be to call this method for the root
category in which case all category definitions and all portlet
definitions that are categorized will be returned.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
PortletCategoryView
ObjectNotFoundException
- if no category definition is found
RemoteException
PortletCategoryDefinitionId[] getCategoryIds(CustomizationContext customizationContext, int begin, int end, String webAppName) throws RemoteException
PortletCategoryDefinitionId
s in the
begin
and end
range. If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletCategoryDefinitionId
s in a consistent
order.
customizationContext
- customization information such as preferred
localesbegin
- begin indexend
- end indexwebAppName
- as defined in the config.xml
PortletCategoryDefinitionId
s
RemoteException
PortletCategoryDefinition[] getCategories(CustomizationContext customizationContext, PortletCategoryDefinitionId[] pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinition
s corresponding
to an array of PortletCategoryDefinitionId
s.
customizationContext
- customization information such as preferred
localespcdId
- array of PortletCategoryDefinitionId
s
PortletCategoryDefinition
s
ObjectNotFoundException
- if category for any key does not exist
RemoteException
SortableFilterablePagedResult<PortletCategoryDefinition> getPortletCategoryDefinitions(CustomizationContext customizationContext, WebAppSearchCriteria criteria, int pageSize) throws RemoteException
PortletCategoryDefinition
s for
a webapp.
The returned PagedResult is sortable and filterable on the field "TITLE", and supports these filter methods:
customizationContext
- customization information such as preferred
localescriteria
- criteria for the search, including the name of the web application
where the requested resources livepageSize
- - number of results to retrieve per page
PortletCategoryDefinition
s
RemoteException
PortletCategoryView[] getCategoryViews(CustomizationContext customizationContext, PortletCategoryDefinitionId[] pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryView
s corresponding
to an array of PortletCategoryDefinitionId
s.PortletCategoryDefinition
s in the
method argument are parents or children of one another duplicated data
will get returned in the PortletCategoryView
objects.getCategoryView
.
customizationContext
- customization information such as preferred
localespcdId
- array of PortletCategoryDefinitionId
s
PortletCategoryView
s
ObjectNotFoundException
- if category for any key does not exist
RemoteException
note for caveat
PortletCategoryDefinitionId[] getAncestorIds(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinitionId
s that
represent the ancestors of a category starting with the parent
category and ending with the root.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
PortletCategoryDefinitionId
s
ObjectNotFoundException
- if category does not exist
RemoteException
PortletCategoryDefinition[] getAncestors(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinition
s that
represent the ancestors of a category starting with the parent
category and ending with the root.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
PortletCategoryDefinition
s
ObjectNotFoundException
- if category does not exist
RemoteException
int getSubCategoryCount(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException
pcdId
.
pcdId
- PortletCategoryDefinitionId
pcdId
RemoteException
PortletCategoryDefinitionId[] getSubCategoryIds(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException
PortletCategoryDefinitionId
s for
subcategories of the category represented by pcdId
in the
begin
and end
range. If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletCategoryDefinitionId
s in a consistent
order.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletCategoryDefinitionId
s
RemoteException
PortletCategoryDefinition[] getSubCategories(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinition
s for
subcategories of the category represented by pcdId
in the
begin
and end
range.If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletCategoryDefinition
s in a consistent
order.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletCategoryDefinition
s
ObjectNotFoundException
- if category does not exist
RemoteException
SortableFilterablePagedResult<PortletCategoryDefinition> getSubCategories(CustomizationContext customizationContext, PortletCategoryDefinitionId parentCategoryId, WebAppSearchCriteria criteria, int pageSize) throws RemoteException
PortletCategoryDefinition
s for
subcategories of the category represented by parentCategoryId
The implementation has to ensure that repeated calls to this
method return PortletCategoryDefinition
s in a consistent
order.
The returned PagedResult is sortable and filterable on the field "TITLE", and supports these filter methods:
customizationContext
- customization information such as preferred
localesparentCategoryId
- the parent PortletCategoryDefinitionId
criteria
- criteria for the search, including the name of the web application
where the requested resources livepageSize
- - number of results to retrieve per page
PortletCategoryDefinition
s
RemoteException
int getSiblingCategoryCount(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException
pcdId
- PortletCategoryDefinitionId
pcdId
RemoteException
PortletCategoryDefinitionId[] getSiblingCategoryIds(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException
PortletCategoryDefinitionId
s for
sibling categories of the category represented by pcdId
in
the begin
and end
range. If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletCategoryDefinitionId
s in a consistent
order.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletCategoryDefinitionId
s
RemoteException
PortletCategoryDefinition[] getSiblingCategories(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException, ObjectNotFoundException
PortletCategoryDefinition
s for
sibling categories of the category represented by pcdId
in
the begin
and end
range.If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletCategoryDefinition
s in a consistent
order.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletCategoryDefinition
s
ObjectNotFoundException
- if category does not exist
RemoteException
PortletCategoryView[] getSiblingCategoryViews(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException, ObjectNotFoundException
PortletCategoryView
s for
sibling categories of the category represented by pcdId
in
the begin
and end
range. If fewer categories
than (begin-end) exist then the former number of category views is
returned. If no definitions are found an empty array is returned.PortletCategoryView
s in a consistent
order.getCategoryView
.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletCategoryDefinition
s
ObjectNotFoundException
- if category does not exist
RemoteException
note for caveat
int getPortletDefinitionCount(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException
PortletDefinition
s under category
pcdId
.
pcdId
- PortletCategoryDefinitionId
PortletDefinition
s under category
pcdId
RemoteException
PortletDefinition[] getPortletDefinitions(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException
PortletDefinition
s in the begin
and end
range under the category pcdId
.
If fewer PortletDefinition
s than (begin-end) exist
then the former number is returned. If no definitions are
found an empty array is returned.PortletDefinition
s.PortletDefinition
s in a consistent
order.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletDefinition
s
RemoteException
SortableFilterablePagedResult<PortletDefinition> getPortletDefinitions(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int pageSize) throws RemoteException
PortletDefinition
s for a given category pcdId
.
The returned PagedResult is sortable and filterable on the field "TITLE", and supports these filter methods:
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
PortletDefinition
s
RemoteException
PortletView[] getPortletViews(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, int begin, int end) throws RemoteException, ObjectNotFoundException
PortletView
s in the begin
and
end
range under the category pcdId
. If fewer
views than (begin-end) exist then the former number of views is returned.
If no views are found an empty array is returned.PortletDefinition
s.PortletView
s in a consistent
order.getCategoryView
.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
begin
- begin indexend
- end index
PortletView
s
RemoteException
ObjectNotFoundException
note for caveat
void addPortletDefinition(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, PortletDefinitionId pdId) throws RemoteException, NotEntitledException
PortletDefinitionId
to a portlet category.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
pdId
- PortletDefinitionId
NotEntitledException
- if caller does not have permission for this
operation
RemoteException
void deletePortletDefinition(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, PortletDefinitionId pdId) throws RemoteException, NotEntitledException
PortletDefinitionId
from a portlet category.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
pdId
- PortletDefinitionId
NotEntitledException
- if caller does not have permission for this
operation
RemoteException
int deletePortletDefinitions(CustomizationContext customizationContext, PortletDefinitionId pdId) throws RemoteException, NotEntitledException
PortletDefinitionId
from all portlet categories.
customizationContext
- customization information such as preferred
localespdId
- PortletDefinitionId
PortletDefinition
deleted
NotEntitledException
- is caller does not have permission for this
operation
RemoteException
PortletCategoryDefinitionId[] getAllPortletDefinitionCategories(CustomizationContext customizationContext, PortletDefinitionId pdId) throws RemoteException
PortletCategoryDefinition
s that a
PortletDefinition
is a part of. Returns an empty array
if the latter is noncategorized.
customizationContext
- customization information such as preferred
localespdId
- PortletDefinitionId
PortletCategoryDefinitionId
s
RemoteException
PortletCategoryDefinitionId[] getPortletDefinitionCategories(CustomizationContext customizationContext, PortletDefinitionId pdId) throws RemoteException
PortletCategoryDefinition
s that a
PortletDefinition
is a part of. Category entitlements are
filtered here. Returns an empty array if the latter is noncategorized.
customizationContext
- customization information such as preferred
localespdId
- PortletDefinitionId
PortletCategoryDefinitionId
s
RemoteException
int getNonCategorizedPortletDefinitionCount(CustomizationContext customizationContext, String webAppName) throws RemoteException
PortletDefinition
s that are
not included under any category.
webAppName
- the web app name as defined in the config.xml
PortletDefinition
s
RemoteException
PortletDefinitionId[] getNonCategorizedPortletDefinitionIds(CustomizationContext customizationContext, int begin, int end, String webAppName) throws RemoteException
PortletDefinitionId
s in the
begin
and end
range. If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletDefinitionId
s.PortletDefinition
s in a consistent
order.
customizationContext
- customization information such as preferred
localesbegin
- begin indexend
- end indexwebAppName
- the web app name as defined in the config.xml
PortletDefinitionId
s
RemoteException
PortletDefinition[] getNonCategorizedPortletDefinitions(CustomizationContext customizationContext, int begin, int end, String webAppName) throws RemoteException
PortletDefinition
s in the
begin
and end
range. If fewer categories
than (begin-end) exist then the former number of categories is
returned. If no definitions are found an empty array is returned.PortletDefinition
s.PortletDefinition
s in a consistent
order.
customizationContext
- customization information such as preferred
localesbegin
- begin indexend
- end indexwebAppName
- the web app name as defined in the config.xml
PortletDefinition
s
RemoteException
PortletView[] getNonCategorizedPortletViews(CustomizationContext customizationContext, int begin, int end, String webAppName) throws RemoteException
PortletView
s in the
begin
and end
range. If fewer categories
than (begin-end) exist then the former number of category views is
returned. If no definitions are found an empty array is returned.PortletDefinition
s.PortletView
s in a consistent
order.
customizationContext
- customization information such as preferred
localesbegin
- begin indexend
- end indexwebAppName
- the web app name as defined in the config.xml
PortletView
s
RemoteException
PortletCategoryDefinition createCategory(CustomizationContext customizationContext, PortletCategoryDefinition pcd) throws RemoteException, NotEntitledException, MissingDataException, IllegalArgumentException
PortletCategoryDefinition
from the provided PortletCategoryDefinition
.
customizationContext
- customization information such as preferred
localespcd
- PortletCategoryDefinition
PortletCategoryDefinition
NotEntitledException
- if caller does not have permission for this
operation
MissingDataException
- if data required to create a category is
missing
IllegalArgumentException
- if the category can't be created
RemoteException
int deleteCategory(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId) throws RemoteException, NotEntitledException
customizationContext
- customization information such as preferred
localespcdId
- category to be removed
NotEntitledException
- if caller does not have permission for this
operation
RemoteException
void updateCategory(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, PortletCategoryDefinition newPcd) throws RemoteException, ObjectNotFoundException, ObjectInUseException, NotEntitledException, MissingDataException, IllegalArgumentException
PortletCategoryDefinition
.
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
newPcd
- new PortletCategoryDefinition
ObjectNotFoundException
- if category does not exist
NotEntitledException
- if caller does not have permission for this
operation
MissingDataException
- if data required to update a category is
missing
RemoteException
ObjectInUseException
IllegalArgumentException
void moveCategory(CustomizationContext customizationContext, PortletCategoryDefinitionId pcdId, PortletCategoryDefinitionId newParentId) throws RemoteException, ObjectNotFoundException, NotEntitledException
customizationContext
- customization information such as preferred
localespcdId
- PortletCategoryDefinitionId
newParentId
- new parent PortletCategoryDefinitionId
ObjectNotFoundException
- if category does not exist
NotEntitledException
- if caller does not have permission for this
operation
RemoteException
SortableFilterablePagedResult<LocalizationResourceView> getVisiblePortletCategoryLocalizationResources(CustomizationContext customizationContext, WebAppSearchCriteria criteria, int pageSize) throws RemoteException
customizationContext
- - a customization context with a request and locale defined. Only the first locale is used.criteria
- criteria for the search, including the name of the web application
where the requested resources livepageSize
- - number of results to retrieve per page
SortableFilterablePagedResult
of visible PortletCategory
LocalizationResources
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |