|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.jpa.persistence.CmsDAOContents
@Entity public class CmsDAOContents
This data access object represents a cms contents entry inside the table "cms_contents".
| Nested Class Summary | |
|---|---|
static class |
CmsDAOContents.CmsDAOContentsPK
This class implements the primary key for a opencms content entry in the table "cms_contents". |
| Constructor Summary | |
|---|---|
CmsDAOContents()
The public constructor. |
|
CmsDAOContents(int publishTagFrom,
java.lang.String resourceId)
A public constructor for generating a new contents object with an unique id. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsDAOContents()
public CmsDAOContents(int publishTagFrom,
java.lang.String resourceId)
publishTagFrom - the publish tag fromresourceId - the resource id from| Method Detail |
|---|
public 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
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||