org.opencms.db.jpa.persistence
Class CmsDAOPublishJobs

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOPublishJobs

@Entity
public class CmsDAOPublishJobs
extends java.lang.Object

This data access object represents a publish job entry inside the table "cms_publish_jobs".

Since:
8.0.0

Constructor Summary
CmsDAOPublishJobs()
          The default constructor.
CmsDAOPublishJobs(java.lang.String historyId)
          A public constructor for generating a new publish job object with an unique id.
 
Method Summary
 long getEnqueueTime()
          Returns the enqueueTime.
 long getFinishTime()
          Returns the finishTime.
 java.lang.String getHistoryId()
          Returns the historyId.
 java.lang.String getProjectId()
          Returns the projectId.
 java.lang.String getProjectName()
          Returns the projectName.
 int getPublishFlags()
          Returns the publishFlags.
 byte[] getPublishList()
          Returns the publishList.
 java.lang.String getPublishLocale()
          Returns the publishLocale.
 byte[] getPublishReport()
          Returns the publishReport.
 int getResourceCount()
          Returns the resourceCount.
 long getStartTime()
          Returns the startTime.
 java.lang.String getUserId()
          Returns the userId.
 void setEnqueueTime(long enqueueTime)
          Sets the enqueueTime.
 void setFinishTime(long finishTime)
          Sets the finishTime.
 void setHistoryId(java.lang.String historyId)
          Sets the historyId.
 void setProjectId(java.lang.String projectId)
          Sets the projectId.
 void setProjectName(java.lang.String projectName)
          Sets the projectName.
 void setPublishFlags(int publishFlags)
          Sets the publishFlags.
 void setPublishList(byte[] publishList)
          Sets the publishList.
 void setPublishLocale(java.lang.String publishLocale)
          Sets the publishLocale.
 void setPublishReport(byte[] publishReport)
          Sets the publishReport.
 void setResourceCount(int resourceCount)
          Sets the resourceCount.
 void setStartTime(long startTime)
          Sets the startTime.
 void setUserId(java.lang.String userId)
          Sets the userId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOPublishJobs

public CmsDAOPublishJobs()
The default constructor.


CmsDAOPublishJobs

public CmsDAOPublishJobs(java.lang.String historyId)
A public constructor for generating a new publish job object with an unique id.

Parameters:
historyId - the id
Method Detail

getEnqueueTime

public long getEnqueueTime()
Returns the enqueueTime.

Returns:
the enqueueTime

getFinishTime

public long getFinishTime()
Returns the finishTime.

Returns:
the finishTime

getHistoryId

public java.lang.String getHistoryId()
Returns the historyId.

Returns:
the historyId

getProjectId

public java.lang.String getProjectId()
Returns the projectId.

Returns:
the projectId

getProjectName

public java.lang.String getProjectName()
Returns the projectName.

Returns:
the projectName

getPublishFlags

public int getPublishFlags()
Returns the publishFlags.

Returns:
the publishFlags

getPublishList

public byte[] getPublishList()
Returns the publishList.

Returns:
the publishList

getPublishLocale

public java.lang.String getPublishLocale()
Returns the publishLocale.

Returns:
the publishLocale

getPublishReport

public byte[] getPublishReport()
Returns the publishReport.

Returns:
the publishReport

getResourceCount

public int getResourceCount()
Returns the resourceCount.

Returns:
the resourceCount

getStartTime

public long getStartTime()
Returns the startTime.

Returns:
the startTime

getUserId

public java.lang.String getUserId()
Returns the userId.

Returns:
the userId

setEnqueueTime

public void setEnqueueTime(long enqueueTime)
Sets the enqueueTime.

Parameters:
enqueueTime - the enqueueTime to set

setFinishTime

public void setFinishTime(long finishTime)
Sets the finishTime.

Parameters:
finishTime - the finishTime to set

setHistoryId

public void setHistoryId(java.lang.String historyId)
Sets the historyId.

Parameters:
historyId - the historyId to set

setProjectId

public void setProjectId(java.lang.String projectId)
Sets the projectId.

Parameters:
projectId - the projectId to set

setProjectName

public void setProjectName(java.lang.String projectName)
Sets the projectName.

Parameters:
projectName - the projectName to set

setPublishFlags

public void setPublishFlags(int publishFlags)
Sets the publishFlags.

Parameters:
publishFlags - the publishFlags to set

setPublishList

public void setPublishList(byte[] publishList)
Sets the publishList.

Parameters:
publishList - the publishList to set

setPublishLocale

public void setPublishLocale(java.lang.String publishLocale)
Sets the publishLocale.

Parameters:
publishLocale - the publishLocale to set

setPublishReport

public void setPublishReport(byte[] publishReport)
Sets the publishReport.

Parameters:
publishReport - the publishReport to set

setResourceCount

public void setResourceCount(int resourceCount)
Sets the resourceCount.

Parameters:
resourceCount - the resourceCount to set

setStartTime

public void setStartTime(long startTime)
Sets the startTime.

Parameters:
startTime - the startTime to set

setUserId

public void setUserId(java.lang.String userId)
Sets the userId.

Parameters:
userId - the userId to set