Interface PublicationRightsServiceLocal


public interface PublicationRightsServiceLocal
Interface for a PublicationRight Service class.
  • Method Details

    • createPublicationRightQuery

      PublicationRightQuery createPublicationRightQuery()
      Creates a new PublicationRightQuery instance.
      Returns:
      the created query instance
    • getPublicationRightsByPublicationId

      List<PublicationRight> getPublicationRightsByPublicationId(String publicationId)
      Retrieves publication rights by publication Id.
      Parameters:
      publicationId - the publication Id to filter by
      Returns:
      a list of matching PublicationRight entities
    • create

      PublicationRight create(PublicationRight publicationRight)
      Creates a new publication right.
      Parameters:
      publicationRight - the publication right to create
      Returns:
      an object of created PublicationRight entity
    • create

      List<PublicationRight> create(List<PublicationRight> publicationRights)
      Creates multiple publication rights.
      Parameters:
      publicationRights - the list of publication rights to create
      Returns:
      a list of created PublicationRight entities
    • update

      void update(PublicationRight publicationRight)
      Updates an existing publication right.
      Parameters:
      publicationRight - the publication right to update
    • update

      void update(List<PublicationRight> publicationRights)
      Updates multiple publication rights.
      Parameters:
      publicationRights - the list of publication rights to update
    • deleteByPersonId

      void deleteByPersonId(String publicationId, String personId)
      Deletes a publication right by publication and person Id.
      Parameters:
      publicationId - the publication Id
      personId - the person Id
    • deleteByTeamId

      void deleteByTeamId(String publicationId, String teamId)
      Deletes a publication right by publication and team Id.
      Parameters:
      publicationId - the publication Id
      teamId - the team Id
    • delete

      void delete(PublicationRight publicationRight)
      Deletes a publication right.
      Parameters:
      publicationRight - the publication right to delete
    • delete

      void delete(List<PublicationRight> publicationRights)
      Deletes a publication rights.
      Parameters:
      publicationRights - the publication rights to delete