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