Class Operation
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 Summary
Constructors Constructor Description Operation() -
Method Summary
Modifier and Type Method Description AllowedSignatureTypegetAllowedSignatureType()Get allowed signature type.StringgetData()Get unstructured operation data.FormDatagetFormData()Get operation form data.StringgetId()Get operation ID.StringgetName()Get operation name.DategetOperationCreated()Get timestamp when operation was created.DategetOperationExpires()Get timestamp when operation expires.voidsetAllowedSignatureType(AllowedSignatureType allowedSignatureType)Set allowed signature type.voidsetData(String data)Set unstructured operation data.voidsetFormData(FormData formData)Set operation form data.voidsetId(String id)Set operation ID.voidsetName(String name)Set operation name.voidsetOperationCreated(Date operationCreated)Set timestamp when operation was created.voidsetOperationExpires(Date operationExpires)Set timestamp when operation expires.
-
Constructor Details
-
Operation
public Operation()
-
-
Method Details
-
getId
Get operation ID.- Returns:
- Operation ID.
-
setId
Set operation ID.- Parameters:
id- Operation ID.
-
getName
Get operation name.- Returns:
- Operation name.
-
setName
Set operation name.- Parameters:
name- Operation name.
-
getData
Get unstructured operation data.- Returns:
- Operation data.
-
setData
Set unstructured operation data.- Parameters:
data- Operation data.
-
getOperationCreated
Get timestamp when operation was created.- Returns:
- Timestamp when operation was created.
-
setOperationCreated
Set timestamp when operation was created.- Parameters:
operationCreated- Timestamp when opereration was created.
-
getOperationExpires
Get timestamp when operation expires.- Returns:
- Timestamp when operation expires.
-
setOperationExpires
Set timestamp when operation expires.- Parameters:
operationExpires- Timestamp when operation expires.
-
getAllowedSignatureType
Get allowed signature type.- Returns:
- Allowed signature type.
-
setAllowedSignatureType
Set allowed signature type.- Parameters:
allowedSignatureType- Allowed signature type.
-
getFormData
Get operation form data.- Returns:
- Operation form data.
-
setFormData
Set operation form data.- Parameters:
formData- Operation form data.
-