package no.kantega.publishing.api.services.security;

import no.kantega.publishing.api.model.BaseObject;
import no.kantega.publishing.security.data.ObjectPermissionsOverview;
import no.kantega.publishing.security.data.Permission;

import java.util.List;

public interface PermissionAO {
    /**
     * @param object permissions are wanted for.
     * @return all permission defined on the given <code>BaseObject</code>.
     */
    public List<Permission> getPermissions(BaseObject object);

    /**
     * @return Overview of all Permissions for the given <code>no.kantega.publishing.common.data.enums.ObjectType</code>
     * @see no.kantega.publishing.common.data.enums.ObjectType
     */
    public List<ObjectPermissionsOverview> getPermissionsOverview(int objectType);

    /**
     * Set <code>Permission</code>s for a <code>BaseObject</code>
     * @param object - The <code>BaseObject</code> to set permissions for.
     * @param permissions - The permissions to set.
     */
    public void setPermissions(BaseObject object, List<Permission> permissions);
}

@@ -421,31 +421,24 @@
      */%0A    
-public 
 List%3CPermiss
@@ -682,23 +682,16 @@
  */%0A    
-public 
 List%3CObj
@@ -968,23 +968,16 @@
  */%0A    
-public 
 void set

Remove public from methods in PermissionAO.java