| 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 | |
| org.dspace.content.virtual |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<RelationshipType,Integer> |
RelationshipType_.id |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,String> |
RelationshipType_.leftLabel |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,Integer> |
RelationshipType_.leftMaxCardinality |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,Integer> |
RelationshipType_.leftMinCardinality |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> |
RelationshipType_.leftType |
static javax.persistence.metamodel.SingularAttribute<Relationship,RelationshipType> |
Relationship_.relationshipType |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,String> |
RelationshipType_.rightLabel |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,Integer> |
RelationshipType_.rightMaxCardinality |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,Integer> |
RelationshipType_.rightMinCardinality |
static javax.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> |
RelationshipType_.rightType |
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
RelationshipTypeServiceImpl.create(Context context) |
RelationshipType |
RelationshipTypeServiceImpl.create(Context context,
EntityType leftEntityType,
EntityType rightEntityType,
String leftLabel,
String rightLabel,
Integer leftCardinalityMinInteger,
Integer leftCardinalityMaxInteger,
Integer rightCardinalityMinInteger,
Integer rightCardinalityMaxInteger) |
RelationshipType |
RelationshipTypeServiceImpl.create(Context context,
RelationshipType relationshipType) |
RelationshipType |
RelationshipTypeServiceImpl.find(Context context,
int id) |
RelationshipType |
RelationshipTypeServiceImpl.findbyTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel) |
RelationshipType |
Relationship.getRelationshipType()
Standard getter for the relationshipType field
|
| Modifier and Type | Method and Description |
|---|---|
List<RelationshipType> |
RelationshipTypeServiceImpl.findAll(Context context) |
List<RelationshipType> |
RelationshipTypeServiceImpl.findByEntityType(Context context,
EntityType entityType) |
List<RelationshipType> |
RelationshipTypeServiceImpl.findByLeftOrRightLabel(Context context,
String label) |
List<RelationshipType> |
EntityServiceImpl.getAllRelationshipTypes(Context context,
Entity entity) |
List<RelationshipType> |
EntityServiceImpl.getLeftRelationshipTypes(Context context,
Entity entity) |
List<RelationshipType> |
EntityServiceImpl.getRelationshipTypesByLabel(Context context,
String label) |
List<RelationshipType> |
EntityServiceImpl.getRightRelationshipTypes(Context context,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
Relationship |
RelationshipServiceImpl.create(Context c,
Item leftItem,
Item rightItem,
RelationshipType relationshipType,
int leftPlace,
int rightPlace) |
RelationshipType |
RelationshipTypeServiceImpl.create(Context context,
RelationshipType relationshipType) |
void |
RelationshipTypeServiceImpl.delete(Context context,
RelationshipType relationshipType) |
List<Relationship> |
RelationshipServiceImpl.findByItemAndRelationshipType(Context context,
Item item,
RelationshipType relationshipType) |
List<Relationship> |
RelationshipServiceImpl.findByItemAndRelationshipType(Context context,
Item item,
RelationshipType relationshipType,
boolean isLeft) |
List<Relationship> |
RelationshipServiceImpl.findByRelationshipType(Context context,
RelationshipType relationshipType) |
void |
Relationship.setRelationshipType(RelationshipType relationshipType)
Standard setter for the relationshipType field for the Relationship
|
void |
RelationshipTypeServiceImpl.update(Context context,
RelationshipType relationshipType) |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationshipTypeServiceImpl.update(Context context,
List<RelationshipType> relationshipTypes) |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
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
|
List<RelationshipType> |
RelationshipTypeDAO.findByLeftOrRightLabel(Context context,
String label)
This method will return a list of RelationshipType objects for which the given label is equal to
either the leftLabel or rightLabel.
|
| Modifier and Type | Method and Description |
|---|---|
List<Relationship> |
RelationshipDAO.findByRelationshipType(Context context,
RelationshipType relationshipType)
This method returns a list of Relationship objects for the given RelationshipType object.
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
RelationshipTypeDAOImpl.findByTypesAndLabels(Context context,
EntityType leftType,
EntityType rightType,
String leftLabel,
String rightLabel) |
| Modifier and Type | Method and Description |
|---|---|
List<RelationshipType> |
RelationshipTypeDAOImpl.findByEntityType(Context context,
EntityType entityType) |
List<RelationshipType> |
RelationshipTypeDAOImpl.findByLeftOrRightLabel(Context context,
String label) |
| Modifier and Type | Method and Description |
|---|---|
List<Relationship> |
RelationshipDAOImpl.findByRelationshipType(Context context,
RelationshipType relationshipType) |
| 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
|
RelationshipType |
RelationshipTypeService.create(Context context,
RelationshipType relationshipType)
This method creates the given RelationshipType object in the database and returns it
|
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
|
| Modifier and Type | Method and Description |
|---|---|
List<RelationshipType> |
RelationshipTypeService.findAll(Context context)
Retrieves all RelationshipType objects currently in the system
|
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
|
List<RelationshipType> |
RelationshipTypeService.findByLeftOrRightLabel(Context context,
String label)
Retrieves all RelationshipType objects that have a left or right label that is
equal to the given String
|
List<RelationshipType> |
EntityService.getAllRelationshipTypes(Context context,
Entity entity)
Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given
Entity
in either the leftEntityType or the rightEntityType variables
|
List<RelationshipType> |
EntityService.getLeftRelationshipTypes(Context context,
Entity entity)
Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given
Entity
in the leftEntityType
|
List<RelationshipType> |
EntityService.getRelationshipTypesByLabel(Context context,
String label)
Retrieves a list of RelationshipType objects for which either their left or right label is equal to the
label parameter that's being passed along
|
List<RelationshipType> |
EntityService.getRightRelationshipTypes(Context context,
Entity entity)
Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given
Entity
in the rightEntityType
|
| Modifier and Type | Method and Description |
|---|---|
Relationship |
RelationshipService.create(Context c,
Item leftItem,
Item rightItem,
RelationshipType relationshipType,
int leftPlace,
int rightPlace)
This method is used to construct a Relationship object with all it's variables
|
RelationshipType |
RelationshipTypeService.create(Context context,
RelationshipType relationshipType)
This method creates the given RelationshipType object in the database and returns it
|
List<Relationship> |
RelationshipService.findByItemAndRelationshipType(Context context,
Item item,
RelationshipType relationshipType)
This method returns a list of Relationships for which the leftItem or rightItem is equal to the given
Item object and for which the RelationshipType object is equal to the relationshipType property
|
List<Relationship> |
RelationshipService.findByRelationshipType(Context context,
RelationshipType relationshipType)
This method returns a list of Relationship objets for which the relationshipType property is equal to the given
RelationshipType object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
VirtualMetadataPopulator.isUseForPlaceTrueForRelationshipType(RelationshipType relationshipType,
boolean isLeft)
This method will return a boolean indicating whether the useForPlace is true or false for the given
RelationshipType for the left or right label as indicated by the second parameter.
|
Copyright © 2019 DuraSpace. All rights reserved.