Class ProcessQueueEntry
java.lang.Object
com.gentics.contentnode.rest.model.response.ProcessQueueEntry
- All Implemented Interfaces:
Serializable
Represents an entry in the process queue.
- See Also:
-
Constructor Summary
ConstructorDescriptionProcessQueueEntry
(int entryId, int objectId, String objectType, String processKey, String data, String state, long timestamp) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Addionial data for the process.int
The ID of the entry in its process queue.getId()
The ID of this entry which is unique across the different process queue tables.int
The ID of the object.The type of the object.The process key.getState()
The state of the entry in the process queue.long
The creation timestamp of the entry.void
Set process data.void
setEntryId
(int entryId) Set the ID.void
Set the ID.void
setObjectId
(int objectId) Set the object ID.void
setObjectType
(String objectType) Set the object type.void
setProcessKey
(String processKey) Set the process key.void
Set the state of the entry.void
setTimestamp
(long timestamp) Set the timestamp.toString()
Returns a string representation of this object containing most of its fields.
-
Constructor Details
-
ProcessQueueEntry
public ProcessQueueEntry() -
ProcessQueueEntry
-
-
Method Details
-
getId
The ID of this entry which is unique across the different process queue tables. In contrast togetEntryId()
this ID contains the type of the object, so the correct process queue table can be identified. This is expected to beobjectType
+ "/" +
entryId
.- Returns:
- The ID of this entry which is unique across the different process queue tables.
-
setId
Set the ID. In contrast tosetEntryId()
this ID contains the type of the object, so the correct process queue table can be identified. This is expected to beobjectType
+ "/" +
entryId
.- Parameters:
id
- The ID of this entry.
-
getEntryId
public int getEntryId()The ID of the entry in its process queue. In contrast togetId()
this is just the ID of the entry in its own process queue table.- Returns:
- The ID of the entry in its process queue.
-
setEntryId
public void setEntryId(int entryId) Set the ID. In contrast togetId()
this is just the ID of the entry in its own process queue table.- Parameters:
entryId
- The ID of this entry.
-
getObjectId
public int getObjectId()The ID of the object.- Returns:
- The ID of the object.
-
setObjectId
public void setObjectId(int objectId) Set the object ID.- Parameters:
objectId
- The object ID.
-
getObjectType
The type of the object.- Returns:
- The type of the object.
-
setObjectType
Set the object type.- Parameters:
objectType
- The object type.
-
getProcessKey
The process key.- Returns:
- The process key.
-
setProcessKey
Set the process key.- Parameters:
processKey
- The process key.
-
getData
Addionial data for the process.- Returns:
- Addionial data for the process.
-
setData
Set process data.- Parameters:
data
- The data for the process.
-
getState
The state of the entry in the process queue.- Returns:
- The state of the entry in the process queue.
-
setState
Set the state of the entry.- Parameters:
state
- The state of the entry.
-
getTimestamp
public long getTimestamp()The creation timestamp of the entry.- Returns:
- The creation timestamp of the entry.
-
setTimestamp
public void setTimestamp(long timestamp) Set the timestamp.- Parameters:
timestamp
- The timestamp.
-
toString
Returns a string representation of this object containing most of its fields.
-