public class Page extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, IExtendableResource
Modifier and Type | Field and Description |
---|---|
static String |
IMAGE_RESOURCE_TYPE_ID |
static String |
RESOURCE_TYPE |
static String |
ROLE_NONE |
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
String |
getCodeTheme()
Returns the theme of the page
|
Timestamp |
getDateUpdate()
Returns the date to which the content page has been modified
|
String |
getDescription()
Returns the description of the page
|
boolean |
getDisplayDateUpdate()
Get the DisplayDateUpdate
|
String |
getExtendableResourceDescription()
Gets the name.
|
String |
getExtendableResourceImageUrl()
Gets the URL of the image describing the resource.
|
String |
getExtendableResourceName()
Gets the name.
|
String |
getExtendableResourceType()
Gets the resource type.
|
int |
getId()
Returns the identifier of the page
|
Integer |
getIdAuthorizationNode()
get the id of the authorization node
|
String |
getIdExtendableResource()
Gets the id.
|
byte[] |
getImageContent()
Returns the ImageContent
|
boolean |
getIsManualDateUpdate()
Get the boolean for manual date update
|
String |
getMetaDescription() |
String |
getMetaKeywords() |
String |
getMimeType()
Returns the MimeType
|
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 |
getOrigParentPageId()
Returns the identifier of the parent page as loaded from the db
|
int |
getPageTemplateId()
Returns the identifier of the template for the page-setting
|
int |
getParentPageId()
Returns the identifier of the parent current page
|
List<Portlet> |
getPortlets()
Returns the portlets list contained into the page
|
String |
getResourceId()
Returns the resource Id of the current object
|
String |
getResourceTypeCode()
Returns the Resource Type Code that identify the resource type
|
String |
getRole()
Gets the page role
|
int |
getStatus()
Returns the status of the current page
|
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(String strCodeTheme)
Sets the Theme of the page to the specified string.
|
void |
setDateUpdate(Timestamp dateUpdate)
Sets the date to which the content page has been modified
|
void |
setDescription(String strDescription)
Sets the description of the page
|
void |
setDisplayDateUpdate(boolean bDisplayDateUpdate)
Set DisplayDateUpdate
|
void |
setId(int nId)
Sets the identifier of the page
|
void |
setIdAuthorizationNode(Integer nIdAutorizationNode)
set the id of the authorization node
|
void |
setImageContent(byte[] strImageContent)
Sets the ImageContent
|
void |
setIsManualDateUpdate(boolean bIsManualDateUpdate)
Set boolean for manual date update
|
void |
setMetaDescription(String strMetaDescription)
set the META description
|
void |
setMetaKeywords(String strMetaKeywords)
set the META name
|
void |
setMimeType(String strMimeType)
Sets the MimeType
|
void |
setName(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(List<Portlet> listPortlets)
Sets the date to which the portlets list has been modified
|
void |
setRole(String strRole)
Sets the page's role
|
void |
setStatus(int nStatus)
Sets the status of the current page (active or not active)
|
void |
setTemplate(String strTemplate)
Sets the name of the template file for page-setting
|
public static final String RESOURCE_TYPE
public static final String IMAGE_RESOURCE_TYPE_ID
public static final String ROLE_NONE
public void setId(int nId)
nId
- the page identifierpublic int getId()
public void setParentPageId(int nParentPageId)
nParentPageId
- the parent page identifierpublic int getParentPageId()
public int getOrigParentPageId()
public byte[] getImageContent()
public void setImageContent(byte[] strImageContent)
strImageContent
- The ImageContentpublic String getMimeType()
public void setMimeType(String strMimeType)
strMimeType
- The MimeTypepublic void setName(String strName)
strName
- The page namepublic String getName()
public void setPageTemplateId(int nPageTemplateId)
nPageTemplateId
- the template identifierpublic int getPageTemplateId()
public void setTemplate(String strTemplate)
strTemplate
- the template filenamepublic 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(String strDescription)
strDescription
- the page descriptionpublic String getDescription()
public void setNodeStatus(int nNodeStatus)
nNodeStatus
- the node statuspublic int getNodeStatus()
public List<Portlet> getPortlets()
public void setPortlets(List<Portlet> listPortlets)
listPortlets
- the portlet listpublic void setDateUpdate(Timestamp dateUpdate)
dateUpdate
- the date of modificationpublic Timestamp getDateUpdate()
public String getRole()
public void setRole(String strRole)
strRole
- The rolepublic String getCodeTheme()
public void setCodeTheme(String strCodeTheme)
strCodeTheme
- The new Theme of the page.public boolean isVisible(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getMetaKeywords()
public void setMetaKeywords(String strMetaKeywords)
strMetaKeywords
- the META namepublic String getMetaDescription()
public void setMetaDescription(String strMetaDescription)
strMetaDescription
- the META descriptionpublic void setIdAuthorizationNode(Integer nIdAutorizationNode)
nIdAutorizationNode
- The authorization node IDpublic Integer getIdAuthorizationNode()
public String getIdExtendableResource()
getIdExtendableResource
in interface IExtendableResource
public String getExtendableResourceType()
getExtendableResourceType
in interface IExtendableResource
public String getExtendableResourceName()
getExtendableResourceName
in interface IExtendableResource
public String getExtendableResourceDescription()
getExtendableResourceDescription
in interface IExtendableResource
public String getExtendableResourceImageUrl()
getExtendableResourceImageUrl
in interface IExtendableResource
public boolean getDisplayDateUpdate()
public void setDisplayDateUpdate(boolean bDisplayDateUpdate)
bDisplayDateUpdate
- public boolean getIsManualDateUpdate()
public void setIsManualDateUpdate(boolean bIsManualDateUpdate)
bIsManualDateUpdate
- Copyright © 2020 City of Paris. All rights reserved.