Class JpaUpdateOperation

    • Constructor Detail

      • JpaUpdateOperation

        public JpaUpdateOperation()
    • Method Detail

      • applyTechnicalDataTo

        protected void applyTechnicalDataTo​(Entity entity)
        Applying information of the context to the given entity on a update operation.
        Specified by:
        applyTechnicalDataTo in class PersistenceOperation
        Parameters:
        entity - an entity.
      • setManuallyTechnicalDataFor

        public void setManuallyTechnicalDataFor​(Entity entity,
                                                User updater,
                                                Date updateDate)
        Description copied from class: PersistenceOperation
        Sets manually the specified technical data of the specified entity.
        Specified by:
        setManuallyTechnicalDataFor in class PersistenceOperation
        Parameters:
        entity - the entity.
        updater - the user for which the persistence operation will be performed.
        updateDate - the date at which the persistence operation will be considered as performed.
      • clear

        public void clear​(Entity entity)
        Description copied from class: PersistenceOperation
        Clears the specified entity for the current persistence operation. Any technical data manually set will be lost.
        Specified by:
        clear in class PersistenceOperation
        Parameters:
        entity - the entity.