Uses of Class
org.dspace.authorize.ResourcePolicy

Packages that use ResourcePolicy
org.dspace.app.util   
org.dspace.authorize Handles permissions for DSpace content. 
org.dspace.content Provides an API for reading and manipulating content in the DSpace system. 
 

Uses of ResourcePolicy in org.dspace.app.util
 

Methods in org.dspace.app.util with parameters of type ResourcePolicy
static void AuthorizeUtil.authorizeManagePolicy(Context c, ResourcePolicy rp)
          Can the current user remove or edit the supplied policy?
 

Uses of ResourcePolicy in org.dspace.authorize
 

Methods in org.dspace.authorize that return ResourcePolicy
static ResourcePolicy ResourcePolicy.create(Context context)
          Create a new ResourcePolicy
static ResourcePolicy AuthorizeManager.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, int idGroup, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)
           
static ResourcePolicy ResourcePolicy.find(Context context, int id)
          Get an ResourcePolicy from the database.
static ResourcePolicy AuthorizeManager.findByTypeIdGroupAction(Context c, int dsoType, int dsoID, int groupID, int action, int policyID)
           
 

Methods in org.dspace.authorize that return types with arguments of type ResourcePolicy
static List<ResourcePolicy> AuthorizeManager.findPoliciesByDSOAndType(Context c, DSpaceObject o, String type)
          Return a List of the policies for an object
static List<ResourcePolicy> AuthorizeManager.getPolicies(Context c, DSpaceObject o)
          Return a List of the policies for an object
static List<ResourcePolicy> AuthorizeManager.getPoliciesActionFilter(Context c, DSpaceObject o, int actionID)
          Return a list of policies for an object that match the action
static List<ResourcePolicy> AuthorizeManager.getPoliciesForGroup(Context c, Group g)
          Return a List of the policies for a group
 

Methods in org.dspace.authorize with parameters of type ResourcePolicy
static ResourcePolicy AuthorizeManager.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, int idGroup, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)
           
static boolean AuthorizeManager.isAnIdenticalPolicyAlreadyInPlace(Context c, DSpaceObject o, ResourcePolicy rp)
           
 

Method parameters in org.dspace.authorize with type arguments of type ResourcePolicy
static void AuthorizeManager.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest)
          Copies policies from a list of resource policies to a given DSpaceObject
 

Uses of ResourcePolicy in org.dspace.content
 

Methods in org.dspace.content that return types with arguments of type ResourcePolicy
 List<ResourcePolicy> Bundle.getBitstreamPolicies()
           
 List<ResourcePolicy> Bundle.getBundlePolicies()
           
 

Method parameters in org.dspace.content with type arguments of type ResourcePolicy
 void Bundle.replaceAllBitstreamPolicies(List<ResourcePolicy> newpolicies)
          remove all of the policies for the bundle and bitstream contents and replace them with a new list of policies
 void Item.replaceAllBitstreamPolicies(List<ResourcePolicy> newpolicies)
          remove all of the policies for item's bitstreams and bundles and replace them with a new list of policies
 void Item.replaceAllItemPolicies(List<ResourcePolicy> newpolicies)
          remove all of the policies for item and replace them with a new list of policies
 



Copyright © 2012 DuraSpace. All Rights Reserved.