Class BundleDbPersistenceManager.DbBlobStore

    • Field Detail

      • blobInsertSQL

        protected String blobInsertSQL
      • blobUpdateSQL

        protected String blobUpdateSQL
      • blobSelectSQL

        protected String blobSelectSQL
      • blobSelectExistSQL

        protected String blobSelectExistSQL
      • blobDeleteSQL

        protected String blobDeleteSQL
    • Method Detail

      • createId

        public String createId​(PropertyId id,
                               int index)
        Creates a unique identifier for the BLOB data associated with the given property id and value subscript.
        Specified by:
        createId in interface BLOBStore
        Parameters:
        id - id of the property associated with the BLOB data
        index - subscript of the value holding the BLOB data
        Returns:
        a string identifying the BLOB data
      • remove

        public boolean remove​(String blobId)
                       throws Exception
        Removes the BLOB data with the specified id.
        Specified by:
        remove in interface BLOBStore
        Parameters:
        blobId - identifier of the BLOB data as returned by BLOBStore.createId(PropertyId, int)
        Returns:
        true if BLOB data with the given id exists and has been successfully removed, false if there's no BLOB data with the given id.
        Throws:
        Exception - if an error occured