Class HtmlPage
- java.lang.Object
-
- fr.paris.lutece.plugins.htmlpage.business.HtmlPage
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public class HtmlPage extends java.lang.Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourceThis class represents business object HtmlPage- Author:
- lenaini
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPEstatic java.lang.StringROLE_NONE
-
Constructor Summary
Constructors Constructor Description HtmlPage()Creates a new instance of HtmlPage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.TimestampgetDateEnd()java.sql.TimestampgetDateStart()java.lang.StringgetDescription()Returns the description of this htmlpage.java.lang.StringgetHtmlContent()Returns the htmlcontent of this htmlpage.intgetId()Returns the identifier of this htmlpage.java.lang.StringgetRole()Gets the contactList roleintgetStatus()Returns the status of this htmlpage.java.lang.StringgetWorkgroup()Returns the workgroupjava.lang.StringgetWorkgroupKey()Return the WorkgroupKey Contact Labelstatic voidinit()Initialize the HtmlPageListbooleanisEnabled()voidsetDateEnd(java.sql.Timestamp dateEnd)voidsetDateStart(java.sql.Timestamp dateStart)voidsetDescription(java.lang.String strDescription)Sets the description of the htmlpage to the specified string.voidsetHtmlContent(java.lang.String strHtmlContent)Sets the htmlcontent of the htmlpage to the specified string.voidsetId(int nId)Sets the identifier of the htmlpage to the specified integer.voidsetRole(java.lang.String strRole)allows the contact List to be saw by a rolevoidsetStatus(int nStatus)Sets the description of the htmlpage to the specified string.voidsetWorkgroup(java.lang.String strAdminWorkgroup)Sets the workgroupvoidsetWorkgroupKey(java.lang.String strWorkgroupKey)Sets the description of the Contact with the specified String
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
ROLE_NONE
public static final java.lang.String ROLE_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static void init()
Initialize the HtmlPageList
-
getId
public int getId()
Returns the identifier of this htmlpage.- Returns:
- the htmlpage identifier
-
setId
public void setId(int nId)
Sets the identifier of the htmlpage to the specified integer.- Parameters:
nId- the new identifier
-
getDescription
public java.lang.String getDescription()
Returns the description of this htmlpage.- Returns:
- the htmlpage description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the description of the htmlpage to the specified string.- Parameters:
strDescription- the new description
-
getHtmlContent
public java.lang.String getHtmlContent()
Returns the htmlcontent of this htmlpage.- Returns:
- the htmlpage htmlcontent
-
setHtmlContent
public void setHtmlContent(java.lang.String strHtmlContent)
Sets the htmlcontent of the htmlpage to the specified string.- Parameters:
strHtmlContent- the new htmlcontent
-
getStatus
public int getStatus()
Returns the status of this htmlpage.- Returns:
- the htmlpage status
-
setStatus
public void setStatus(int nStatus)
Sets the description of the htmlpage to the specified string.- Parameters:
strDescription- the new description
-
getRole
public java.lang.String getRole()
Gets the contactList role- Returns:
- contactList's role as a String
- Since:
- v1.1
-
setRole
public void setRole(java.lang.String strRole)
allows the contact List to be saw by a role- Parameters:
strRole- The role that can see the contact list
-
getWorkgroupKey
public java.lang.String getWorkgroupKey()
Return the WorkgroupKey Contact Label- Returns:
- The label of the selected Workgroup Key
-
setWorkgroupKey
public void setWorkgroupKey(java.lang.String strWorkgroupKey)
Sets the description of the Contact with the specified String- Parameters:
strWorkgroupKey- The workgroup key
-
getWorkgroup
public java.lang.String getWorkgroup()
Returns the workgroup- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- The workgroup
-
setWorkgroup
public void setWorkgroup(java.lang.String strAdminWorkgroup)
Sets the workgroup- Parameters:
strAdminWorkgroup- The workgroup
-
isEnabled
public boolean isEnabled()
-
getDateStart
public java.sql.Timestamp getDateStart()
- Returns:
- the _dateStart
-
setDateStart
public void setDateStart(java.sql.Timestamp dateStart)
- Parameters:
dateStart- the _dateStart to set
-
getDateEnd
public java.sql.Timestamp getDateEnd()
- Returns:
- the _dateEnd
-
setDateEnd
public void setDateEnd(java.sql.Timestamp dateEnd)
- Parameters:
dateEnd- the _dateEnd to set
-
-