Class EntityCache


public class EntityCache extends AbstractCache<GenericPK,GenericValue>
  • Constructor Details

    • EntityCache

      public EntityCache(String delegatorName)
  • Method Details

    • get

      public GenericValue get(GenericPK pk)
      Get generic value.
      Parameters:
      pk - the pk
      Returns:
      the generic value
    • put

      public GenericValue put(GenericValue entity)
      Put generic value.
      Parameters:
      entity - the entity
      Returns:
      the generic value
    • put

      public GenericValue put(GenericPK pk, GenericValue entity)
      Put generic value.
      Parameters:
      pk - the pk
      entity - the entity
      Returns:
      the generic value
    • remove

      public void remove(String entityName, EntityCondition condition)
      Remove.
      Parameters:
      entityName - the entity name
      condition - the condition
    • remove

      public GenericValue remove(GenericValue entity)
      Remove generic value.
      Parameters:
      entity - the entity
      Returns:
      the generic value
    • remove

      public GenericValue remove(GenericPK pk)
      Remove generic value.
      Parameters:
      pk - the pk
      Returns:
      the generic value