|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.beasys.commerce.axiom.jsp.JspBeanBase
|
+--com.beasys.commerce.portal.admin.jspbeans.PortalJspBean
|
+--com.beasys.commerce.portal.admin.jspbeans.PortletJspBean
|
+--com.beasys.commerce.portal.admin.jspbeans.PortalPersonalizationJspBean
The <jsp:usebean> for the Portal Admin Tool named add_portlets.jsp. Also is a base class for other Portal Admin tools.
| Field Summary | |
protected static boolean |
debug
|
static java.lang.String |
IS_AVAILABLE
Constant representing the AVAILABLE state. |
static java.lang.String |
IS_UNAVAILABLE
Constant representing the IS AVAILABLE state. |
static java.lang.String |
IS_VISIBLE
Constant representing the IS VISIBLE state. |
protected boolean |
isAvailable
An HTTP request mapping attribute. |
| Fields inherited from class com.beasys.commerce.portal.admin.jspbeans.PortletJspBean |
alternateFooterURL, alternateHeaderURL, bannerURL, categoryId, column, editURL, floatable, hasHelp, helpURL, iconURL, isEditable, isMandatory, isMinimized, loginRequired, maximizeable, maximizedURL, minimizeable, moveable, row, titlebarURL, visible |
| Fields inherited from class com.beasys.commerce.portal.admin.jspbeans.PortalJspBean |
contentColumnCount, contentColumnCountStr, contentURL, footerURL, headerURL, name, suspended, suspendedURL |
| Fields inherited from class com.beasys.commerce.axiom.jsp.JspBeanBase |
DEFAULT_CATEGORY |
| Constructor Summary | |
PortalPersonalizationJspBean()
Creates a new instance. |
|
| Method Summary | |
int |
calcNumCols(int numToDisplay,
int maxCols)
Determines the number of columns needed to display a set of portlets. |
int |
calcNumRows(int numToDisplay,
int numOfCols)
Determines the number of rows needed to display a set of portlets in an Admin Tool. |
java.lang.String |
getAlternateFooterURL()
Overrides the getAlternateFooterURL method in the PortletJspBean class since this class does not support this attribute. |
java.lang.String |
getAlternateHeaderURL()
Overrides the getAlternateHeaderURL method in the PortletJspBean class since this class does not support this attribute. |
java.lang.String |
getBannerURL()
Overrides the getBannerURL method in the PortletJspBean class since this class does not support this attribute. |
java.lang.String |
getMaximizedURL()
Overrides the getMaximizedURL method from the PortletJspBean class since this class does not support this attribute. |
boolean |
isAvailable()
Returns true if available, false if not. |
java.lang.String[][] |
makeDisplayNamesTable(int rows,
int cols,
java.lang.String[] names)
Takes an array of string names and puts them into rows and columns |
protected void |
sequencePortletsForPortal(java.lang.String aPortalName,
java.util.Vector aPortletVec)
Re-sequences a column of portlets. |
void |
setAlternateFooterURL(java.lang.String ignore)
Overrides the setAlternateFooterURL method in the PortletJspBean class since this class does not support this attribute. |
void |
setAlternateHeaderURL(java.lang.String ignore)
Overrides the setAlternateHeaderURL method in the PortletJspBean class since this class does not support this attribute. |
void |
setAvailable(boolean isAvailable)
Sets the Available attribute |
void |
setBannerURL(java.lang.String ignore)
Overrides the setBannerURL method in the PortletJspBean class since this class does not support this attribute. |
void |
setMaximizedURL(java.lang.String ignore)
Overrides the setMaximizedURL method in the PortletJspBean class since this class does not support this attribute. |
boolean |
updatePortalPortlet(java.lang.String thePortalName,
Portlet thePortlet)
A convenience method only. |
java.lang.String |
updatePortalWithPortlet(java.lang.String aPortalName)
Updates/Adds/removes a portlet to a portal |
boolean |
updatePortalWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
java.lang.String[] existingPortlets,
java.lang.String[] schemaPortlets)
Updates/Adds/removes portlets to/from the Portal Personalization persistent information. |
java.lang.String |
validate()
Validates the attributes of this bean. |
| Methods inherited from class com.beasys.commerce.portal.admin.jspbeans.PortletJspBean |
getCategoryId, getColumn, getEditURL, getHelpURL, getIconURL, getRow, getTitlebarURL, hasHelp, isEditable, isFloatable, isLoginRequired, isMandatory, isMaximizeable, isMinimizeable, isMinimized, isMoveable, isVisible, setCategoryId, setColumn, setEditable, setEditURL, setFloatable, setHelp, setHelpURL, setIconURL, setLoginRequired, setMandatory, setMaximizeable, setMinimizeable, setMinimized, setMoveable, setRow<
|
| Methods inherited from class com.beasys.commerce.portal.admin.jspbeans.PortalJspBean |
clone, getContentColumnCount, getContentColumnCountStr, getContentURL, getFooterURL, getHeaderURL, getName, getPK, getSuspendedURL, isSuspended, setContentColumnCount, setContentColumnCountStr, setContentURL, setFooterURL, setHeaderURL, setName, setPK, setSuspended, setSuspendedURL |
| Methods inherited from class com.beasys.commerce.axiom.jsp.JspBeanBase |
findStringInArray, hasSpecialHTMLChars, isStringLetterOrDigit, validateDoubleValue, validateDoubleValue, validateGroupName, validateIntValue, validateIntValue, validateLength, validateUserName |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.portal.Portlet |
clone, getCategoryId, getColumn, getEditURL, getHelpURL, getIconURL, getRow, getTitlebarURL, hasHelp, isEditable, isFloatable, isLoginRequired, isMandatory, isMaximizeable, isMinimizeable, isMinimized, isMoveable, isVisible, setCategoryId, setColumn, setEditable, setEditURL, setFloatable, setHelp, setHelpURL, setIconURL, setLoginRequired, setMandatory, setMaximizeable, setMinimizeable, setMinimized, setMoveable, setRow, setTitlebarURL, setVisible |
| Methods inherited from interface com.beasys.commerce.portal.Portal |
getContentColumnCount, getContentURL, getFooterURL, getHeaderURL, getName, getSuspendedURL, isSuspended, setContentColumnCount, setContentURL, setFooterURL, setHeaderURL, setName, setSuspended, setSuspendedURL |
| Methods inherited from interface com.beasys.commerce.portal.KeyedObject |
getPK, setPK |
| Field Detail |
protected static boolean debug
public static final java.lang.String IS_AVAILABLE
public static final java.lang.String IS_VISIBLE
public static final java.lang.String IS_UNAVAILABLE
protected boolean isAvailable
| Constructor Detail |
public PortalPersonalizationJspBean()
| Method Detail |
public java.lang.String getMaximizedURL()
getMaximizedURL in interface PortletgetMaximizedURL in class PortletJspBeanpublic void setMaximizedURL(java.lang.String ignore)
setMaximizedURL in interface PortletsetMaximizedURL in class PortletJspBeanignore - This parameter is ignored and the attribute is set
to an empty string.public java.lang.String getBannerURL()
getBannerURL in interface PortletgetBannerURL in class PortletJspBeanpublic void setBannerURL(java.lang.String ignore)
setBannerURL in interface PortletsetBannerURL in class PortletJspBeanignore - This parameter is ignored and the attribute is set
to an empty string.public java.lang.String getAlternateHeaderURL()
getAlternateHeaderURL in interface PortletgetAlternateHeaderURL in class PortletJspBeanpublic void setAlternateHeaderURL(java.lang.String ignore)
setAlternateHeaderURL in interface PortletsetAlternateHeaderURL in class PortletJspBeanignore - This parameter is ignored and the attribute is set
to an empty string.public java.lang.String getAlternateFooterURL()
getAlternateFooterURL in interface PortletgetAlternateFooterURL in class PortletJspBeanpublic void setAlternateFooterURL(java.lang.String ignore)
setAlternateFooterURL in interface PortletsetAlternateFooterURL in class PortletJspBeaningore - This parameter is ignored and the attribute is set
to an empty string.public boolean isAvailable()
isAvailable in interface PortletisAvailable in class PortletJspBeanpublic void setAvailable(boolean isAvailable)
setAvailable in interface PortletsetAvailable in class PortletJspBeanisAvailable - boolean value for the isAvailable attribute.
public int calcNumRows(int numToDisplay,
int numOfCols)
numToDisplay - The number of items to display that
need to be laid out in rows.maxCols - The maximum number of columns to display.
public java.lang.String[][] makeDisplayNamesTable(int rows,
int cols,
java.lang.String[] names)
numToDisplay - The number of items to display that
need to be laid out in rows.rows - The number of rows in the output array.cols - The number of cols in the output array.names - An array of string names to display.
public int calcNumCols(int numToDisplay,
int maxCols)
numToDisplay - The number of items to display that
need to be laid out in rows and columns.maxCols - The maximum number of columns to display.
public boolean updatePortalWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
java.lang.String[] existingPortlets,
java.lang.String[] schemaPortlets)
request - The HTTP request received by the JSP page associated with
this bean.portal - The Portal object associated with the request.existingPortlets - A String array of portlet names that represent
the existing available portlets for the portal.schemaPortlets - A String array of portlet names that represent
the complete set of defined portlets (portlet definitions)public java.lang.String updatePortalWithPortlet(java.lang.String aPortalName)
aPortalName - The name of the portal.
protected void sequencePortletsForPortal(java.lang.String aPortalName,
java.util.Vector aPortletVec)
aPortalName - The portal nameaPortalVec - A vector of portlet references for all portlets
in the column.
public final boolean updatePortalPortlet(java.lang.String thePortalName,
Portlet thePortlet)
thePortalName - The name of the portal to update.thePortlet - The portlet reference to update.public java.lang.String validate()
validate in class PortletJspBean
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||