Class ProcessQueueEntry
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.ProcessQueueEntry
-
- All Implemented Interfaces:
Serializable
public class ProcessQueueEntry extends Object implements Serializable
Represents an entry in the process queue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessQueueEntry()
ProcessQueueEntry(int entryId, int objectId, String objectType, String processKey, String data, String state, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getData()
Addionial data for the process.int
getEntryId()
The ID of the entry in its process queue.String
getId()
The ID of this entry which is unique across the different process queue tables.int
getObjectId()
The ID of the object.String
getObjectType()
The type of the object.String
getProcessKey()
The process key.String
getState()
The state of the entry in the process queue.long
getTimestamp()
The creation timestamp of the entry.void
setData(String data)
Set process data.void
setEntryId(int entryId)
Set the ID.void
setId(String id)
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
setState(String state)
Set the state of the entry.void
setTimestamp(long timestamp)
Set the timestamp.String
toString()
Returns a string representation of this object containing most of its fields.
-
-
-
Method Detail
-
getId
public String 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
public void setId(String id)
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
public String getObjectType()
The type of the object.- Returns:
- The type of the object.
-
setObjectType
public void setObjectType(String objectType)
Set the object type.- Parameters:
objectType
- The object type.
-
getProcessKey
public String getProcessKey()
The process key.- Returns:
- The process key.
-
setProcessKey
public void setProcessKey(String processKey)
Set the process key.- Parameters:
processKey
- The process key.
-
getData
public String getData()
Addionial data for the process.- Returns:
- Addionial data for the process.
-
setData
public void setData(String data)
Set process data.- Parameters:
data
- The data for the process.
-
getState
public String getState()
The state of the entry in the process queue.- Returns:
- The state of the entry in the process queue.
-
setState
public void setState(String state)
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.
-
-