org.opencms.db.jpa.persistence
Class CmsDAOOfflineResources

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOOfflineResources
All Implemented Interfaces:
I_CmsDAOResources

@Entity
public class CmsDAOOfflineResources
extends java.lang.Object
implements I_CmsDAOResources

This data access object represents a offline resource entry inside the table "cms_offline_resources".

Since:
8.0.0

Constructor Summary
CmsDAOOfflineResources()
          The default constructor.
CmsDAOOfflineResources(java.lang.String resourceId)
          A public constructor for generating a new resource object with an unique id.
 
Method Summary
 long getDateContent()
          Returns the date content.
 long getDateCreated()
          Returns the date created.
 long getDateLastModified()
          Returns the date last modified.
 java.lang.String getProjectLastModified()
          Returns the project last modified.
 int getResourceFlags()
          Returns the resource flags.
 java.lang.String getResourceId()
          Returns the resource id.
 int getResourceSize()
          Returns the resource size.
 int getResourceState()
          Returns the resource state.
 int getResourceType()
          Returns the resource type.
 int getResourceVersion()
          Returns the resource version.
 int getSiblingCount()
          Returns the count of siblings.
 java.lang.String getUserCreated()
          Returns the user created.
 java.lang.String getUserLastModified()
          Returns the user last modified.
 void setDateContent(long dateContent)
          Sets the date content.
 void setDateCreated(long dateCreated)
          Sets the date created.
 void setDateLastModified(long dateLastModified)
          Sets the date last modified.
 void setProjectLastModified(java.lang.String projectLastModified)
          Sets the project last modified.
 void setResourceFlags(int resourceFlags)
          Sets the resource flags.
 void setResourceId(java.lang.String resourceId)
          Sets the resource id.
 void setResourceSize(int resourceSize)
          Sets the resource size.
 void setResourceState(int resourceState)
          Sets the resource state.
 void setResourceType(int resourceType)
          Sets the resource type.
 void setResourceVersion(int resourceVersion)
          Sets the resource version.
 void setSiblingCount(int siblingCount)
          Sets the count of siblings.
 void setUserCreated(java.lang.String userCreated)
          Sets the user created.
 void setUserLastModified(java.lang.String userLastModified)
          Sets the user last modified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOOfflineResources

public CmsDAOOfflineResources()
The default constructor.


CmsDAOOfflineResources

public CmsDAOOfflineResources(java.lang.String resourceId)
A public constructor for generating a new resource object with an unique id.

Parameters:
resourceId - the id
Method Detail

getDateContent

public long getDateContent()
Description copied from interface: I_CmsDAOResources
Returns the date content.

Specified by:
getDateContent in interface I_CmsDAOResources
Returns:
the date content
See Also:
I_CmsDAOResources.getDateContent()

getDateCreated

public long getDateCreated()
Description copied from interface: I_CmsDAOResources
Returns the date created.

Specified by:
getDateCreated in interface I_CmsDAOResources
Returns:
the date created
See Also:
I_CmsDAOResources.getDateCreated()

getDateLastModified

public long getDateLastModified()
Description copied from interface: I_CmsDAOResources
Returns the date last modified.

Specified by:
getDateLastModified in interface I_CmsDAOResources
Returns:
the date last modified
See Also:
I_CmsDAOResources.getDateLastModified()

getProjectLastModified

public java.lang.String getProjectLastModified()
Description copied from interface: I_CmsDAOResources
Returns the project last modified.

Specified by:
getProjectLastModified in interface I_CmsDAOResources
Returns:
the project last modified
See Also:
I_CmsDAOResources.getProjectLastModified()

getResourceFlags

public int getResourceFlags()
Description copied from interface: I_CmsDAOResources
Returns the resource flags.

Specified by:
getResourceFlags in interface I_CmsDAOResources
Returns:
the resource flags
See Also:
I_CmsDAOResources.getResourceFlags()

getResourceId

public java.lang.String getResourceId()
Description copied from interface: I_CmsDAOResources
Returns the resource id.

Specified by:
getResourceId in interface I_CmsDAOResources
Returns:
the resource id
See Also:
I_CmsDAOResources.getResourceId()

getResourceSize

public int getResourceSize()
Description copied from interface: I_CmsDAOResources
Returns the resource size.

Specified by:
getResourceSize in interface I_CmsDAOResources
Returns:
the resource size
See Also:
I_CmsDAOResources.getResourceSize()

getResourceState

public int getResourceState()
Description copied from interface: I_CmsDAOResources
Returns the resource state.

Specified by:
getResourceState in interface I_CmsDAOResources
Returns:
the resource state
See Also:
I_CmsDAOResources.getResourceState()

getResourceType

public int getResourceType()
Description copied from interface: I_CmsDAOResources
Returns the resource type.

Specified by:
getResourceType in interface I_CmsDAOResources
Returns:
the resource type
See Also:
I_CmsDAOResources.getResourceType()

getResourceVersion

public int getResourceVersion()
Description copied from interface: I_CmsDAOResources
Returns the resource version.

Specified by:
getResourceVersion in interface I_CmsDAOResources
Returns:
the resource version
See Also:
I_CmsDAOResources.getResourceVersion()

getSiblingCount

public int getSiblingCount()
Description copied from interface: I_CmsDAOResources
Returns the count of siblings.

Specified by:
getSiblingCount in interface I_CmsDAOResources
Returns:
the count of siblings
See Also:
I_CmsDAOResources.getSiblingCount()

getUserCreated

public java.lang.String getUserCreated()
Description copied from interface: I_CmsDAOResources
Returns the user created.

Specified by:
getUserCreated in interface I_CmsDAOResources
Returns:
the user created
See Also:
I_CmsDAOResources.getUserCreated()

getUserLastModified

public java.lang.String getUserLastModified()
Description copied from interface: I_CmsDAOResources
Returns the user last modified.

Specified by:
getUserLastModified in interface I_CmsDAOResources
Returns:
the user last modified
See Also:
I_CmsDAOResources.getUserLastModified()

setDateContent

public void setDateContent(long dateContent)
Description copied from interface: I_CmsDAOResources
Sets the date content.

Specified by:
setDateContent in interface I_CmsDAOResources
Parameters:
dateContent - the date to set
See Also:
I_CmsDAOResources.setDateContent(long)

setDateCreated

public void setDateCreated(long dateCreated)
Description copied from interface: I_CmsDAOResources
Sets the date created.

Specified by:
setDateCreated in interface I_CmsDAOResources
Parameters:
dateCreated - the date created to set
See Also:
I_CmsDAOResources.setDateCreated(long)

setDateLastModified

public void setDateLastModified(long dateLastModified)
Description copied from interface: I_CmsDAOResources
Sets the date last modified.

Specified by:
setDateLastModified in interface I_CmsDAOResources
Parameters:
dateLastModified - the date to set
See Also:
I_CmsDAOResources.setDateLastModified(long)

setProjectLastModified

public void setProjectLastModified(java.lang.String projectLastModified)
Description copied from interface: I_CmsDAOResources
Sets the project last modified.

Specified by:
setProjectLastModified in interface I_CmsDAOResources
Parameters:
projectLastModified - the project to set
See Also:
I_CmsDAOResources.setProjectLastModified(java.lang.String)

setResourceFlags

public void setResourceFlags(int resourceFlags)
Description copied from interface: I_CmsDAOResources
Sets the resource flags.

Specified by:
setResourceFlags in interface I_CmsDAOResources
Parameters:
resourceFlags - the resource flags to set
See Also:
I_CmsDAOResources.setResourceFlags(int)

setResourceId

public void setResourceId(java.lang.String resourceId)
Description copied from interface: I_CmsDAOResources
Sets the resource id.

Specified by:
setResourceId in interface I_CmsDAOResources
Parameters:
resourceId - the id to set
See Also:
I_CmsDAOResources.setResourceId(java.lang.String)

setResourceSize

public void setResourceSize(int resourceSize)
Description copied from interface: I_CmsDAOResources
Sets the resource size.

Specified by:
setResourceSize in interface I_CmsDAOResources
Parameters:
resourceSize - the resource size to set
See Also:
I_CmsDAOResources.setResourceSize(int)

setResourceState

public void setResourceState(int resourceState)
Description copied from interface: I_CmsDAOResources
Sets the resource state.

Specified by:
setResourceState in interface I_CmsDAOResources
Parameters:
resourceState - the state to set
See Also:
I_CmsDAOResources.setResourceState(int)

setResourceType

public void setResourceType(int resourceType)
Description copied from interface: I_CmsDAOResources
Sets the resource type.

Specified by:
setResourceType in interface I_CmsDAOResources
Parameters:
resourceType - the type to set
See Also:
I_CmsDAOResources.setResourceType(int)

setResourceVersion

public void setResourceVersion(int resourceVersion)
Description copied from interface: I_CmsDAOResources
Sets the resource version.

Specified by:
setResourceVersion in interface I_CmsDAOResources
Parameters:
resourceVersion - the version to set
See Also:
I_CmsDAOResources.setResourceVersion(int)

setSiblingCount

public void setSiblingCount(int siblingCount)
Description copied from interface: I_CmsDAOResources
Sets the count of siblings.

Specified by:
setSiblingCount in interface I_CmsDAOResources
Parameters:
siblingCount - the count to set
See Also:
I_CmsDAOResources.setSiblingCount(int)

setUserCreated

public void setUserCreated(java.lang.String userCreated)
Description copied from interface: I_CmsDAOResources
Sets the user created.

Specified by:
setUserCreated in interface I_CmsDAOResources
Parameters:
userCreated - the user to set
See Also:
I_CmsDAOResources.setUserCreated(java.lang.String)

setUserLastModified

public void setUserLastModified(java.lang.String userLastModified)
Description copied from interface: I_CmsDAOResources
Sets the user last modified.

Specified by:
setUserLastModified in interface I_CmsDAOResources
Parameters:
userLastModified - the user to set
See Also:
I_CmsDAOResources.setUserLastModified(java.lang.String)