Interface TempImageServiceLocal

    • Field Detail

      • TEMP_OWNER

        static final String TEMP_OWNER
        In cases such as the receive payment, it might be that a user uploads the temp image (the payee) but some other user needs to see it (the payer). In such cases, this field holds the InvocationContext attribute that stores the other user.
        See Also:
        Constant Field Values
      • HOURS_FOR_EXPIRATION

        static final int HOURS_FOR_EXPIRATION
        Defines the number of hours before a temp image is considered expired
        See Also:
        Constant Field Values
    • Method Detail

      • deleteExpiredImages

        long deleteExpiredImages()
        Deletes the expired temporary images from the database and the corresponding contents from the content storage.
      • move

        void move​(TempImage temp,
                  StoredFile image)
        Move the content of the given temp image to a final destination