Interface WrapperRepository


  • public interface WrapperRepository
    Repository of Wrapper instances.
    • Method Detail

      • storeInstance

        void storeInstance​(Object id,
                           Class targetClass,
                           Object value)
        Store an object.
        Parameters:
        id - the siteworks objectid
        targetClass - the wrapper type
        value - the wrapper object
      • getInstance

        Object getInstance​(Object id,
                           Class targetClass)
        Get an instance for a siteworks object.
        Parameters:
        id - siteworks object id
        targetClass - the wrapper type
        Returns:
        the wrapper instance.