|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageLayoutComponent
Page layout component interface.
| Field Summary | |
|---|---|
static java.lang.String |
CONTENT_FRAGMENT_ID_SEPARATOR
|
static java.lang.String |
GLOBAL_PROPERTY_SCOPE
global standard property scope |
static boolean |
GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED
group and role standard property scopes enabled flag |
static java.lang.String |
GROUP_PROPERTY_SCOPE
group standard property scope |
static java.lang.String |
ROLE_PROPERTY_SCOPE
role standard property scope |
static java.lang.String |
USER_PROPERTY_SCOPE
user standard property scope |
| Method Summary | |
|---|---|
ContentFragment |
addFragmentAtRowColumn(ContentPage contentPage,
ContentFragment contentFragment,
int row,
int column)
Add fragment to page at specified row column layout position returning associated content fragment. |
ContentFragment |
addFragmentReference(ContentFragment contentFragment,
java.lang.String id)
Add fragment reference to fragment returning associated content fragment. |
ContentFragment |
addFragmentReference(ContentFragment contentFragment,
java.lang.String id,
int row,
int column)
Add fragment reference to fragment with specified row and column returning associated content fragment. |
ContentFragment |
addFragmentReference(ContentPage contentPage,
java.lang.String id)
Add fragment reference to page returning associated content fragment. |
ContentFragment |
addPortlet(ContentFragment contentFragment,
java.lang.String type,
java.lang.String name)
Add portlet to fragment returning associated content fragment. |
ContentFragment |
addPortlet(ContentFragment contentFragment,
java.lang.String type,
java.lang.String name,
int row,
int column)
Add portlet to fragment with specified row and column returning associated content fragment. |
ContentFragment |
addPortlet(ContentPage contentPage,
java.lang.String type,
java.lang.String name)
Add portlet to page returning associated content fragment. |
void |
decrementFolderInDocumentOrder(ContentPage contentPage)
Decrement position of folder in parent folder document order. |
void |
decrementInDocumentOrder(ContentPage contentPage)
Decrement position of page in folder document order. |
void |
incrementFolderInDocumentOrder(ContentPage contentPage)
Increment position of folder in parent folder document order. |
void |
incrementInDocumentOrder(ContentPage contentPage)
Increment position of page in folder document order. |
void |
moveFragment(ContentPage contentPage,
java.lang.String fragmentId,
java.lang.String toFragmentId)
Move fragment in page to another layout fragment in the same page. |
void |
moveFragment(ContentPage contentPage,
java.lang.String fragmentId,
java.lang.String fromFragmentId,
java.lang.String toFragmentId)
Move fragment from current parent layout fragment to another layout fragment in the same page. |
ContentPage |
newContentPage(BaseFragmentsElement pageOrTemplate,
PageTemplate pageTemplate,
java.util.Map fragmentDefinitions)
Construct a new content page hierarchy from PSML page or template, page templates, and fragment definitions. |
void |
newSiblingDynamicPage(ContentPage contentPage,
java.lang.String pageName,
java.lang.String contentType,
java.lang.String layoutName,
java.lang.String pageTitle,
java.lang.String pageShortTitle)
Create new sibling dynamic page with specified configuration. |
void |
newSiblingFolder(ContentPage contentPage,
java.lang.String folderName,
java.lang.String folderTitle,
java.lang.String folderShortTitle,
java.lang.String defaultPageLayoutName)
Create a new sibling folder with specified configuration and new default page. |
void |
newSiblingFragmentDefinition(ContentPage contentPage,
java.lang.String definitionName,
java.lang.String defId,
java.lang.String portletName,
java.lang.String definitionTitle,
java.lang.String definitionShortTitle)
Create new sibling fragment definition with specified configuration. |
void |
newSiblingPage(ContentPage contentPage,
java.lang.String pageName,
java.lang.String layoutName,
java.lang.String pageTitle,
java.lang.String pageShortTitle)
Create new sibling page with specified configuration and add new page at end of folder document order list. |
void |
newSiblingPageTemplate(ContentPage contentPage,
java.lang.String templateName,
java.lang.String layoutName,
java.lang.String templateTitle,
java.lang.String templateShortTitle)
Create new sibling page template with specified configuration. |
void |
remove(ContentPage contentPage)
Remove page and remove from folder document order list. |
void |
removeFolder(ContentPage contentPage)
Remove folder and remove from parent folder document order list. |
void |
removeFragment(ContentPage contentPage,
java.lang.String fragmentId)
Remove fragment from page by id. |
void |
updateContent(ContentPage contentPage,
java.lang.String contentType,
java.lang.Boolean inheritable)
Update dynamic page content type and inheritable flag. |
void |
updateDecorator(ContentFragment contentFragment,
java.lang.String decoratorName)
Update global fragment portlet decorator. |
void |
updateDecorator(ContentFragment contentFragment,
java.lang.String decoratorName,
java.lang.String scope,
java.lang.String scopeValue)
Update fragment portlet decorator. |
void |
updateDefaultDecorator(ContentPage contentPage,
java.lang.String decoratorName,
java.lang.String fragmentType)
Update page default decorator. |
void |
updateFolderTitles(ContentPage contentPage,
java.lang.String title,
java.lang.String shortTitle)
Update folder titles. |
void |
updateName(ContentFragment contentFragment,
java.lang.String name)
Update fragment name. |
void |
updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height)
Update global fragment layout position. |
void |
updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height,
java.lang.String scope,
java.lang.String scopeValue)
Update fragment layout position. |
void |
updatePreferences(ContentFragment contentFragment,
java.util.Map preferences)
Update preferences with new preferences set, accepting Map of strings, string arrays, FragmentPreference or PortletPreference. |
void |
updateProperty(ContentFragment contentFragment,
java.lang.String propName,
java.lang.String propValue)
Update global fragment property. |
void |
updateProperty(ContentFragment contentFragment,
java.lang.String propName,
java.lang.String propValue,
java.lang.String scope,
java.lang.String scopeValue)
Update fragment property. |
void |
updateRefId(ContentFragment contentFragment,
java.lang.String refId)
Update fragment reference reference id. |
void |
updateRowColumn(ContentFragment contentFragment,
int row,
int column)
Update global fragment row and column layout position. |
void |
updateRowColumn(ContentFragment contentFragment,
int row,
int column,
java.lang.String scope,
java.lang.String scopeValue)
Update fragment row and column layout position. |
void |
updateSecurityConstraints(ContentFragment contentFragment,
SecurityConstraints constraints)
Update fragment security constraints. |
void |
updateStateMode(ContentFragment contentFragment,
java.lang.String portletState,
java.lang.String portletMode)
Update global fragment portlet state and/or mode. |
void |
updateStateMode(ContentFragment contentFragment,
java.lang.String portletState,
java.lang.String portletMode,
java.lang.String scope,
java.lang.String scopeValue)
Update fragment portlet state and/or mode. |
void |
updateTitles(ContentPage contentPage,
java.lang.String title,
java.lang.String shortTitle)
Update page titles. |
| Field Detail |
|---|
static final java.lang.String CONTENT_FRAGMENT_ID_SEPARATOR
static final java.lang.String USER_PROPERTY_SCOPE
static final java.lang.String GROUP_PROPERTY_SCOPE
static final java.lang.String ROLE_PROPERTY_SCOPE
static final java.lang.String GLOBAL_PROPERTY_SCOPE
static final boolean GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED
| Method Detail |
|---|
ContentFragment addFragmentAtRowColumn(ContentPage contentPage,
ContentFragment contentFragment,
int row,
int column)
contentPage - content page contextcontentFragment - externally constructed fragment to addrow - fragment row positioncolumn - fragment column position
ContentFragment addFragmentReference(ContentFragment contentFragment,
java.lang.String id,
int row,
int column)
contentFragment - content fragment contextid - fragment definition idrow - fragment row positioncolumn - fragment column position
ContentFragment addFragmentReference(ContentFragment contentFragment,
java.lang.String id)
contentFragment - content fragment contextid - fragment definition id
ContentFragment addFragmentReference(ContentPage contentPage,
java.lang.String id)
contentPage - content page contextid - fragment definition id
ContentFragment addPortlet(ContentFragment contentFragment,
java.lang.String type,
java.lang.String name,
int row,
int column)
contentFragment - content fragment contexttype - portlet typename - portlet namerow - fragment row positioncolumn - fragment column position
ContentFragment addPortlet(ContentFragment contentFragment,
java.lang.String type,
java.lang.String name)
contentFragment - content fragment contexttype - portlet typename - portlet name
ContentFragment addPortlet(ContentPage contentPage,
java.lang.String type,
java.lang.String name)
contentPage - content page contexttype - portlet typename - portlet name
void decrementFolderInDocumentOrder(ContentPage contentPage)
contentPage - content page contextvoid decrementInDocumentOrder(ContentPage contentPage)
contentPage - content page contextvoid incrementFolderInDocumentOrder(ContentPage contentPage)
contentPage - content page contextvoid incrementInDocumentOrder(ContentPage contentPage)
contentPage - content page context
void moveFragment(ContentPage contentPage,
java.lang.String fragmentId,
java.lang.String toFragmentId)
contentPage - content page contextfragmentId - fragment id of fragment to movetoFragmentId - fragment id of new parent layout fragment
void moveFragment(ContentPage contentPage,
java.lang.String fragmentId,
java.lang.String fromFragmentId,
java.lang.String toFragmentId)
contentPage - content page contextfragmentId - fragment id of fragment to movefromFragmentId - fragment id of current parent layout fragment or
or null if fragment to be found anywhere in pagetoFragmentId - fragment id of new parent layout fragment
ContentPage newContentPage(BaseFragmentsElement pageOrTemplate,
PageTemplate pageTemplate,
java.util.Map fragmentDefinitions)
pageOrTemplate - PSML page or template to construct content page frompageTemplate - PSML page template to merge into content pagefragmentDefinitions - PSML fragment definitions referenced
by page and/or page template
void newSiblingFolder(ContentPage contentPage,
java.lang.String folderName,
java.lang.String folderTitle,
java.lang.String folderShortTitle,
java.lang.String defaultPageLayoutName)
contentPage - content page contextfolderName - unique new folder name, (also used as
default page title)folderTitle - new folder title or nullfolderShortTitle - new folder short title or nulldefaultPageLayoutName - root level layout fragment name
for default page
void newSiblingPage(ContentPage contentPage,
java.lang.String pageName,
java.lang.String layoutName,
java.lang.String pageTitle,
java.lang.String pageShortTitle)
contentPage - content page contextpageName - unique new page namelayoutName - root level layout fragment name or nullpageTitle - new page title or nullpageShortTitle - new page short title or null
void newSiblingDynamicPage(ContentPage contentPage,
java.lang.String pageName,
java.lang.String contentType,
java.lang.String layoutName,
java.lang.String pageTitle,
java.lang.String pageShortTitle)
contentPage - content page contextpageName - unique new dynamic page namecontentType - dynamic page content typelayoutName - root level layout fragment name or nullpageTitle - new page title or nullpageShortTitle - new page short title or null
void newSiblingPageTemplate(ContentPage contentPage,
java.lang.String templateName,
java.lang.String layoutName,
java.lang.String templateTitle,
java.lang.String templateShortTitle)
contentPage - content page contexttemplateName - unique new page template namelayoutName - root level layout fragment name or nulltemplateTitle - new page title or nulltemplateShortTitle - new page short title or null
void newSiblingFragmentDefinition(ContentPage contentPage,
java.lang.String definitionName,
java.lang.String defId,
java.lang.String portletName,
java.lang.String definitionTitle,
java.lang.String definitionShortTitle)
contentPage - content page contextdefinitionName - unique new fragment definition namedefId - unique new fragment definition id or nullportletName - root level portlet fragment name or nulldefinitionTitle - new page title or nulldefinitionShortTitle - new page short title or null
void removeFragment(ContentPage contentPage,
java.lang.String fragmentId)
contentPage - content page contextfragmentId - id of fragment to removevoid remove(ContentPage contentPage)
contentPage - content page contextvoid removeFolder(ContentPage contentPage)
contentPage - content page context
void updateContent(ContentPage contentPage,
java.lang.String contentType,
java.lang.Boolean inheritable)
contentPage - content page contextcontentType - dynamic page content typecontentType - dynamic page content type
void updateDecorator(ContentFragment contentFragment,
java.lang.String decoratorName)
contentFragment - content fragment contextdecoratorName - portlet decorator name
void updateDecorator(ContentFragment contentFragment,
java.lang.String decoratorName,
java.lang.String scope,
java.lang.String scopeValue)
contentFragment - content fragment contextdecoratorName - portlet decorator namescope - property scopescopeValue - property scope value
void updateDefaultDecorator(ContentPage contentPage,
java.lang.String decoratorName,
java.lang.String fragmentType)
contentPage - content page contextdecoratorName - decorator namefragmentType - decorator fragment type
void updateFolderTitles(ContentPage contentPage,
java.lang.String title,
java.lang.String shortTitle)
contentPage - content page contexttitle - folder titleshortTitle - folder short title
void updateName(ContentFragment contentFragment,
java.lang.String name)
contentFragment - content fragment contextname - fragment name
void updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height)
contentFragment - content fragment contextx - fragment X coordinate or -1y - fragment Y coordinate or -1z - fragment Z level or -1width - fragment portlet width or -1height - fragment portlet height or -1
void updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height,
java.lang.String scope,
java.lang.String scopeValue)
contentFragment - content fragment contextx - fragment X coordinate or -1y - fragment Y coordinate or -1z - fragment Z level or -1width - fragment portlet width or -1height - fragment portlet height or -1scope - properties scopescopeValue - properties scope value
void updatePreferences(ContentFragment contentFragment,
java.util.Map preferences)
contentFragment - content fragment contextpreferences - map of new preferences set.
void updateProperty(ContentFragment contentFragment,
java.lang.String propName,
java.lang.String propValue)
contentFragment - content fragment contextpropName - fragment property namepropValue - fragment property value
void updateProperty(ContentFragment contentFragment,
java.lang.String propName,
java.lang.String propValue,
java.lang.String scope,
java.lang.String scopeValue)
contentFragment - content fragment contextpropName - fragment property namepropValue - fragment property valuescope - property scopescopeValue - property scope value
void updateRefId(ContentFragment contentFragment,
java.lang.String refId)
contentFragment - content fragment contextrefId - referenced fragment definition id
void updateRowColumn(ContentFragment contentFragment,
int row,
int column)
contentFragment - content fragment contextrow - fragment row positioncolumn - fragment column position
void updateRowColumn(ContentFragment contentFragment,
int row,
int column,
java.lang.String scope,
java.lang.String scopeValue)
contentFragment - content fragment contextrow - fragment row positioncolumn - fragment column positionscope - properties scopescopeValue - properties scope value
void updateSecurityConstraints(ContentFragment contentFragment,
SecurityConstraints constraints)
contentFragment - content fragment contextconstraints - security constraints
void updateStateMode(ContentFragment contentFragment,
java.lang.String portletState,
java.lang.String portletMode)
contentFragment - content fragment contextportletState - fragment portlet state or nullportletMode - fragment portlet mode or null
void updateStateMode(ContentFragment contentFragment,
java.lang.String portletState,
java.lang.String portletMode,
java.lang.String scope,
java.lang.String scopeValue)
contentFragment - content fragment contextportletState - fragment portlet state or nullportletMode - fragment portlet mode or nullscope - properties scopescopeValue - properties scope value
void updateTitles(ContentPage contentPage,
java.lang.String title,
java.lang.String shortTitle)
contentPage - content page contexttitle - page titleshortTitle - page short title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||