Package org.exoplatform.services.jcr.datamodel

Examples of org.exoplatform.services.jcr.datamodel.IllegalACLException


         {
            return new String(exoOwner.getBytes(COLUMN_VDATA));
         }
         else
         {
            throw new IllegalACLException("Property exo:owner is not found for node with id: " + getIdentifier(cid));
         }
      }
      finally
      {
         try
View Full Code Here


         }

         return naPermissions;
      }
      else
         throw new IllegalACLException("Property exo:permissions is not found for node with id: " + getIdentifier(cid));
   }
View Full Code Here

   {
      List<byte[]> ownerValues = properties.get(Constants.EXO_OWNER.getAsString());
      if (ownerValues != null)
         return new String(ownerValues.get(0));
      else
         throw new IllegalACLException("Property exo:owner is not found for node with id: " + getIdentifier(cid));
   }
View Full Code Here

            caid = findParentId(caid);
         else
            caid = naMixins.parentId;
      }

      throw new IllegalACLException("Can not find permissions for a node with id " + getIdentifier(cpid));
   }
View Full Code Here

            caid = findParentId(caid);
         else
            caid = naMixins.parentId;
      }

      throw new IllegalACLException("Can not find owner for a node with id " + getIdentifier(cpid));
   }
View Full Code Here

      {
         // Default values (i.e. ACL is disabled in repository)
         return new AccessControlList();
      }
      else
         throw new IllegalACLException("ACL is not found for node with id " + getIdentifier(cpid)
            + " or for its ancestors. But repository is ACL enabled.");
   }
View Full Code Here

            while (exoPerm.next());

            return naPermissions;
         }
         else
            throw new IllegalACLException("Property exo:permissions is not found for node with id: "
               + getIdentifier(cid));
      }
      finally
      {
         exoPerm.close();
View Full Code Here

      try
      {
         if (exoOwner.next())
            return new String(exoOwner.getBytes(COLUMN_VDATA));
         else
            throw new IllegalACLException("Property exo:owner is not found for node with id: " + getIdentifier(cid));
      }
      finally
      {
         exoOwner.close();
      }
View Full Code Here

         }

         return naPermissions;
      }
      else
         throw new IllegalACLException("Property exo:permissions is not found for node with id: " + getIdentifier(cid));
   }
View Full Code Here

   {
      List<byte[]> ownerValues = properties.get(Constants.EXO_OWNER.getAsString());
      if (ownerValues != null)
         return new String(ownerValues.get(0));
      else
         throw new IllegalACLException("Property exo:owner is not found for node with id: " + getIdentifier(cid));
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.datamodel.IllegalACLException

Copyright © 2018 www.massapicom. 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.