Class AttributeProcess

java.lang.Object
com.skava.search.process.config.AttributeProcess

@Component public class AttributeProcess extends Object

This class is the AttributeProcess. Attribute process and validations is implemented in this class

  • Field Details

  • Constructor Details

  • Method Details

    • create

      public AttributeDO create(AttributeDO attributeDO)
      This function is used to create a Attribute.
      Parameters:
      attributeDO - attribute do contains input data for creating attribute.
      Returns:
      It returns the created attibute do.
    • update

      @Transactional(propagation=REQUIRED) public AttributeDO update(AttributeDO attributeDO)
      This function is used to update attribute by attribute id.
      Parameters:
      attributeDO - contains input data to update attribute.
      Returns:
      It returns the updated attribute.
    • findById

      @Transactional(propagation=REQUIRED) public AttributeDO findById(AttributeDO attributeDO)
      This function is used to find the attribute by given id.
      Parameters:
      attributeDO - It contains the attribute finding data.
      Returns:
      Returns the find attribute do value.
    • deleteById

      @Transactional(propagation=REQUIRED) public void deleteById(AttributeDO attributeDO)
      This function is used to delete the attribute by given id.
      Parameters:
      attributeDO - Contains data deleting the attribute.
    • patchUpdate

      @Transactional(propagation=REQUIRED) public AttributeDO patchUpdate(AttributeDO attributeDO)
      This function is used to patch update for patching the attribute.
      Parameters:
      attributeDO - Contains data for patching the attribute.
      Returns:
      It returns the updated attribute.
    • findAllAttributes

      public PageableDO<AttributeDO> findAllAttributes(AttributeDO input)
      This function is used to find all the attributes by given config id.
      Parameters:
      input - it contains data for finding all the attributes.
      Returns:
      It returns list of all the attributes.