Class ClusterService


  • public class ClusterService
    extends java.lang.Object
    ClusterService.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterService()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Cluster> getClustersListWithSites​(fr.paris.lutece.portal.business.user.AdminUser adminUser)
      Load the list of sites into each cluster object and returns the list of clusters
      static java.util.List<Cluster> getUserClusters​(fr.paris.lutece.portal.business.user.AdminUser adminUser)
      Load the list of sites into each cluster object and returns the list of clusters
      static boolean IsAddClusterAuthorized​(fr.paris.lutece.portal.business.user.AdminUser adminUser)  
      static boolean IsUserAuthorized​(fr.paris.lutece.portal.business.user.AdminUser adminUser, java.lang.String clusterId, java.lang.String permission)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClusterService

        public ClusterService()
    • Method Detail

      • getClustersListWithSites

        public static java.util.List<Cluster> getClustersListWithSites​(fr.paris.lutece.portal.business.user.AdminUser adminUser)
        Load the list of sites into each cluster object and returns the list of clusters
        Returns:
        the list which contains the data of all the cluster objects
      • getUserClusters

        public static java.util.List<Cluster> getUserClusters​(fr.paris.lutece.portal.business.user.AdminUser adminUser)
        Load the list of sites into each cluster object and returns the list of clusters
        Returns:
        the list which contains the data of all the cluster objects
      • IsAddClusterAuthorized

        public static boolean IsAddClusterAuthorized​(fr.paris.lutece.portal.business.user.AdminUser adminUser)
      • IsUserAuthorized

        public static boolean IsUserAuthorized​(fr.paris.lutece.portal.business.user.AdminUser adminUser,
                                               java.lang.String clusterId,
                                               java.lang.String permission)