Examples of resetChildrenPermissionReferences()


Examples of com.dotmarketing.business.PermissionAPI.resetChildrenPermissionReferences()

      FieldsCache.addFields(structure, structure.getFields());

      //Refreshing permissions
      PermissionAPI perAPI = APILocator.getPermissionAPI();
      if(field.getFieldType().equals("host or folder")) {
        perAPI.resetChildrenPermissionReferences(structure);
      }

        //http://jira.dotmarketing.net/browse/DOTCMS-5178
      if(!isNew && ((!wasIndexed && fieldForm.isIndexed()) || (wasIndexed && !fieldForm.isIndexed()))){
        // rebuild contentlets indexes
View Full Code Here

Examples of com.dotmarketing.business.PermissionAPI.resetChildrenPermissionReferences()

      //Refreshing permissions
      PermissionAPI perAPI = APILocator.getPermissionAPI();
      if(field.getFieldType().equals("host or folder")) {
        conAPI.cleanHostField(structure, APILocator.getUserAPI().getSystemUser(), false);
        perAPI.resetChildrenPermissionReferences(structure);
      }
      StructureFactory.saveStructure(structure);
      // rebuild contentlets indexes
      conAPI.reindex(structure);
      // remove the file from the cache
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.