public void loadACLConfig(){
  aclEntries=new ArrayList<>();
  for (  AccessControlLevel item : configuration.getAccessConrolLevels()) {
    ACLEntry aclEntry=new ACLEntry();
    aclEntry.role=item.getRole();
    aclEntry.type=item.getResourceType();
    aclEntry.folder=item.getFolder();
    aclEntry.fileDelete=item.isFileDelete();
    aclEntry.fileRename=item.isFileRename();
    aclEntry.fileUpload=item.isFileUpload();
    aclEntry.fileView=item.isFileView();
    aclEntry.folderCreate=item.isFolderCreate();
    aclEntry.folderDelete=item.isFolderDelete();
    aclEntry.folderRename=item.isFolderRename();
    aclEntry.folderView=item.isFolderView();
    aclEntries.add(aclEntry);
  }
}

public void loadACLConfig ( ) { aclEntries = new ArrayList < > ( ) ; for ( AccessControlLevel item : configuration . getAccessConrolLevels ( ) ) { ACLEntry aclEntry = new ACLEntry ( ) ; aclEntry . role = item . getRole ( ) ; aclEntry . type = item . getResourceType ( ) ; aclEntry . folder = item . getFolder ( ) ; aclEntry . fileDelete = item . isFileDelete ( ) ; aclEntry . fileRename = item . isFileRename ( ) ; aclEntry . fileUpload = item . isFileUpload ( ) ; aclEntry . fileView = item . isFileView ( ) ; aclEntry . folderCreate = item . isFolderCreate ( ) ; aclEntry . folderDelete = item . isFolderDelete ( ) ; aclEntry . folderRename = item . isFolderRename ( ) ; aclEntry . folderView = item . isFolderView ( ) ; aclEntries . add ( aclEntry ) ; } }
loads acl configuration from connector configuration .
