com.groupdocs.annotation.handler.input

Interface IRepository<TEntity>

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean add(List<TEntity> entities)
      Adds the specified entities.
      boolean add(TEntity entity)
      Adds the specified entity.
      void commit()
      Commits this instance.
      TEntity get(long id)
      Gets the specified entity.
      void refresh(TEntity entity)
      Refreshes the specified entity.
      boolean remove(List<TEntity> entities)
      Removes the specified entities.
      boolean remove(TEntity entity)
      Removes the specified entity.
      boolean update(List<TEntity> entities)
      Updates the specified entities.
      boolean update(TEntity entity)
      Updates the specified entity.
    • Method Detail

      • add

        boolean add(List<TEntity> entities)

        Adds the specified entities.

        Parameters:
        entities - The entities.
        Returns:
      • add

        boolean add(TEntity entity)

        Adds the specified entity.

        Parameters:
        entity - The entity.
        Returns:
      • commit

        void commit()

        Commits this instance.

      • get

        TEntity get(long id)

        Gets the specified entity.

        Parameters:
        id - The identifier.
        Returns:
      • refresh

        void refresh(TEntity entity)

        Refreshes the specified entity.

        Parameters:
        entity - The entity.
      • remove

        boolean remove(List<TEntity> entities)

        Removes the specified entities.

        Parameters:
        entities - The entities.
        Returns:
      • remove

        boolean remove(TEntity entity)

        Removes the specified entity.

        Parameters:
        entity - The entity.
        Returns:
      • update

        boolean update(List<TEntity> entities)

        Updates the specified entities.

        Parameters:
        entities - The entities.
        Returns:
      • update

        boolean update(TEntity entity)

        Updates the specified entity.

        Parameters:
        entity - The entity.
        Returns: