public interface BasePage<B extends BasePagePropertyBean> extends ManagedPortalObject<B>
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdate
Modifier and Type | Method and Description |
---|---|
void |
addContentItem(ContentItem c)
Add a content item to the
Page . |
void |
addDPTaskFlow(ManagedPortalObject obj)
Add an Application Integration Visualization to the
Page . |
void |
addPageDefinitionParameter(java.lang.String id, java.lang.String value)
Add a pageDefinition parameter If the parameter already exists, update the value
|
void |
clearPageDefinitionParameter()
Remove all parameters from the pageDefinition
|
<T extends ContentItem> |
getContentById(java.lang.Class<? extends ContentItem> type, java.lang.String contentId)
Get the content for a specified type and content id.
|
<T extends ContentItem> |
getContentByType(java.lang.Class<? extends ContentItem> type)
Get all the content of a specified type associated with the
Page . |
<T extends ContentItem> |
getContentItems()
Get all the content associated with the
Page . |
java.util.List<ManagedPortalObject> |
getDPTaskFlow()
Get Application Integration Visualizations related to the
Page . |
Layout |
getLayout()
Gets the layout the page-like entity is currently using
|
java.util.Map<java.lang.String,java.lang.String> |
getPageDefinitionParameters()
Get parameters defined in pageDefinition
|
void |
removeDPTaskFlow(ManagedPortalObject obj)
Remove Application Integration Visualization from the
Page . |
void |
removePageDefinitionParameter(java.lang.String id)
Remove a parameter from the pageDefinition
|
void |
setLayout(Layout layout)
Sets the layout for the page-like entity
|
void |
setLayout(java.lang.String layoutId)
Sets the layout for the page-like entity
|
void |
setPageDefinitionParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Set parameters in pageDefinition
|
copy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setProperties
getId, getProperties, getProperties
void addDPTaskFlow(ManagedPortalObject obj) throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.obj
- The Visualization to addoracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.void removeDPTaskFlow(ManagedPortalObject obj) throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.obj
- The Visualization to removeoracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.java.util.List<ManagedPortalObject> getDPTaskFlow() throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.Collection
of visualizations for the Page
oracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.void addContentItem(ContentItem c) throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.c
- The content item to addoracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.<T extends ContentItem> T getContentById(java.lang.Class<? extends ContentItem> type, java.lang.String contentId) throws oracle.webcenter.portal.PortalOptimisticLockException
type
- the Class
for the type of content to return, e.g. oracle.webcenter.portal.content.publisher.model.TextContentItemcontentId
- id for the content item to return, the contentId is unique for a particular content type on a Page
.oracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.<T extends ContentItem> java.util.List<T> getContentByType(java.lang.Class<? extends ContentItem> type) throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.type
- the Class
for the type of content to returnCollection
with the content items of type type
for the Page
oracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.<T extends ContentItem> java.util.List<T> getContentItems() throws oracle.webcenter.portal.PortalOptimisticLockException
Page
.List
with all content items for the Page
oracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.java.util.Map<java.lang.String,java.lang.String> getPageDefinitionParameters()
void setPageDefinitionParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters
- the parameters to save in pageDefinitionvoid addPageDefinitionParameter(java.lang.String id, java.lang.String value)
id
- the parameter idvalue
- the parameter valuevoid removePageDefinitionParameter(java.lang.String id)
id
- the parameter idvoid clearPageDefinitionParameter()
Layout getLayout()
void setLayout(Layout layout) throws oracle.webcenter.portal.PortalOptimisticLockException
layout
- the layoutoracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.void setLayout(java.lang.String layoutId) throws oracle.webcenter.portal.PortalOptimisticLockException
layoutId
- the id of the layoutoracle.webcenter.portal.PortalOptimisticLockException
- another transaction has updated objects in the current active transaction.