return new CompositeACLPermission(permissions.toArray(new BasicACLPermission[permissions.size()]));
/** * <p> * Method called by the JPA layer after loading the persisted object. * </p> */ @PostLoad @SuppressWarnings("unused") private void loadState() { if (this.permission != null) throw PicketBoxMessages.MESSAGES.aclEntryPermissionAlreadySet(); this.permission = new CompositeACLPermission(this.bitMask); }
/** * <p> * Method called by the JPA layer after loading the persisted object. * </p> */ @PostLoad @SuppressWarnings("unused") private void loadState() { if (this.permission != null) throw PicketBoxMessages.MESSAGES.aclEntryPermissionAlreadySet(); this.permission = new CompositeACLPermission(this.bitMask); }
return getInitialPermissions(parent, identityName); return new CompositeACLPermission(BasicACLPermission.values());
return getInitialPermissions(parent, identityName); return new CompositeACLPermission(BasicACLPermission.values());