|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface
public interface ContentSelectorManagerControl
A custom Java Control used to manage content selectors.
Method Summary | |
---|---|
RuleModel |
getContentSelector(String contentSelectorUri, ResourceContext context) Returns a RuleModel obect representing the content selector at the specified URI. |
SortableFilterablePagedResult<RuleModel> |
getContentSelectors(int pageSize, ResourceContext context) Returns a PagedResult of all the RuleModel objects within the system representing content selectors, in arbitrary order. |
void |
setContentSelector(RuleModel model, ResourceContext context) Persists the given RuleModel representing a content selector. |
void |
setContentSelector(String contentSelectorUri, RuleModel model, boolean create, ResourceContext context) Persists the given RuleModel representing a content selector. |
Method Detail |
---|
SortableFilterablePagedResult<RuleModel> getContentSelectors(int pageSize, ResourceContext context) throws com.bea.p13n.management.data.repository.PersistenceException, org.apache.xmlbeans.XmlException
PagedResult
of all the RuleModel
objects within the system representing content selectors, in arbitrary order. Returns an empty list if no content selectors are defined.pageSize
- the int page size for the PagedResult
context
- the resource contextPagedResult
of RuleModel
objectscom.bea.p13n.management.data.repository.PersistenceException
- if an error occurs while trying to query for the model dataorg.apache.xmlbeans.XmlException
- if an error occurs while parsing the model dataPagedResult
, RuleModel
RuleModel getContentSelector(String contentSelectorUri, ResourceContext context) throws com.bea.p13n.management.data.repository.PersistenceException, org.apache.xmlbeans.XmlException
RuleModel
obect representing the content selector at the specified URI. Returns null if the content selector is not defined.contentSelectorUri
- the string URI for the desired content selectorcontext
- the resource contextRuleModel
representing the desired content selectorcom.bea.p13n.management.data.repository.PersistenceException
- if an error occurs while trying to query for the model dataorg.apache.xmlbeans.XmlException
- if an error occurs while parsing the model dataRuleModel
void setContentSelector(String contentSelectorUri, RuleModel model, boolean create, ResourceContext context) throws IllegalArgumentException, com.bea.p13n.management.data.repository.MessageException, com.bea.p13n.management.data.repository.PersistenceException, org.apache.xmlbeans.XmlException
RuleModel
representing a content selector. Any existing rule at the given contentSelectorUri will be replaced by the new one.contentSelectorUri
- the string URI for the desired content selector. Cannot be null.model
- a RuleModel
representing the content selectorcreate
- if true then create the content selector if it does not exist. If false then do not create the content selector if it does not exist. In both cases, an existing content selector will be replaced with the new one.context
- the resource contextIllegalArgumentException
- if create=false and the content selector you are trying to replace does not exist at the given contentSelectorUri.com.bea.p13n.management.data.repository.MessageException
- if an error occurs while persisting model datacom.bea.p13n.management.data.repository.PersistenceException
- if an error occurs while trying to query for model data or persist model dataorg.apache.xmlbeans.XmlException
- if an error occurs while parsing the model datavoid setContentSelector(RuleModel model, ResourceContext context) throws IllegalArgumentException, com.bea.p13n.management.data.repository.MessageException, com.bea.p13n.management.data.repository.PersistenceException, org.apache.xmlbeans.XmlException
RuleModel
representing a content selector. Any existing rule at the given contentSelectorUri will be replaced by the new one.model
- a RuleModel
representing the content selectorcontext
- the resource contextIllegalArgumentException
- if create=false and the content selector you are trying to replace does not exist at the given contentSelectorUri.com.bea.p13n.management.data.repository.MessageException
- if an error occurs while persisting model datacom.bea.p13n.management.data.repository.PersistenceException
- if an error occurs while trying to query for model data or persist model dataorg.apache.xmlbeans.XmlException
- if an error occurs while parsing the model data
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.