Package net.webpdf.wsclient.openapi
Class DocumentHistoryEntry
- java.lang.Object
-
- net.webpdf.wsclient.openapi.DocumentHistoryEntry
-
public class DocumentHistoryEntry extends Object
A document history entry wrapping one manipulation state of a document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVEstatic StringJSON_PROPERTY_DATE_TIMEstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_OPERATION
-
Constructor Summary
Constructors Constructor Description DocumentHistoryEntry()DocumentHistoryEntry(String dateTime, String fileName, Integer id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentHistoryEntryactive(Boolean active)booleanequals(Object o)@Nullable BooleangetActive()When this is set to **true** the entry is still active and may be reverted to.@Nullable StringgetDateTime()The creation time of the entry.@Nullable StringgetFileName()The file name used for this entry.@NotNull IntegergetId()The unique history id in the server“s **document storage**.@Nullable StringgetOperation()The name of the operation executed for the entry.inthashCode()DocumentHistoryEntryoperation(String operation)voidsetActive(Boolean active)voidsetOperation(String operation)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_ACTIVE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE_TIME
public static final String JSON_PROPERTY_DATE_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPERATION
public static final String JSON_PROPERTY_OPERATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
active
public DocumentHistoryEntry active(Boolean active)
-
getActive
@Nullable public @Nullable Boolean getActive()
When this is set to **true** the entry is still active and may be reverted to.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
getDateTime
@Nullable public @Nullable String getDateTime()
The creation time of the entry.- Returns:
- dateTime
-
getFileName
@Nullable public @Nullable String getFileName()
The file name used for this entry.- Returns:
- fileName
-
getId
@NotNull public @NotNull Integer getId()
The unique history id in the server“s **document storage**.- Returns:
- id
-
operation
public DocumentHistoryEntry operation(String operation)
-
getOperation
@Nullable public @Nullable String getOperation()
The name of the operation executed for the entry. (The name of the webservice - optionally followed by ':' and the name of the executed operation.)- Returns:
- operation
-
setOperation
public void setOperation(String operation)
-
-