|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.portlet.PortletService
public final class PortletService
class PortletService
Method Summary | |
---|---|
Collection<Portlet> |
getAuthorizedPortletCollection(Collection<Portlet> collectionPortlet,
AdminUser user)
Filter a collection of portlet associated to a given user |
static PortletService |
getInstance()
Get the unique instance of the service |
boolean |
isAuthorized(int idPortlet,
AdminUser user)
Check if a portlet should be visible to the user |
boolean |
isAuthorized(Portlet portlet,
AdminUser user)
Check if a portlet should be visible to the user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PortletService getInstance()
public Collection<Portlet> getAuthorizedPortletCollection(Collection<Portlet> collectionPortlet, AdminUser user)
collectionPortlet
- the The collection to filteruser
- the current user
public boolean isAuthorized(int idPortlet, AdminUser user)
idPortlet
- the id of the portletuser
- the current user
public boolean isAuthorized(Portlet portlet, AdminUser user)
portlet
- the portletuser
- the current user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |