Uses of Class
org.dspace.content.RelationshipType
Packages that use RelationshipType
Package
Description
Miscellaneous utility classes.
Provides an API for reading and manipulating content in the DSpace system.
-
Uses of RelationshipType in org.dspace.app.util
Methods in org.dspace.app.util that return RelationshipTypeModifier and TypeMethodDescriptionstatic RelationshipTypeRelationshipUtils.matchRelationshipType(List<RelationshipType> relTypes, String targetType, String originType, String originTypeName) Matches two Entity types to a Relationship Type from a set of Relationship Types.Method parameters in org.dspace.app.util with type arguments of type RelationshipTypeModifier and TypeMethodDescriptionstatic RelationshipTypeRelationshipUtils.matchRelationshipType(List<RelationshipType> relTypes, String targetType, String originType, String originTypeName) Matches two Entity types to a Relationship Type from a set of Relationship Types. -
Uses of RelationshipType in org.dspace.content
Fields in org.dspace.content with type parameters of type RelationshipTypeModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.EntityType<RelationshipType>RelationshipType_.class_static jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Boolean> RelationshipType_.copyToLeftstatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Boolean> RelationshipType_.copyToRightstatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Integer> RelationshipType_.idstatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Integer> RelationshipType_.leftMaxCardinalitystatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Integer> RelationshipType_.leftMinCardinalitystatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> RelationshipType_.leftTypestatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,String> RelationshipType_.leftwardTypestatic jakarta.persistence.metamodel.SingularAttribute<Relationship,RelationshipType> Relationship_.relationshipTypestatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Integer> RelationshipType_.rightMaxCardinalitystatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,Integer> RelationshipType_.rightMinCardinalitystatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,EntityType> RelationshipType_.rightTypestatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,String> RelationshipType_.rightwardTypestatic jakarta.persistence.metamodel.SingularAttribute<RelationshipType,RelationshipType.Tilted> RelationshipType_.tiltedMethods in org.dspace.content that return RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) RelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) RelationshipTypeServiceImpl.create(Context context, RelationshipType relationshipType) RelationshipTypeServiceImpl.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) Relationship.getRelationshipType()Standard getter for the relationshipType fieldMethods in org.dspace.content that return types with arguments of type RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, boolean isLeft) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, boolean isLeft, Integer limit, Integer offset) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) RelationshipTypeServiceImpl.findByLeftwardOrRightwardTypeName(Context context, String typeName) RelationshipTypeServiceImpl.findByLeftwardOrRightwardTypeName(Context context, String typeName, Integer limit, Integer offset) EntityServiceImpl.getAllRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getAllRelationshipTypes(Context context, Entity entity, Integer limit, Integer offset) EntityServiceImpl.getLeftRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getLeftRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) EntityServiceImpl.getRelationshipTypesByTypeName(Context context, String type) EntityServiceImpl.getRelationshipTypesByTypeName(Context context, String typeName, Integer limit, Integer offset) EntityServiceImpl.getRightRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getRightRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) Methods in org.dspace.content with parameters of type RelationshipTypeModifier and TypeMethodDescriptionintRelationshipServiceImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) intRelationshipServiceImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) intRelationshipServiceImpl.countByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) intRelationshipServiceImpl.countByRelationshipType(Context context, RelationshipType relationshipType) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) RelationshipTypeServiceImpl.create(Context context, RelationshipType relationshipType) voidRelationshipTypeServiceImpl.delete(Context context, RelationshipType relationshipType) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset, boolean excludeNonLatest) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset, boolean excludeNonLatest) RelationshipServiceImpl.findByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) RelationshipServiceImpl.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) RelationshipServiceImpl.findByRelationshipType(Context context, RelationshipType relationshipType) RelationshipServiceImpl.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) voidRelationship.setRelationshipType(RelationshipType relationshipType) Standard setter for the relationshipType field for the RelationshipvoidRelationshipTypeServiceImpl.update(Context context, RelationshipType relationshipType) Method parameters in org.dspace.content with type arguments of type RelationshipTypeModifier and TypeMethodDescriptionvoidRelationshipTypeServiceImpl.update(Context context, List<RelationshipType> relationshipTypes) -
Uses of RelationshipType in org.dspace.content.dao
Methods in org.dspace.content.dao that return RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeDAO.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) This method is used to retrieve the RelationshipType object that has the same leftType, rightType, leftwardType and rightwardType as given in the parametersMethods in org.dspace.content.dao that return types with arguments of type RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeDAO.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 rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Boolean isLeft) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Boolean isLeft, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByLeftwardOrRightwardTypeName(Context context, String type) This method will return a list of RelationshipType objects for which the given label is equal to either the leftwardType or rightwardType.RelationshipTypeDAO.findByLeftwardOrRightwardTypeName(Context context, String type, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given label is equal to either the leftLabel or rightLabel.Methods in org.dspace.content.dao with parameters of type RelationshipTypeModifier and TypeMethodDescriptionintRelationshipDAO.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) Count total number of relationships (rows in relationship table) by an item and a relationship type and a boolean indicating whether the item should be the leftItem or the rightItemintRelationshipDAO.countByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) Count total number of relationships that match focusItem on the one hand and matches list of related items elsewhere.intRelationshipDAO.countByRelationshipType(Context context, RelationshipType relationshipType) Count total number of relationships (rows in relationship table) by a relationship typeRelationshipDAO.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset, boolean excludeNonLatest) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset, boolean excludeNonLatest) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) This method is used to retrieve relationships that match focusItem on the one hand and matches list of related items elsewhere.RelationshipDAO.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) This method returns the UUIDs of all items that have a relationship with the given item, from the perspective of the other item.RelationshipDAO.findByRelationshipType(Context context, RelationshipType relationshipType) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) This method returns a list of Relationship objects for the given RelationshipType object. -
Uses of RelationshipType in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeDAOImpl.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) Methods in org.dspace.content.dao.impl that return types with arguments of type RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Boolean isLeft) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Boolean isLeft, Integer limit, Integer offset) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) RelationshipTypeDAOImpl.findByLeftwardOrRightwardTypeName(Context context, String type) RelationshipTypeDAOImpl.findByLeftwardOrRightwardTypeName(Context context, String type, Integer limit, Integer offset) Methods in org.dspace.content.dao.impl with parameters of type RelationshipTypeModifier and TypeMethodDescriptionintRelationshipDAOImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) intRelationshipDAOImpl.countByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) intRelationshipDAOImpl.countByRelationshipType(Context context, RelationshipType relationshipType) RelationshipDAOImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset, boolean excludeNonLatest) RelationshipDAOImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset, boolean excludeNonLatest) RelationshipDAOImpl.findByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) RelationshipDAOImpl.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) RelationshipDAOImpl.findByRelationshipType(Context context, RelationshipType relationshipType) RelationshipDAOImpl.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) -
Uses of RelationshipType in org.dspace.content.service
Methods in org.dspace.content.service that return RelationshipTypeModifier and TypeMethodDescriptionRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, RelationshipType relationshipType) This method creates the given RelationshipType object in the database and returns itRelationshipTypeService.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) Retrieves a RelationshipType for which the given parameters all match the one in the returned RelationshipTypeMethods in org.dspace.content.service that return types with arguments of type RelationshipTypeModifier and TypeMethodDescriptionRetrieves all RelationshipType objects currently in the systemRetrieves all RelationshipType objects currently in the systemRelationshipTypeService.findByEntityType(Context context, EntityType entityType) Returns a list of RelationshipType objects for which the given EntityType is equal to either the leftType or the rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, boolean isLeft) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, boolean isLeft, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) Returns a list of relationship types that matches provided EntityType object on any side of relationshipRelationshipTypeService.findByLeftwardOrRightwardTypeName(Context context, String typeName) Retrieves all RelationshipType objects that have a left or right type that is equal to the given StringRelationshipTypeService.findByLeftwardOrRightwardTypeName(Context context, String typeName, Integer limit, Integer offset) Retrieves all RelationshipType objects that have a left or right label that is equal to the given StringEntityService.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 variablesEntityService.getAllRelationshipTypes(Context context, Entity entity, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in either the leftEntityType or the rightEntityType variablesEntityService.getLeftRelationshipTypes(Context context, Entity entity) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the leftEntityTypeEntityService.getLeftRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the leftEntityTypeEntityService.getRelationshipTypesByTypeName(Context context, String typeName) Retrieves a list of RelationshipType objects for which either their left or right label is equal to the label parameter that's being passed alongEntityService.getRelationshipTypesByTypeName(Context context, String type, Integer limit, Integer offset) Retrieves a list of RelationshipType objects for which either their left or right label is equal to the label parameter that's being passed alongEntityService.getRightRelationshipTypes(Context context, Entity entity) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the rightEntityTypeEntityService.getRightRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the rightEntityTypeMethods in org.dspace.content.service with parameters of type RelationshipTypeModifier and TypeMethodDescriptionintRelationshipService.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) Count total number of relationships (rows in relationship table) by a relationship type and a boolean indicating whether the relationship should contain the item on the left side or not NOTE: tilted relationships are NEVER excluded when fetching one relationship typeintRelationshipService.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) Count total number of relationships (rows in relationship table) by a relationship type and a boolean indicating whether the relationship should contain the item on the left side or not NOTE: tilted relationships are NEVER excluded when fetching one relationship typeintRelationshipService.countByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) Count total number of relationships that match focusItem on the one hand and matches list of related items elsewhere.intRelationshipService.countByRelationshipType(Context context, RelationshipType relationshipType) Count total number of relationships (rows in relationship table) by a relationship type NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.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 label, rightward label and latest version statusRelationshipService.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 variables, except the latest version statusRelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) This method is used to construct a Relationship object with all it's variablesRelationshipTypeService.create(Context context, RelationshipType relationshipType) This method creates the given RelationshipType object in the database and returns itRelationshipService.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 NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.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 property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset, boolean excludeNonLatest) 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 NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.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 property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset, boolean excludeNonLatest) 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 NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) This method is used to retrieve relationships that match focusItem on the one hand and matches list of related items elsewhere.RelationshipService.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) This method returns the UUIDs of all items that have a relationship with the given item, from the perspective of the other item.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 object NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) This method returns a list of Relationship objects for which the relationshipType property is equal to the given RelationshipType object NOTE: tilted relationships are NEVER excluded when fetching one relationship type -
Uses of RelationshipType in org.dspace.content.virtual
Methods in org.dspace.content.virtual with parameters of type RelationshipTypeModifier and TypeMethodDescriptionbooleanVirtualMetadataPopulator.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 type as indicated by the second parameter. -
Uses of RelationshipType in org.dspace.versioning
Methods in org.dspace.versioning that return types with arguments of type RelationshipTypeModifier and TypeMethodDescriptionprotected List<RelationshipType>VersioningConsumer.getRelationshipTypes(Context ctx, EntityType entityType) Get all relationship types that have the given entity type on their left and/or right side.Methods in org.dspace.versioning with parameters of type RelationshipTypeModifier and TypeMethodDescriptionprotected List<Relationship>VersioningConsumer.getAllRelationships(Context ctx, Item item, RelationshipType relationshipType) Get all relationships of the given type linked to the given item.protected RelationshipVersioningConsumer.getMatchingRelationship(Item expectedLeftItem, RelationshipType expectedRelationshipType, Item expectedRightItem, List<Relationship> relationships) Find the relationship with the given left item, relation type and right item, from a list of relationships.