fr.paris.lutece.plugins.newsletter.business
Class NewsLetterTemplate

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.NewsLetterTemplate
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class NewsLetterTemplate
extends Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource

This class represents business objects NewsLetterTemplate


Field Summary
static String RESOURCE_TYPE
          The resource type key
 
Constructor Summary
NewsLetterTemplate()
           
 
Method Summary
 String getDescription()
          Returns the description of the template
 String getFileName()
          Returns the file name of the template
 int getId()
          Returns the identifier of the template
 String getPicture()
          Returns the picture of the template
 String getResourceId()
          Returns the Resource Type Code that identify the resource type
 String getResourceTypeCode()
          Returns the resource Id of the current object
 int getSectionNumber()
          Get the number of sections of this template
 String getTopicType()
          Returns the topic type of the template
 String getWorkgroup()
          Return the workgroup
static void init()
          Initialisation method
 void setDescription(String strDescription)
          Sets the description of the template
 void setFileName(String strFileName)
          Sets the file name of the template
 void setId(int nId)
          Sets the identifier of the template
 void setPicture(String strPicture)
          Sets the picture of the template
 void setSectionNumber(int nSectionNumber)
          Set the number of sections of this template
 void setTopicType(String strTopicType)
          Sets the topic type of the template
 void setWorkgroup(String strWorkgroup)
          Set the workgroup
 
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 String RESOURCE_TYPE
The resource type key

See Also:
Constant Field Values
Constructor Detail

NewsLetterTemplate

public NewsLetterTemplate()
Method Detail

init

public static void init()
Initialisation method


getId

public int getId()
Returns the identifier of the template

Returns:
the template identifier

setId

public void setId(int nId)
Sets the identifier of the template

Parameters:
nId - the template identifier

getTopicType

public String getTopicType()
Returns the topic type of the template

Returns:
the topic type of the template

setTopicType

public void setTopicType(String strTopicType)
Sets the topic type of the template

Parameters:
strTopicType - the topic type of the template

getDescription

public String getDescription()
Returns the description of the template

Returns:
the template description

setDescription

public void setDescription(String strDescription)
Sets the description of the template

Parameters:
strDescription - the template description

getFileName

public String getFileName()
Returns the file name of the template

Returns:
the template file name

setFileName

public void setFileName(String strFileName)
Sets the file name of the template

Parameters:
strFileName - the template file name

getPicture

public String getPicture()
Returns the picture of the template

Returns:
the template picture

setPicture

public void setPicture(String strPicture)
Sets the picture of the template

Parameters:
strPicture - the template picture

getWorkgroup

public String getWorkgroup()
Return the workgroup

Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
The workgroup

setWorkgroup

public void setWorkgroup(String strWorkgroup)
Set the workgroup

Parameters:
strWorkgroup - The workgroup

getResourceId

public String getResourceId()
Returns the Resource Type Code that identify the resource type

Specified by:
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The Resource Type Code

getResourceTypeCode

public String getResourceTypeCode()
Returns the resource Id of the current object

Specified by:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource Id of the current object

getSectionNumber

public int getSectionNumber()
Get the number of sections of this template

Returns:
The number of sections of this template

setSectionNumber

public void setSectionNumber(int nSectionNumber)
Set the number of sections of this template

Parameters:
nSectionNumber - The number of sections of this template


Copyright © 2013 Mairie de Paris. All Rights Reserved.