| Package | Description |
|---|---|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.content.dao | |
| org.dspace.content.dao.impl | |
| org.dspace.content.service |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<EntityType,Integer> |
EntityType_.id |
static javax.persistence.metamodel.SingularAttribute<EntityType,String> |
EntityType_.label |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> |
RelationshipType_.leftType |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> |
RelationshipType_.rightType |
| Modifier and Type | Method and Description |
|---|---|
EntityType |
EntityTypeServiceImpl.create(Context context) |
EntityType |
EntityTypeServiceImpl.create(Context context,
String entityTypeString) |
EntityType |
EntityTypeServiceImpl.find(Context context,
int id) |
EntityType |
EntityTypeServiceImpl.findByEntityType(Context context,
String entityType) |
EntityType |
RelationshipType.getLeftType()
Standard getter for The leftType EntityType for this RelationshipType
|
EntityType |
RelationshipType.getRightType()
Standard getter for The rightType EntityType for this RelationshipType
|
EntityType |
EntityServiceImpl.getType(Context context,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
List<EntityType> |
EntityTypeServiceImpl.findAll(Context context) |
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
RelationshipTypeServiceImpl.create(Context context,
EntityType leftEntityType,
EntityType rightEntityType,
String leftLabel,
String rightLabel,
Integer leftCardinalityMinInteger,
Integer leftCardinalityMaxInteger,
Integer rightCardinalityMinInteger,
Integer rightCardinalityMaxInteger) |
void |
EntityTypeServiceImpl.delete(Context context,
EntityType entityType) |
List<RelationshipType> |
RelationshipTypeServiceImpl.findByEntityType(Context context,
EntityType entityType) |
RelationshipType |
RelationshipTypeServiceImpl.findbyTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel) |
void |
RelationshipType.setLeftType(EntityType leftType)
Standard setter for the leftType EntityType for this RelationshipType
|
void |
RelationshipType.setRightType(EntityType rightType)
Standard setter for the rightType EntityType for this RelationshipType
|
void |
EntityTypeServiceImpl.update(Context context,
EntityType entityType) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityTypeServiceImpl.update(Context context,
List<EntityType> entityTypes) |
| Modifier and Type | Method and Description |
|---|---|
EntityType |
EntityTypeDAO.findByEntityType(Context context,
String entityType)
This method returns the EntityType object that has the given entityType String
as label
|
| Modifier and Type | Method and Description |
|---|---|
List<RelationshipType> |
RelationshipTypeDAO.findByEntityType(Context context,
EntityType entityType)
This method will return a list of RelationshipType objects for which the given EntityType object is equal
to the leftType or rightType
|
RelationshipType |
RelationshipTypeDAO.findByTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel)
This method is used to retrieve the RelationshipType object that has the same
leftType, rightType, leftLabel and rightLabel as given in the parameters
|
| Modifier and Type | Method and Description |
|---|---|
EntityType |
EntityTypeDAOImpl.findByEntityType(Context context,
String entityType) |
| Modifier and Type | Method and Description |
|---|---|
List<RelationshipType> |
RelationshipTypeDAOImpl.findByEntityType(Context context,
EntityType entityType) |
RelationshipType |
RelationshipTypeDAOImpl.findByTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel) |
| Modifier and Type | Method and Description |
|---|---|
EntityType |
EntityTypeService.create(Context context,
String entityTypeString)
This method creates an EntityType object in the database with the given entityTypeString as it's label
|
EntityType |
EntityTypeService.findByEntityType(Context context,
String entityType)
Retrieves the EntityType that has the entityType String parameter as label
|
EntityType |
EntityService.getType(Context context,
Entity entity)
Returns the EntityType for the Item that is attached to the Entity that is passed along to this method.
|
| Modifier and Type | Method and Description |
|---|---|
List<EntityType> |
EntityTypeService.findAll(Context context)
Retrieves all the EntityType objects currently in the system
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
RelationshipTypeService.create(Context context,
EntityType leftEntityType,
EntityType rightEntityType,
String leftLabel,
String rightLabel,
Integer leftCardinalityMinInteger,
Integer leftCardinalityMaxInteger,
Integer rightCardinalityMinInteger,
Integer rightCardinalityMaxInteger)
This method will support the creation of a RelationshipType object with the given parameters
|
List<RelationshipType> |
RelationshipTypeService.findByEntityType(Context context,
EntityType entityType)
Returns a list of RelationshipType objects for which the given EntityType is equal to either the leftType
or the rightType
|
RelationshipType |
RelationshipTypeService.findbyTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel)
Retrieves a RelationshipType for which the given parameters all match the one in the returned RelationshipType
|
Copyright © 2019 DuraSpace. All rights reserved.