Class MigrationJobLogEntryItem
java.lang.Object
com.gentics.contentnode.rest.model.response.migration.MigrationJobLogEntryItem
Class that represents a migration job item within the database log
- Author:
- johannes2
-
Constructor Summary
ConstructorDescriptionMigrationJobLogEntryItem
(int jobId, int objectId, int objectType, int status) Create a new job log entry item -
Method Summary
Modifier and TypeMethodDescriptionint
getJobId()
Returns the job idint
Returns the object id for this itemint
Returns the object type for this item.int
Returns the migration status of this object item.void
setJobId
(int jobId) Sets the job idvoid
setObjectId
(int objectId) Sets the object id for this itemvoid
setObjectType
(int objectType) Sets the object type for this object itemvoid
setStatus
(int status) Sets the migration status of this object item.toString()
-
Constructor Details
-
MigrationJobLogEntryItem
public MigrationJobLogEntryItem() -
MigrationJobLogEntryItem
public MigrationJobLogEntryItem(int jobId, int objectId, int objectType, int status) Create a new job log entry item- Parameters:
jobId
-objectId
-objectType
-status
-
-
-
Method Details
-
getJobId
public int getJobId()Returns the job id- Returns:
-
setJobId
public void setJobId(int jobId) Sets the job id- Parameters:
jobId
-
-
getObjectId
public int getObjectId()Returns the object id for this item- Returns:
-
setObjectId
public void setObjectId(int objectId) Sets the object id for this item- Parameters:
objectId
-
-
getObjectType
public int getObjectType()Returns the object type for this item. Generic Content.Node type values are being used. (e.g. 10007 for pages..)- Returns:
-
setObjectType
public void setObjectType(int objectType) Sets the object type for this object item- Parameters:
objectType
-
-
getStatus
public int getStatus()Returns the migration status of this object item. This reflects how the object was handled within the migration job.- Returns:
-
setStatus
public void setStatus(int status) Sets the migration status of this object item.- Parameters:
status
-
-
toString
-