Class CmsDriverManager.ResourceOUMap

    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceOUMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CmsOrganizationalUnit> getResourceOrgUnits​(java.lang.String rootPath)
      Gets the list of organizational units to which a given root path belongs, according to the cached OU resource assignments.
      void init​(java.util.Collection<CmsRelation> ouRelations, java.util.Collection<CmsOrganizationalUnit> ous)
      Initializes the OU resource data.
      void init​(CmsDriverManager driverManager, CmsDbContext dbc)
      Reads the OU resource data from the VFS and initializes this instance with it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getResourceOrgUnits

        public java.util.List<CmsOrganizationalUnitgetResourceOrgUnits​(java.lang.String rootPath)
        Gets the list of organizational units to which a given root path belongs, according to the cached OU resource assignments.
        Parameters:
        rootPath - the root path
        Returns:
        the organizational units to which the path belongs
      • init

        public void init​(CmsDriverManager driverManager,
                         CmsDbContext dbc)
                  throws CmsException
        Reads the OU resource data from the VFS and initializes this instance with it.
        Parameters:
        driverManager - the driver manager to use
        dbc - the current DB context
        Throws:
        CmsException - if something goes wrong
      • init

        public void init​(java.util.Collection<CmsRelation> ouRelations,
                         java.util.Collection<CmsOrganizationalUnit> ous)
        Initializes the OU resource data.
        Parameters:
        ouRelations - the current list of OU relations
        ous - the current list of OUs