@Entity
public class CmsDAOContents
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CmsDAOContents.CmsDAOContentsPK
This class implements the primary key for a opencms content entry in the table "cms_contents".
|
| 构造器和说明 |
|---|
CmsDAOContents()
The public constructor.
|
CmsDAOContents(int publishTagFrom,
java.lang.String resourceId)
A public constructor for generating a new contents object with an unique id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getFileContent()
Returns the file contents.
|
int |
getOnlineFlag()
Returns the online flag.
|
int |
getPublishTagFrom()
Returns the publish tag from.
|
int |
getPublishTagTo()
Returns the publish tag to.
|
java.lang.String |
getResourceId()
Returns the resource id.
|
void |
setFileContent(byte[] fileContent)
Sets the file contents.
|
void |
setOnlineFlag(int onlineFlag)
Sets the online flag.
|
void |
setPublishTagFrom(int publishTagFrom)
Sets the publish tag from.
|
void |
setPublishTagTo(int publishTagTo)
Sets the publish tag to.
|
void |
setResourceId(java.lang.String resourceId)
Sets the resource id.
|
public CmsDAOContents()
public CmsDAOContents(int publishTagFrom,
java.lang.String resourceId)
publishTagFrom - the publish tag fromresourceId - the resource id frompublic byte[] getFileContent()
public int getOnlineFlag()
public int getPublishTagFrom()
public int getPublishTagTo()
public java.lang.String getResourceId()
public void setFileContent(byte[] fileContent)
fileContent - the content to setpublic void setOnlineFlag(int onlineFlag)
onlineFlag - the flag to setpublic void setPublishTagFrom(int publishTagFrom)
publishTagFrom - the publish tag to setpublic void setPublishTagTo(int publishTagTo)
publishTagTo - the flag to setpublic void setResourceId(java.lang.String resourceId)
resourceId - the resource id to set