|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.page.Page
public class Page
This class reprsents business objects Page
Field Summary | |
---|---|
static java.lang.String |
RESOURCE_TYPE
|
static java.lang.String |
ROLE_NONE
|
Constructor Summary | |
---|---|
Page()
|
Method Summary | |
---|---|
java.lang.String |
getCodeTheme()
Returns the theme of the page |
java.sql.Timestamp |
getDateUpdate()
Returns the date to which the content page has been modified |
java.lang.String |
getDescription()
Returns the description of the page |
int |
getId()
Returns the identifier of the page |
java.lang.Integer |
getIdAuthorizationNode()
get the id of the authorization node |
byte[] |
getImageContent()
Returns the ImageContent |
java.lang.String |
getMetaDescription()
|
java.lang.String |
getMetaKeywords()
|
java.lang.String |
getMimeType()
Returns the MimeType |
java.lang.String |
getName()
Returns the name of the page |
int |
getNodeStatus()
Returns the NodeStatus of the page |
int |
getOrder()
Returns the position of the page into a portlet child pages |
int |
getPageTemplateId()
Returns the identifier of the template for the page-setting |
int |
getParentPageId()
Returns the identifier of the parent current page |
java.util.List<Portlet> |
getPortlets()
Returns the portlets list contained into the page |
java.lang.String |
getResourceId()
Returns the resource Id of the current object |
java.lang.String |
getResourceTypeCode()
Returns the Resource Type Code that identify the resource type |
java.lang.String |
getRole()
Gets the page role |
int |
getStatus()
Returns the status of the current page |
java.lang.String |
getTemplate()
Returns the name of the template file for page-setting |
boolean |
isVisible(javax.servlet.http.HttpServletRequest request)
Checks if the page is visible for the current user |
void |
setCodeTheme(java.lang.String strCodeTheme)
Sets the Theme of the page to the specified string. |
void |
setDateUpdate(java.sql.Timestamp dateUpdate)
Sets the date to which the content page has been modified |
void |
setDescription(java.lang.String strDescription)
Sets the description of the page |
void |
setId(int nId)
Sets the identifier of the page |
void |
setIdAuthorizationNode(java.lang.Integer nIdAutorizationNode)
set the id of the authorization node |
void |
setImageContent(byte[] strImageContent)
Sets the ImageContent |
void |
setMetaDescription(java.lang.String strMetaDescription)
set the META description |
void |
setMetaKeywords(java.lang.String strMetaKeywords)
set the META name |
void |
setMimeType(java.lang.String strMimeType)
Sets the MimeType |
void |
setName(java.lang.String strName)
Sets the name of the page |
void |
setNodeStatus(int nNodeStatus)
Sets the node_status of the page |
void |
setOrder(int nOrder)
Sets the position of the current page into a portlet child pages |
void |
setPageTemplateId(int nPageTemplateId)
Sets the identifier of the template for the page-setting |
void |
setParentPageId(int nParentPageId)
Sets the identifier of the parent current page |
void |
setPortlets(java.util.List<Portlet> listPortlets)
Sets the date to which the portlets list has been modified |
void |
setRole(java.lang.String strRole)
Sets the page's role |
void |
setStatus(int nStatus)
Sets the status of the current page (active or not active) |
void |
setTemplate(java.lang.String strTemplate)
Sets the name of the template file for page-setting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOURCE_TYPE
public static final java.lang.String ROLE_NONE
Constructor Detail |
---|
public Page()
Method Detail |
---|
public void setId(int nId)
nId
- the page identifierpublic int getId()
public void setParentPageId(int nParentPageId)
nParentPageId
- the parent page identifierpublic int getParentPageId()
public byte[] getImageContent()
public void setImageContent(byte[] strImageContent)
strImageContent
- The ImageContentpublic java.lang.String getMimeType()
public void setMimeType(java.lang.String strMimeType)
strMimeType
- The MimeTypepublic void setName(java.lang.String strName)
strName
- The page namepublic java.lang.String getName()
public void setPageTemplateId(int nPageTemplateId)
nPageTemplateId
- the template identifierpublic int getPageTemplateId()
public void setTemplate(java.lang.String strTemplate)
strTemplate
- the template filenamepublic java.lang.String getTemplate()
public void setOrder(int nOrder)
nOrder
- the current page position into a portlet child pagespublic int getOrder()
public void setStatus(int nStatus)
nStatus
- the page statuspublic int getStatus()
public void setDescription(java.lang.String strDescription)
strDescription
- the page descriptionpublic java.lang.String getDescription()
public void setNodeStatus(int nNodeStatus)
nNodeStatus
- the node statuspublic int getNodeStatus()
public java.util.List<Portlet> getPortlets()
public void setPortlets(java.util.List<Portlet> listPortlets)
listPortlets
- the portlet listpublic void setDateUpdate(java.sql.Timestamp dateUpdate)
dateUpdate
- the date of modificationpublic java.sql.Timestamp getDateUpdate()
public java.lang.String getRole()
public void setRole(java.lang.String strRole)
strRole
- The rolepublic java.lang.String getCodeTheme()
public void setCodeTheme(java.lang.String strCodeTheme)
strCodeTheme
- The new Theme of the page.public boolean isVisible(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface RBACResource
public java.lang.String getResourceId()
getResourceId
in interface RBACResource
public java.lang.String getMetaKeywords()
public void setMetaKeywords(java.lang.String strMetaKeywords)
strMetaKeywords
- the META namepublic java.lang.String getMetaDescription()
public void setMetaDescription(java.lang.String strMetaDescription)
strMetaDescription
- the META descriptionpublic void setIdAuthorizationNode(java.lang.Integer nIdAutorizationNode)
nIdAutorizationNode
- public java.lang.Integer getIdAuthorizationNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |