| Package | Description |
|---|---|
| org.dspace.app.util |
Miscellaneous utility classes.
|
| org.dspace.authorize |
Handles permissions for DSpace content.
|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeUtil.authorizeManagePolicy(Context c,
ResourcePolicy rp)
Can the current user remove or edit the supplied policy?
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeManager.addPolicies(Context c,
List<ResourcePolicy> policies,
DSpaceObject dest)
Copies policies from a list of resource policies to a given DSpaceObject
|
| Modifier and Type | Method and Description |
|---|---|
List<ResourcePolicy> |
Bundle.getBitstreamPolicies() |
List<ResourcePolicy> |
Bundle.getBundlePolicies() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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.replaceAllItemPolicies(List<ResourcePolicy> newpolicies)
remove all of the policies for item and replace them with a new list of
policies
|
Copyright © 2014 DuraSpace. All Rights Reserved.