org.opencms.db.jpa.persistence
Class CmsDAOOfflineContents

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

@Entity
public class CmsDAOOfflineContents
extends java.lang.Object

This data access object represents a offline contents entry inside the table "cms_offline_contents".

Since:
8.0.0

Constructor Summary
CmsDAOOfflineContents()
          The default constructor.
CmsDAOOfflineContents(java.lang.String resourceId)
          A public constructor for generating a new contents object with an unique id.
 
Method Summary
 byte[] getFileContent()
          Returns the fileContent.
 java.lang.String getResourceId()
          Returns the resourceId.
 void setFileContent(byte[] fileContent)
          Sets the fileContent.
 void setResourceId(java.lang.String resourceId)
          Sets the resourceId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOOfflineContents

public CmsDAOOfflineContents()
The default constructor.


CmsDAOOfflineContents

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

Parameters:
resourceId - the resource id
Method Detail

getFileContent

public byte[] getFileContent()
Returns the fileContent.

Returns:
the fileContent

getResourceId

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

Returns:
the resourceId

setFileContent

public void setFileContent(byte[] fileContent)
Sets the fileContent.

Parameters:
fileContent - the fileContent to set

setResourceId

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

Parameters:
resourceId - the resourceId to set