| Package | Description |
|---|---|
| org.dspace.authorize |
Handles permissions for DSpace content.
|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.core |
Provides some basic functionality required throughout the DSpace system.
|
| org.dspace.eperson |
Provides classes representing e-people and groups of e-people.
|
| org.dspace.usage | |
| org.dspace.xmlworkflow | |
| org.dspace.xmlworkflow.storedcomponents |
| Modifier and Type | Method and Description |
|---|---|
static Group[] |
AuthorizeManager.getAuthorizedGroups(Context c,
DSpaceObject o,
int actionID)
Returns all groups authorized to perform an action on an object.
|
Group |
ResourcePolicy.getGroup()
gets Group for this policy
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeManager.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g)
Add a policy for a group
|
static void |
AuthorizeManager.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g,
java.lang.String type)
Add a policy for a group
|
static java.util.List<ResourcePolicy> |
AuthorizeManager.getPoliciesForGroup(Context c,
Group g)
Return a List of the policies for a group
|
static void |
AuthorizeManager.removeGroupPolicies(Context c,
DSpaceObject o,
Group g)
Removes all policies from a group for a particular object that belong to
a Group.
|
void |
ResourcePolicy.setGroup(Group g)
set Group for this policy
|
| Modifier and Type | Method and Description |
|---|---|
Group |
Collection.createAdministrators()
Create a default administrators group if one does not already exist.
|
Group |
Community.createAdministrators()
Create a default administrators group if one does not already exist.
|
Group |
Collection.createSubmitters()
Create a default submitters group if one does not already exist.
|
Group |
Collection.createWorkflowGroup(int step)
Create a workflow group for the given step if one does not already exist.
|
Group |
Collection.getAdministrators()
Get the default group of administrators, if there is one.
|
Group |
Community.getAdministrators()
Get the default group of administrators, if there is one.
|
Group |
Collection.getSubmitters()
Get the default group of submitters, if there is one.
|
Group[] |
SupervisedItem.getSupervisorGroups()
Gets all the groups that are supervising a this workspace item
|
Group[] |
SupervisedItem.getSupervisorGroups(Context c,
int wi)
Gets all the groups that are supervising a particular workspace item
|
Group |
Collection.getWorkflowGroup(int step)
Get the the workflow group corresponding to a particular workflow step.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Item.removeGroupPolicies(Group g)
remove all of the policies for item's bitstreams and bundles that belong
to a given Group
|
void |
Collection.setWorkflowGroup(int step,
Group g)
Set the workflow group corresponding to a particular workflow step.
|
| Modifier and Type | Method and Description |
|---|---|
Group[] |
Context.getSpecialGroups()
Get an array of all of the special groups that current user is a member
of.
|
| Modifier and Type | Method and Description |
|---|---|
static Group[] |
Group.allMemberGroups(Context c,
EPerson e)
Get all of the groups that an eperson is a member of.
|
static Group |
Group.create(Context context)
Create a new group
|
static Group |
Group.find(Context context,
int id)
find the group by its ID
|
static Group[] |
Group.findAll(Context context,
int sortField)
Finds all groups in the site
|
static Group |
Group.findByName(Context context,
java.lang.String name)
Find the group by its name - assumes name is unique
|
Group[] |
Group.getMemberGroups()
Return Group members of a Group.
|
static Group[] |
Group.search(Context context,
java.lang.String query)
Find the groups that match the search query across eperson_group_id or name
|
static Group[] |
Group.search(Context context,
java.lang.String query,
int offset,
int limit)
Find the groups that match the search query across eperson_group_id or name
|
| Modifier and Type | Method and Description |
|---|---|
void |
Group.addMember(Group g)
add group to this group
|
static java.util.Set<java.lang.Integer> |
Group.allMemberIDs(Context c,
Group g)
Get Set of all Integers all of the epeople
members for a group
|
static EPerson[] |
Group.allMembers(Context c,
Group g)
Get all of the epeople who are a member of the
specified group, or a member of a sub-group of the
specified group, etc.
|
boolean |
Group.isMember(Group g)
Check to see if g is a direct group member.
|
void |
Group.removeMember(Group g)
remove group from this group
|
| Modifier and Type | Method and Description |
|---|---|
Group[] |
UsageWorkflowEvent.getGroupOwners() |
| Modifier and Type | Method and Description |
|---|---|
void |
UsageWorkflowEvent.setGroupOwners(Group... newGroupOwner) |
| Modifier and Type | Method and Description |
|---|---|
static Group |
WorkflowUtils.getRoleGroup(Context context,
int collectionId,
Role role) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Group> |
RoleMembers.getGroups() |
| Modifier and Type | Method and Description |
|---|---|
void |
RoleMembers.addGroup(Group group) |
static void |
WorkflowUtils.createCollectionWorkflowRole(Context context,
int collectionId,
java.lang.String roleId,
Group group)
WORKFLOW ROLE MANAGEMENT
|
| Modifier and Type | Method and Description |
|---|---|
Group |
CollectionRole.getGroup() |
Group |
WorkflowItemRole.getGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowItemRole.setGroup(Group group) |
void |
CollectionRole.setGroupId(Group group) |
Copyright © 2013 DuraSpace. All Rights Reserved.