com.gentics.contentnode.rest.model.response.migration
Class MigrationJobLogEntryItem

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.migration.MigrationJobLogEntryItem

public class MigrationJobLogEntryItem
extends java.lang.Object

Class that represents a migration job item within the database log

Author:
johannes2

Constructor Summary
MigrationJobLogEntryItem()
           
MigrationJobLogEntryItem(int jobId, int objectId, int objectType, int status)
          Create a new job log entry item
 
Method Summary
 int getJobId()
          Returns the job id
 int getObjectId()
          Returns the object id for this item
 int getObjectType()
          Returns the object type for this item.
 int getStatus()
          Returns the migration status of this object item.
 void setJobId(int jobId)
          Sets the job id
 void setObjectId(int objectId)
          Sets the object id for this item
 void setObjectType(int objectType)
          Sets the object type for this object item
 void setStatus(int status)
          Sets the migration status of this object item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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 -


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.