fr.paris.lutece.plugins.htmlpage.business
Class HtmlPage

java.lang.Object
  extended by 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.AdminWorkgroupResource

This class represents business object HtmlPage

Author:
lenaini

Field Summary
static java.lang.String RESOURCE_TYPE
           
static java.lang.String ROLE_NONE
           
 
Constructor Summary
HtmlPage()
          Creates a new instance of HtmlPage
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this htmlpage.
 java.lang.String getHtmlContent()
          Returns the htmlcontent of this htmlpage.
 int getId()
          Returns the identifier of this htmlpage.
 java.lang.String getRole()
          Gets the contactList role
 int getStatus()
          Returns the status of this htmlpage.
 java.lang.String getWorkgroup()
          Returns the workgroup
 java.lang.String getWorkgroupKey()
          Return the WorkgroupKey Contact Label
static void init()
          Initialize the HtmlPageList
 void setDescription(java.lang.String strDescription)
          Sets the description of the htmlpage to the specified string.
 void setHtmlContent(java.lang.String strHtmlContent)
          Sets the htmlcontent of the htmlpage to the specified string.
 void setId(int nId)
          Sets the identifier of the htmlpage to the specified integer.
 void setRole(java.lang.String strRole)
          allows the contact List to be saw by a role
 void setStatus(int nStatus)
          Sets the description of the htmlpage to the specified string.
 void setWorkgroup(java.lang.String strAdminWorkgroup)
          Sets the workgroup
 void setWorkgroupKey(java.lang.String strWorkgroupKey)
          Sets the description of the Contact with the specified String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

HtmlPage

public HtmlPage()
Creates a new instance of HtmlPage

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:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
The workgroup

setWorkgroup

public void setWorkgroup(java.lang.String strAdminWorkgroup)
Sets the workgroup

Parameters:
strAdminWorkgroup - The workgroup


Copyright © 2008 Mairie de Paris. All Rights Reserved.