Uses of Class
org.dspace.content.Relationship
-
Packages that use Relationship 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 -
-
Uses of Relationship in org.dspace.content
Fields in org.dspace.content with type parameters of type Relationship Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<Relationship,Integer>Relationship_. idstatic javax.persistence.metamodel.SingularAttribute<Relationship,Item>Relationship_. leftItemstatic javax.persistence.metamodel.SingularAttribute<Relationship,Integer>Relationship_. leftPlacestatic javax.persistence.metamodel.SingularAttribute<Relationship,String>Relationship_. leftwardValuestatic javax.persistence.metamodel.SingularAttribute<Relationship,RelationshipType>Relationship_. relationshipTypestatic javax.persistence.metamodel.SingularAttribute<Relationship,Item>Relationship_. rightItemstatic javax.persistence.metamodel.SingularAttribute<Relationship,Integer>Relationship_. rightPlacestatic javax.persistence.metamodel.SingularAttribute<Relationship,String>Relationship_. rightwardValueMethods in org.dspace.content that return Relationship Modifier and Type Method Description RelationshipRelationshipServiceImpl. create(Context context)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue)RelationshipRelationshipServiceImpl. create(Context context, Relationship relationship)RelationshipRelationshipServiceImpl. find(Context context, int id)Methods in org.dspace.content that return types with arguments of type Relationship Modifier and Type Method Description List<Relationship>RelationshipServiceImpl. findAll(Context context)List<Relationship>RelationshipServiceImpl. findAll(Context context, Integer limit, Integer offset)List<Relationship>RelationshipServiceImpl. findByItem(Context context, Item item)List<Relationship>RelationshipServiceImpl. findByItem(Context context, Item item, Integer limit, Integer offset)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. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset)List<Relationship>RelationshipServiceImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset)List<Relationship>RelationshipServiceImpl. findByRelationshipType(Context context, RelationshipType relationshipType)List<Relationship>RelationshipServiceImpl. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)List<Relationship>RelationshipServiceImpl. findByTypeName(Context context, String typeName)List<Relationship>RelationshipServiceImpl. findByTypeName(Context context, String typeName, Integer limit, Integer offset)List<Relationship>EntityServiceImpl. getLeftRelations(Context context, Entity entity)List<Relationship>EntityServiceImpl. getRelationsByTypeName(Context context, String typeName)List<Relationship>EntityServiceImpl. getRelationsByTypeName(Context context, String typeName, Integer limit, Integer offset)List<Relationship>Entity. getRelationships()Standard getter for the list of relationships for the Item in this Entity objectList<Relationship>EntityServiceImpl. getRightRelations(Context context, Entity entity)Methods in org.dspace.content with parameters of type Relationship Modifier and Type Method Description RelationshipRelationshipServiceImpl. create(Context context, Relationship relationship)voidRelationshipServiceImpl. delete(Context context, Relationship relationship)voidRelationshipServiceImpl. delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem)List<RelationshipMetadataValue>RelationshipMetadataService. findRelationshipMetadataValueForItemRelationship(Context context, Item item, String entityType, Relationship relationship, boolean enableVirtualMetadata)Retrieves the list of RelationshipMetadataValue objects specific to only one Relationship of the item.List<RelationshipMetadataValue>RelationshipMetadataServiceImpl. findRelationshipMetadataValueForItemRelationship(Context context, Item item, String entityType, Relationship relationship, boolean enableVirtualMetadata)voidRelationshipServiceImpl. update(Context context, Relationship relationship)voidRelationshipServiceImpl. updatePlaceInRelationship(Context context, Relationship relationship)Method parameters in org.dspace.content with type arguments of type Relationship Modifier and Type Method Description voidEntity. setRelationships(List<Relationship> relationships)Standard setter for the list of relationships for the Item in this Entity objectvoidRelationshipServiceImpl. update(Context context, List<Relationship> relationships)Constructor parameters in org.dspace.content with type arguments of type Relationship Constructor Description Entity(Item item, List<Relationship> relationshipList)constructor for the Entity object -
Uses of Relationship in org.dspace.content.dao
Methods in org.dspace.content.dao that return types with arguments of type Relationship Modifier and Type Method Description List<Relationship>RelationshipDAO. findByItem(Context context, Item item)This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemList<Relationship>RelationshipDAO. findByItem(Context context, Item item, Integer limit, Integer offset)This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemList<Relationship>RelationshipDAO. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByRelationshipType(Context context, RelationshipType relationshipType)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByTypeName(Context context, String typeName)This method returns a list of Relationship objects for the given typeNameList<Relationship>RelationshipDAO. findByTypeName(Context context, String typeName, Integer limit, Integer offset)This method returns a list of Relationship objects for the given typeName -
Uses of Relationship in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return types with arguments of type Relationship Modifier and Type Method Description List<Relationship>RelationshipDAOImpl. findByItem(Context context, Item item)List<Relationship>RelationshipDAOImpl. findByItem(Context context, Item item, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByRelationshipType(Context context, RelationshipType relationshipType)List<Relationship>RelationshipDAOImpl. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByTypeName(Context context, String typeName)List<Relationship>RelationshipDAOImpl. findByTypeName(Context context, String typeName, Integer limit, Integer offset) -
Uses of Relationship in org.dspace.content.service
Methods in org.dspace.content.service that return Relationship Modifier and Type Method Description RelationshipRelationshipService. 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, except the leftward and rightward labelsRelationshipRelationshipService. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue)This method is used to construct a Relationship object with all it's variablesRelationshipRelationshipService. create(Context context, Relationship relationship)This method creates a relationship object in the database equal to the given relationship param if this is a valid relationshipMethods in org.dspace.content.service that return types with arguments of type Relationship Modifier and Type Method Description List<Relationship>RelationshipService. findAll(Context context)Retrieves the full list of relationships currently in the systemList<Relationship>RelationshipService. findAll(Context context, Integer limit, Integer offset)Retrieves the full list of relationships currently in the systemList<Relationship>RelationshipService. findByItem(Context context, Item item)Retrieves the list of Relationships currently in the system for which the given Item is either a leftItem or a rightItem objectList<Relationship>RelationshipService. findByItem(Context context, Item item, Integer limit, Integer offset)Retrieves the list of Relationships currently in the system for which the given Item is either a leftItem or a rightItem objectList<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 propertyList<Relationship>RelationshipService. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset)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 propertyList<Relationship>RelationshipService. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset)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 propertyList<Relationship>RelationshipService. findByRelationshipType(Context context, RelationshipType relationshipType)This method returns a list of Relationship objects for which the relationshipType property is equal to the given RelationshipType objectList<Relationship>RelationshipService. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objets for which the relationshipType property is equal to the given RelationshipType objectList<Relationship>RelationshipService. findByTypeName(Context context, String typeName)This method returns a list of Relationship objects for the given typeNameList<Relationship>RelationshipService. findByTypeName(Context context, String typeName, Integer limit, Integer offset)This method returns a list of Relationship objects for the given typeNameList<Relationship>EntityService. getLeftRelations(Context context, Entity entity)Retrieves the list of relationships, which are attached to the Entity object that is passed along, where the left item object of each relationship is equal to the Item object of the Entity object that is passed alongList<Relationship>EntityService. getRelationsByTypeName(Context context, String typeName)Retrieves the list of relationships for which their relationshiptype has a left or right label that is equal to the passed along label StringList<Relationship>EntityService. getRelationsByTypeName(Context context, String typeName, Integer limit, Integer offset)Retrieves the list of relationships for which their relationshiptype has a left or right label that is equal to the passed along label StringList<Relationship>EntityService. getRightRelations(Context context, Entity entity)Retrieves the list of relationships, which are attached to the Entity object that is passed along, where the right item object of each relationship is equal to the Item object of the Entity object that is passed alongMethods in org.dspace.content.service with parameters of type Relationship Modifier and Type Method Description RelationshipRelationshipService. create(Context context, Relationship relationship)This method creates a relationship object in the database equal to the given relationship param if this is a valid relationshipvoidRelationshipService. delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem)This method is used to delete a Relationship whilst given the possibility to copy the Virtual Metadata created by this relationship to the left and/or right itemvoidRelationshipService. updatePlaceInRelationship(Context context, Relationship relationship)This method will update the place for the Relationship and all other relationships found by the items and relationship type of the given Relationship.
-