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 Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
This class represents business object HtmlPage
- Author:
- lenaini
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of this htmlpage.Returns the htmlcontent of this htmlpage.intgetId()Returns the identifier of this htmlpage.getRole()Gets the contactList roleintReturns the status of this htmlpage.Returns the workgroupReturn the WorkgroupKey Contact Labelstatic voidinit()Initialize the HtmlPageListbooleanvoidsetDateEnd(Timestamp dateEnd) voidsetDateStart(Timestamp dateStart) voidsetDescription(String strDescription) Sets the description of the htmlpage to the specified string.voidsetHtmlContent(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.voidallows the contact List to be saw by a rolevoidsetStatus(int nStatus) Sets the description of the htmlpage to the specified string.voidsetWorkgroup(String strAdminWorkgroup) Sets the workgroupvoidsetWorkgroupKey(String strWorkgroupKey) Sets the description of the Contact with the specified String
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
ROLE_NONE
- See Also:
-
-
Constructor Details
-
HtmlPage
public HtmlPage()Creates a new instance of HtmlPage
-
-
Method Details
-
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
Returns the description of this htmlpage.- Returns:
- the htmlpage description
-
setDescription
Sets the description of the htmlpage to the specified string.- Parameters:
strDescription- the new description
-
getHtmlContent
Returns the htmlcontent of this htmlpage.- Returns:
- the htmlpage htmlcontent
-
setHtmlContent
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
Gets the contactList role- Returns:
- contactList's role as a String
- Since:
- v1.1
-
setRole
allows the contact List to be saw by a role- Parameters:
strRole- The role that can see the contact list
-
getWorkgroupKey
Return the WorkgroupKey Contact Label- Returns:
- The label of the selected Workgroup Key
-
setWorkgroupKey
Sets the description of the Contact with the specified String- Parameters:
strWorkgroupKey- The workgroup key
-
getWorkgroup
Returns the workgroup- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- The workgroup
-
setWorkgroup
Sets the workgroup- Parameters:
strAdminWorkgroup- The workgroup
-
isEnabled
public boolean isEnabled() -
getDateStart
- Returns:
- the _dateStart
-
setDateStart
- Parameters:
dateStart- the _dateStart to set
-
getDateEnd
- Returns:
- the _dateEnd
-
setDateEnd
- Parameters:
dateEnd- the _dateEnd to set
-