Class PortletWindowInvokerUtils
- java.lang.Object
-
- org.silverpeas.core.web.portlets.portal.portletwindow.PortletWindowInvokerUtils
-
public class PortletWindowInvokerUtils extends Object
PortletWindowInvokerUtils is a utility class used by the PortletWindowInvoker
-
-
Constructor Summary
Constructors Constructor Description PortletWindowInvokerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sun.portal.container.EntityID
getEntityID(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName)
Returns the entityID.static String
getPortletTitle(String portletWindowName, com.sun.portal.container.PortletWindowContext pwc)
Returns the title of a portlet.static String
getPortletWindowTitle(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName)
Returns the title of a portlet window.static Map
getRoleMap(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName)
Gets the roleMap property for a portlet window.static Map
getUserInfoMap(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName)
Gets the userInfoMap property for a portlet window.
-
-
-
Method Detail
-
getEntityID
public static com.sun.portal.container.EntityID getEntityID(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName) throws InvokerException
Returns the entityID. It is stored in the portlet registry during deployment time.- Throws:
InvokerException
-
getUserInfoMap
public static Map getUserInfoMap(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName) throws InvokerException
Gets the userInfoMap property for a portlet window. It is stored in the registry during deployment time.- Throws:
InvokerException
-
getRoleMap
public static Map getRoleMap(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName) throws InvokerException
Gets the roleMap property for a portlet window. It is stored in the registry during deployment time.- Throws:
InvokerException
-
getPortletWindowTitle
public static String getPortletWindowTitle(com.sun.portal.container.PortletWindowContext pwc, String portletWindowName) throws InvokerException
Returns the title of a portlet window. It is stored in the registry during deployment time.- Throws:
InvokerException
-
getPortletTitle
public static String getPortletTitle(String portletWindowName, com.sun.portal.container.PortletWindowContext pwc) throws InvokerException
Returns the title of a portlet. It is stored in the registry during deployment time.- Throws:
InvokerException
-
-