org.opencms.db.jpa.persistence
Class CmsDAOPublishHistory

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

@Entity
public class CmsDAOPublishHistory
extends java.lang.Object

This data access object represents a publish history entry inside the table "cms_publish_history".

Since:
8.0.0

Nested Class Summary
static class CmsDAOPublishHistory.CmsDAOPublishHistoryPK
          This class implements the primary key for a publish history entry in the table "cms_publish_history".
 
Constructor Summary
CmsDAOPublishHistory()
          The default constructor.
CmsDAOPublishHistory(java.lang.String historyId, int publishTag, java.lang.String resourcePath, java.lang.String structureId)
          A public constructor for generating a new publish history object with an unique id.
 
Method Summary
 java.lang.String getHistoryId()
          Returns the historyId.
 int getPublishTag()
          Returns the publishTag.
 java.lang.String getResourceId()
          Returns the resourceId.
 java.lang.String getResourcePath()
          Returns the resourcePath.
 int getResourceState()
          Returns the resourceState.
 int getResourceType()
          Returns the resourceType.
 int getSiblingCount()
          Returns the siblingCount.
 java.lang.String getStructureId()
          Returns the structureId.
 void setHistoryId(java.lang.String historyId)
          Sets the historyId.
 void setPublishTag(int publishTag)
          Sets the publishTag.
 void setResourceId(java.lang.String resourceId)
          Sets the resourceId.
 void setResourcePath(java.lang.String resourcePath)
          Sets the resourcePath.
 void setResourceState(int resourceState)
          Sets the resourceState.
 void setResourceType(int resourceType)
          Sets the resourceType.
 void setSiblingCount(int siblingCount)
          Sets the siblingCount.
 void setStructureId(java.lang.String structureId)
          Sets the structureId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOPublishHistory

public CmsDAOPublishHistory()
The default constructor.


CmsDAOPublishHistory

public CmsDAOPublishHistory(java.lang.String historyId,
                            int publishTag,
                            java.lang.String resourcePath,
                            java.lang.String structureId)
A public constructor for generating a new publish history object with an unique id.

Parameters:
historyId - the history id
publishTag - the publish tag
resourcePath - the resource path
structureId - the structure id
Method Detail

getHistoryId

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

Returns:
the historyId

getPublishTag

public int getPublishTag()
Returns the publishTag.

Returns:
the publishTag

getResourceId

public java.lang.String getResourceId()
Returns the resourceId.

Returns:
the resourceId

getResourcePath

public java.lang.String getResourcePath()
Returns the resourcePath.

Returns:
the resourcePath

getResourceState

public int getResourceState()
Returns the resourceState.

Returns:
the resourceState

getResourceType

public int getResourceType()
Returns the resourceType.

Returns:
the resourceType

getSiblingCount

public int getSiblingCount()
Returns the siblingCount.

Returns:
the siblingCount

getStructureId

public java.lang.String getStructureId()
Returns the structureId.

Returns:
the structureId

setHistoryId

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

Parameters:
historyId - the historyId to set

setPublishTag

public void setPublishTag(int publishTag)
Sets the publishTag.

Parameters:
publishTag - the publishTag to set

setResourceId

public void setResourceId(java.lang.String resourceId)
Sets the resourceId.

Parameters:
resourceId - the resourceId to set

setResourcePath

public void setResourcePath(java.lang.String resourcePath)
Sets the resourcePath.

Parameters:
resourcePath - the resourcePath to set

setResourceState

public void setResourceState(int resourceState)
Sets the resourceState.

Parameters:
resourceState - the resourceState to set

setResourceType

public void setResourceType(int resourceType)
Sets the resourceType.

Parameters:
resourceType - the resourceType to set

setSiblingCount

public void setSiblingCount(int siblingCount)
Sets the siblingCount.

Parameters:
siblingCount - the siblingCount to set

setStructureId

public void setStructureId(java.lang.String structureId)
Sets the structureId.

Parameters:
structureId - the structureId to set