java.lang.Object
io.getlime.security.powerauth.lib.mtoken.model.entity.Operation

public class Operation
extends Object
Model class representing an operation to be authorized.
Author:
Petr Dvorak, petr@wultra.com
  • Constructor Details

    • Operation

      public Operation()
  • Method Details

    • getId

      public String getId()
      Get operation ID.
      Returns:
      Operation ID.
    • setId

      public void setId​(String id)
      Set operation ID.
      Parameters:
      id - Operation ID.
    • getName

      public String getName()
      Get operation name.
      Returns:
      Operation name.
    • setName

      public void setName​(String name)
      Set operation name.
      Parameters:
      name - Operation name.
    • getData

      public String getData()
      Get unstructured operation data.
      Returns:
      Operation data.
    • setData

      public void setData​(String data)
      Set unstructured operation data.
      Parameters:
      data - Operation data.
    • getOperationCreated

      public Date getOperationCreated()
      Get timestamp when operation was created.
      Returns:
      Timestamp when operation was created.
    • setOperationCreated

      public void setOperationCreated​(Date operationCreated)
      Set timestamp when operation was created.
      Parameters:
      operationCreated - Timestamp when opereration was created.
    • getOperationExpires

      public Date getOperationExpires()
      Get timestamp when operation expires.
      Returns:
      Timestamp when operation expires.
    • setOperationExpires

      public void setOperationExpires​(Date operationExpires)
      Set timestamp when operation expires.
      Parameters:
      operationExpires - Timestamp when operation expires.
    • getAllowedSignatureType

      public AllowedSignatureType getAllowedSignatureType()
      Get allowed signature type.
      Returns:
      Allowed signature type.
    • setAllowedSignatureType

      public void setAllowedSignatureType​(AllowedSignatureType allowedSignatureType)
      Set allowed signature type.
      Parameters:
      allowedSignatureType - Allowed signature type.
    • getFormData

      public FormData getFormData()
      Get operation form data.
      Returns:
      Operation form data.
    • setFormData

      public void setFormData​(FormData formData)
      Set operation form data.
      Parameters:
      formData - Operation form data.