Interface EntityMarkService

All Known Implementing Classes:
EntityMarkServiceImpl

public interface EntityMarkService
Methods for marking entities
  • Method Details

    • markEntity

      void markEntity(Entity entity, Entity user)
      Mark a single entity
      Parameters:
      entity - the entity to mark
      user - the user that marks the entity
    • markEntityForCurrentUser

      void markEntityForCurrentUser(Entity entity)
      Mark a single entity for the current user
      Parameters:
      entity - the entity to mark
    • markEntities

      void markEntities(EntityList entities, Entity user)
      Mark a number of entities
      Parameters:
      entities - the entities to mark
      user - the user that marks the entities
    • markEntitiesForCurrentUser

      void markEntitiesForCurrentUser(EntityList entities)
      Mark a number of entities for the current user
      Parameters:
      entities - the entities to mark
    • unmarkEntity

      void unmarkEntity(Entity entity, Entity user)
      Unmark a single entity
      Parameters:
      entity - the entity to unmark
      user - the user that unmarks the entity
    • unmarkEntityForCurrentUser

      void unmarkEntityForCurrentUser(Entity entity)
      Unmark a single entity for current user
      Parameters:
      entity - the entity to unmark
    • unmarkEntities

      void unmarkEntities(EntityList entities, Entity user)
      Unmark a number of entities
      Parameters:
      entities - the entities to unmark
      user - the user that unmarks the entities
    • unmarkEntitiesForCurrentUser

      void unmarkEntitiesForCurrentUser(EntityList entities)
      Unmark a number of entities for current user
      Parameters:
      entities - the entities to unmark
    • markEntityForUsers

      void markEntityForUsers(Entity entity, EntityList users)
      Mark an entity for multiple users
      Parameters:
      entity - the entity to mark
      users - the users that mark a entity
    • unmarkEntityForUsers

      void unmarkEntityForUsers(Entity entity, EntityList users)
      Unmark entites for multiple users
      Parameters:
      entity - the entity to unmark
      users - the users that unmark an entity
    • markEntitiesForUsers

      void markEntitiesForUsers(EntityList entities, EntityList users)
      Mark a number of entities for multiple users
      Parameters:
      entities - the entities to mark
      users - the users that mark the entities
    • unmarkEntitiesForUsers

      void unmarkEntitiesForUsers(EntityList entities, EntityList users)
      Unmark a number of entities for multiple users
      Parameters:
      entities - the entities to unmark
      users - the users that unmark the entities
    • isMarkedForCurrentUser

      boolean isMarkedForCurrentUser(Entity entity)
    • isMarkedForCurrentUser

      Map<String,Boolean> isMarkedForCurrentUser(String entityModelName, PrimaryKeyList primaryKeys)