public class Portal extends Object
| Constructor and Description |
|---|
Portal() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPortlet(Portlet portlet,
int column)
adds a single portlet to the column number provided
|
void |
addPortletColumn(List definitions)
Add a column of portlets to the portal.
|
void |
addPortlets(List definitions)
Attach a list of portlets to the first column of the portal.
|
void |
addPortlets(List definitions,
int column)
Attach a list of portlets to the indicated column of the portal.
|
void |
addPortletsFromString(String stringList,
int column) |
static Portal |
createPortal()
Create and return a new instance.
|
static Portal |
createPortal(String portalName,
String portletName)
Create and return a new named instance with a portlet in the first column.
|
boolean |
doWorkflow()
Participate in workflow in the following circumstances: dialog isWorkflowPortal participate 0 0 1 0 1 0 1 0 0 1 1
1
|
int |
getColumns() |
String |
getDescription() |
String |
getName() |
List |
getPortlets() |
Map |
getWorkflowParams() |
boolean |
isDialog() |
boolean |
isWorkflowPortal()
Getter for property workflowPortal.
|
void |
setColumns(int columns) |
void |
setColumns(String numCols) |
void |
setDescription(String description) |
void |
setDialog(boolean dialog) |
void |
setDialog(String dialog) |
void |
setName(String name) |
void |
setPortlets(List portlets) |
void |
setWorkflowParams(Map m) |
void |
setWorkflowPortal(boolean workflowPortal) |
void |
setWorkflowPortal(String workflowPortal) |
String |
toString() |
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public int getColumns()
public void setColumns(int columns)
public void setColumns(String numCols)
public List getPortlets()
public void setPortlets(List portlets)
public void addPortlet(Portlet portlet, int column)
public void addPortlets(List definitions)
definitions - the List of either Portlet instances or String
instances representing portlet definitionspublic void addPortlets(List definitions, int column)
definitions - the List of either Portlet instances or String
instances representing portlet definitionscolumn - the column (1-based) to which the portlets are addedpublic void addPortletColumn(List definitions)
definitions - the List of either Portlet instances or String
instances representing portlet definitionspublic boolean isDialog()
public void setDialog(boolean dialog)
public void setDialog(String dialog)
public boolean isWorkflowPortal()
public void setWorkflowPortal(boolean workflowPortal)
public void setWorkflowPortal(String workflowPortal)
public Map getWorkflowParams()
public void setWorkflowParams(Map m)
public static Portal createPortal()
public static Portal createPortal(String portalName, String portletName)
portalName - the portal nameportletName - the portlet definition namepublic void addPortletsFromString(String stringList, int column)
public boolean doWorkflow()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.