com.beasys.commerce.portal.admin.jspbeans
Class UserPersonalizationJspBean
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
|
+--com.beasys.commerce.portal.admin.jspbeans.GroupPersonalizationJspBean
|
+--com.beasys.commerce.portal.admin.jspbeans.UserPersonalizationJspBean
- public class UserPersonalizationJspBean
- extends GroupPersonalizationJspBean
- implements Portlet
The <jsp:usebean> used by the Portal End User Tool
_user_add_portlets.jsp.
- See Also:
- Serialized Form
Method Summary |
Portlet[] |
getAvailablePortlets(Portlet[] availablePortlets,
Portlet[][] allMyPortlets)
|
long |
getUserId()
Get user id. |
java.lang.String |
getUserName()
Gets the user name attribute for this bean. |
Portlet[][] |
getVisiblePortlets(Portlet[] availablePortlets,
Portlet[][] allMyPortlets,
int numCols)
Get visible portlets. |
void |
setUserId(long aUserId)
Set user id. |
void |
setUserName(java.lang.String userName)
Sets the user name attribute for this bean. |
boolean |
updatePortletUser(java.lang.String thePortalName,
java.lang.String theGroupName,
java.lang.String theUserName,
Portlet thePortlet)
Adds/removes/updates portlets for a user based in information in the request
params. |
java.lang.String |
updateUserWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
Portlet[] portlets)
Update user with portlets. |
java.lang.String |
updateUserWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
java.lang.String[] existingPortlets,
java.lang.String[] schemaPortlets)
Adds/removes portlets to a portal user based in information in the request
params. |
Methods inherited from class com.beasys.commerce.portal.admin.jspbeans.GroupPersonalizationJspBean |
getAlternateFooterURL,
getAlternateHeaderURL,
getBannerURL,
getGroupId,
getGroupName,
getMaximizedURL,
isAvailable,
setAlternateFooterURL,
setAlternateHeaderURL,
setAvailable,
setBannerURL,
setGroupId,
setGroupName,
setMaximizedURL,
updateGroupWithPortlet,
updateGroupWithPortlets,
updatePortletGroup |
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,
setTitlebarURL,
setVisible |
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 java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ADD_PORTLET_PREFIX
public static final java.lang.String ADD_PORTLET_PREFIX
UserPersonalizationJspBean
public UserPersonalizationJspBean()
getUserName
public java.lang.String getUserName()
- Gets the user name attribute for this bean.
- Returns:
- The user name.
setUserName
public void setUserName(java.lang.String userName)
- Sets the user name attribute for this bean.
- Parameters:
userName
- The user name.
getUserId
public long getUserId()
- Get user id.
- Returns:
long
setUserId
public void setUserId(long aUserId)
- Set user id.
- Parameters:
aUserId
-
updatePortletUser
public boolean updatePortletUser(java.lang.String thePortalName,
java.lang.String theGroupName,
java.lang.String theUserName,
Portlet thePortlet)
- Adds/removes/updates portlets for a user based in information in the request
params.
- Parameters:
thePortalName
- The name of the portal that the
portlet is associated with.theGroupName
- The name of the portal group to
associate this portal.theUserName
- The name of the user to
associate this portal.- Returns:
- true if successful; false if not.
updateUserWithPortlets
public java.lang.String updateUserWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
java.lang.String[] existingPortlets,
java.lang.String[] schemaPortlets)
- Adds/removes portlets to a portal user based in information in the request
params.
- Parameters:
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 visible portlets for the portal user.schemaPortlets
- A String array of portlet names that represent
the available portlets for the portal user.- Returns:
- true if sucessful, false if not.
updateUserWithPortlets
public java.lang.String updateUserWithPortlets(javax.servlet.http.HttpServletRequest request,
Portal portal,
Portlet[] portlets)
- Update user with portlets.
- Parameters:
request
- portal
- portlets
- - Returns:
String
getAvailablePortlets
public Portlet[] getAvailablePortlets(Portlet[] availablePortlets,
Portlet[][] allMyPortlets)
getVisiblePortlets
public Portlet[][] getVisiblePortlets(Portlet[] availablePortlets,
Portlet[][] allMyPortlets,
int numCols)
- Get visible portlets.
- Parameters:
availablePortlets
- allMyPortlets
- - Returns:
Portlet[][]
Copyright © 2000 BEA Systems, Inc. All Rights Reserved