Class ResultStatusFileService

java.lang.Object
io.getlime.security.powerauth.lib.cmd.status.ResultStatusFileService
All Implemented Interfaces:
ResultStatusService

@ConditionalOnProperty(prefix="resultstatus",
                       name="persistenceType",
                       havingValue="file",
                       matchIfMissing=true)
@Service
public class ResultStatusFileService
extends java.lang.Object
implements ResultStatusService
Service for managing activation status object based on a file
Author:
Lukas Lukovsky, lukas.lukovsky@wultra.com
  • Constructor Summary

    Constructors
    Constructor Description
    ResultStatusFileService()  
  • Method Summary

    Modifier and Type Method Description
    void save​(ResultStatusChangeable model)
    Stores the result status object into a file

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResultStatusFileService

      public ResultStatusFileService()
  • Method Details

    • save

      public void save​(ResultStatusChangeable model) throws java.io.IOException
      Stores the result status object into a file
      Specified by:
      save in interface ResultStatusService
      Parameters:
      model - Data model with a result status object
      Throws:
      java.io.IOException - when an error during saving the result status object to the file occurred