|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
DASHBOARD_PAGE_NAME
|
static java.lang.String |
SYSTEM_PORTLET_PACKAGE
|
Method Summary | |
java.lang.Long |
createPortalPageConfiguration(com.opensymphony.user.User u,
java.lang.String pagename,
java.lang.String description)
|
java.lang.Long |
createPortalPageConfiguration(com.opensymphony.user.User u,
java.lang.String pagename,
java.lang.String description,
java.lang.Long copyPageId)
|
void |
decreasePageConfigurationSequence(com.opensymphony.user.User user,
int position)
|
void |
deletePortalPageConfiguration(com.opensymphony.user.User u,
java.lang.Long pageId)
This function removed a portal page configuration for a user including all of its portlet configurations and there properties |
java.util.Collection |
getAllPortlets()
|
PortalPageConfiguration |
getDefaultPortalPage()
Returns the default portal page configuration |
PortalPageConfiguration |
getEditablePortalPageConfiguration(com.opensymphony.user.User user,
java.lang.Long pageId)
|
PortalPageConfiguration |
getPortalPageConfiguration(com.opensymphony.user.User u,
java.lang.Long pageId)
|
java.util.Map |
getPortalPageConfigurations(com.opensymphony.user.User remoteUser)
Get all the portal pages for a given user. |
Portlet |
getPortlet(java.lang.String id)
|
java.util.Collection |
getPortlets(com.opensymphony.user.User user)
This function returns all the portlets a user has permission to see. |
void |
increasePageConfigurationSequence(com.opensymphony.user.User remoteUser,
int position)
Increases the position of the page configuration ofr the user's page configuration set |
boolean |
isDefaultPortalPageName(java.lang.String pageName)
|
boolean |
isMultiplePortalPagesEnabled()
|
boolean |
isUsingDefaultPortalPageConfigurations(com.opensymphony.user.User remoteUser)
|
void |
movePortlets(java.lang.Long[] selectedPortlets,
PortalPageConfiguration sourcePage,
PortalPageConfiguration destinationPage)
Move portlets from one page to another |
void |
moveToEndPageConfigurationSequence(com.opensymphony.user.User user,
int position)
|
void |
moveToStartPageConfigurationSequence(com.opensymphony.user.User user,
int position)
|
void |
resetDefault(java.lang.String pagename)
This function reloads the default portal page configuration from the database. |
Field Detail |
public static final java.lang.String SYSTEM_PORTLET_PACKAGE
public static final java.lang.String DASHBOARD_PAGE_NAME
Method Detail |
public Portlet getPortlet(java.lang.String id)
public java.util.Collection getAllPortlets()
public java.lang.Long createPortalPageConfiguration(com.opensymphony.user.User u, java.lang.String pagename, java.lang.String description) throws PortletConfigurationException
PortletConfigurationException
public java.lang.Long createPortalPageConfiguration(com.opensymphony.user.User u, java.lang.String pagename, java.lang.String description, java.lang.Long copyPageId) throws PortletConfigurationException
PortletConfigurationException
public PortalPageConfiguration getPortalPageConfiguration(com.opensymphony.user.User u, java.lang.Long pageId) throws PortletConfigurationException
PortletConfigurationException
public PortalPageConfiguration getDefaultPortalPage() throws PortletConfigurationException
PortletConfigurationException
public void deletePortalPageConfiguration(com.opensymphony.user.User u, java.lang.Long pageId) throws PortletConfigurationException
u
- OwnerpageId
- id of portalpage
PortletConfigurationException
public java.util.Collection getPortlets(com.opensymphony.user.User user)
user
- requesting portlets
public PortalPageConfiguration getEditablePortalPageConfiguration(com.opensymphony.user.User user, java.lang.Long pageId) throws PortletConfigurationException
PortletConfigurationException
public void resetDefault(java.lang.String pagename)
pagename
- e.g. dashboard.public java.util.Map getPortalPageConfigurations(com.opensymphony.user.User remoteUser) throws PortletConfigurationException
PortletConfigurationException
public void movePortlets(java.lang.Long[] selectedPortlets, PortalPageConfiguration sourcePage, PortalPageConfiguration destinationPage) throws PortletConfigurationException, org.ofbiz.core.entity.GenericEntityException
PortletConfigurationException
org.ofbiz.core.entity.GenericEntityException
public boolean isUsingDefaultPortalPageConfigurations(com.opensymphony.user.User remoteUser)
public boolean isMultiplePortalPagesEnabled()
public void increasePageConfigurationSequence(com.opensymphony.user.User remoteUser, int position) throws PortletConfigurationException
remoteUser
- position
- the current position of the portal page configuration to move
PortletConfigurationException
public void decreasePageConfigurationSequence(com.opensymphony.user.User user, int position) throws PortletConfigurationException
PortletConfigurationException
public void moveToStartPageConfigurationSequence(com.opensymphony.user.User user, int position) throws PortletConfigurationException
PortletConfigurationException
public void moveToEndPageConfigurationSequence(com.opensymphony.user.User user, int position) throws PortletConfigurationException
PortletConfigurationException
public boolean isDefaultPortalPageName(java.lang.String pageName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |