Package com.orientechnologies.orient.core.metadata.security

Examples of com.orientechnologies.orient.core.metadata.security.ORole.reload()


      if (Logger.isDebugEnabled()) Logger.debug("creating " + r.toString() + "...");
      if (!r.isOrientRole()){ //creates the new baasbox role
        newRole = RoleDao.createRole(r.toString(), r.getInheritsFrom());
      }else//retrieve the existing OrientDB role
        newRole=r.getORole();
        newRole.reload();
      }
      newRole.getDocument().field(FIELD_INTERNAL,true);
      newRole.getDocument().field(FIELD_MODIFIABLE,false);
      newRole.getDocument().field(FIELD_DESCRIPTION,r.getDescription())
      newRole.getDocument().field(FIELD_ASSIGNABLE,r.isAssignable());
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.