org.opencms.db.jpa.persistence
Class CmsDAOHistoryResources

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

@Entity
public class CmsDAOHistoryResources
extends java.lang.Object

This data access object represents a historical resource entry inside the table "cms_history_resources".

Since:
8.0.0

Nested Class Summary
static class CmsDAOHistoryResources.CmsDAOHistoryResourcesPK
          This class implements the primary key for a historical resource entry in the table "cms_history_resources".
 
Constructor Summary
CmsDAOHistoryResources()
          The default constructor.
CmsDAOHistoryResources(int publishTag, java.lang.String resourceId)
          A public constructor for generating a new contents object with an unique id.
 
Method Summary
 long getDateContent()
          Returns the dateContent.
 long getDateCreated()
          Returns the dateCreated.
 long getDateLastModified()
          Returns the dateLastModified.
 java.lang.String getProjectLastModified()
          Returns the projectLastModified.
 int getPublishTag()
          Returns the publishTag.
 int getResourceFlags()
          Returns the resourceFlags.
 java.lang.String getResourceId()
          Returns the resourceId.
 int getResourceSize()
          Returns the resourceSize.
 int getResourceState()
          Returns the resourceState.
 int getResourceType()
          Returns the resourceType.
 int getResourceVersion()
          Returns the resourceVersion.
 int getSiblingCount()
          Returns the siblingCount.
 java.lang.String getUserCreated()
          Returns the userCreated.
 java.lang.String getUserLastModified()
          Returns the userLastModified.
 void setDateContent(long dateContent)
          Sets the dateContent.
 void setDateCreated(long dateCreated)
          Sets the dateCreated.
 void setDateLastModified(long dateLastModified)
          Sets the dateLastModified.
 void setProjectLastModified(java.lang.String projectLastModified)
          Sets the projectLastModified.
 void setPublishTag(int publishTag)
          Sets the publishTag.
 void setResourceFlags(int resourceFlags)
          Sets the resourceFlags.
 void setResourceId(java.lang.String resourceId)
          Sets the resourceId.
 void setResourceSize(int resourceSize)
          Sets the resourceSize.
 void setResourceState(int resourceState)
          Sets the resourceState.
 void setResourceType(int resourceType)
          Sets the resourceType.
 void setResourceVersion(int resourceVersion)
          Sets the resourceVersion.
 void setSiblingCount(int siblingCount)
          Sets the siblingCount.
 void setUserCreated(java.lang.String userCreated)
          Sets the userCreated.
 void setUserLastModified(java.lang.String userLastModified)
          Sets the userLastModified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOHistoryResources

public CmsDAOHistoryResources()
The default constructor.


CmsDAOHistoryResources

public CmsDAOHistoryResources(int publishTag,
                              java.lang.String resourceId)
A public constructor for generating a new contents object with an unique id.

Parameters:
publishTag - the publish tag
resourceId - the resource id
Method Detail

getDateContent

public long getDateContent()
Returns the dateContent.

Returns:
the dateContent

getDateCreated

public long getDateCreated()
Returns the dateCreated.

Returns:
the dateCreated

getDateLastModified

public long getDateLastModified()
Returns the dateLastModified.

Returns:
the dateLastModified

getProjectLastModified

public java.lang.String getProjectLastModified()
Returns the projectLastModified.

Returns:
the projectLastModified

getPublishTag

public int getPublishTag()
Returns the publishTag.

Returns:
the publishTag

getResourceFlags

public int getResourceFlags()
Returns the resourceFlags.

Returns:
the resourceFlags

getResourceId

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

Returns:
the resourceId

getResourceSize

public int getResourceSize()
Returns the resourceSize.

Returns:
the resourceSize

getResourceState

public int getResourceState()
Returns the resourceState.

Returns:
the resourceState

getResourceType

public int getResourceType()
Returns the resourceType.

Returns:
the resourceType

getResourceVersion

public int getResourceVersion()
Returns the resourceVersion.

Returns:
the resourceVersion

getSiblingCount

public int getSiblingCount()
Returns the siblingCount.

Returns:
the siblingCount

getUserCreated

public java.lang.String getUserCreated()
Returns the userCreated.

Returns:
the userCreated

getUserLastModified

public java.lang.String getUserLastModified()
Returns the userLastModified.

Returns:
the userLastModified

setDateContent

public void setDateContent(long dateContent)
Sets the dateContent.

Parameters:
dateContent - the dateContent to set

setDateCreated

public void setDateCreated(long dateCreated)
Sets the dateCreated.

Parameters:
dateCreated - the dateCreated to set

setDateLastModified

public void setDateLastModified(long dateLastModified)
Sets the dateLastModified.

Parameters:
dateLastModified - the dateLastModified to set

setProjectLastModified

public void setProjectLastModified(java.lang.String projectLastModified)
Sets the projectLastModified.

Parameters:
projectLastModified - the projectLastModified to set

setPublishTag

public void setPublishTag(int publishTag)
Sets the publishTag.

Parameters:
publishTag - the publishTag to set

setResourceFlags

public void setResourceFlags(int resourceFlags)
Sets the resourceFlags.

Parameters:
resourceFlags - the resourceFlags to set

setResourceId

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

Parameters:
resourceId - the resourceId to set

setResourceSize

public void setResourceSize(int resourceSize)
Sets the resourceSize.

Parameters:
resourceSize - the resourceSize 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

setResourceVersion

public void setResourceVersion(int resourceVersion)
Sets the resourceVersion.

Parameters:
resourceVersion - the resourceVersion to set

setSiblingCount

public void setSiblingCount(int siblingCount)
Sets the siblingCount.

Parameters:
siblingCount - the siblingCount to set

setUserCreated

public void setUserCreated(java.lang.String userCreated)
Sets the userCreated.

Parameters:
userCreated - the userCreated to set

setUserLastModified

public void setUserLastModified(java.lang.String userLastModified)
Sets the userLastModified.

Parameters:
userLastModified - the userLastModified to set