Class NewsLetterTemplate
java.lang.Object
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the templateReturns the file name of the templateintgetId()Returns the identifier of the templateReturns the picture of the templateReturns the Resource Type Code that identify the resource typeReturns the resource Id of the current objectintGet the number of sections of this templateReturns the topic type of the templateReturn the workgroupstatic voidinit()Initialisation methodvoidsetDescription(String strDescription) Sets the description of the templatevoidsetFileKey(String strFileName) Sets the file name of the templatevoidsetId(int nId) Sets the identifier of the templatevoidsetPictureKey(String strPicture) Sets the picture of the templatevoidsetSectionNumber(int nSectionNumber) Set the number of sections of this templatevoidsetTopicType(String strTopicType) Sets the topic type of the templatevoidsetWorkgroup(String strWorkgroup) Set the workgroup
-
Field Details
-
RESOURCE_TYPE
The resource type key- See Also:
-
-
Constructor Details
-
NewsLetterTemplate
public NewsLetterTemplate()
-
-
Method Details
-
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
Returns the topic type of the template- Returns:
- the topic type of the template
-
setTopicType
Sets the topic type of the template- Parameters:
strTopicType- the topic type of the template
-
getDescription
Returns the description of the template- Returns:
- the template description
-
setDescription
Sets the description of the template- Parameters:
strDescription- the template description
-
getFileKey
Returns the file name of the template- Returns:
- the template file name
-
setFileKey
Sets the file name of the template- Parameters:
strFileName- the template file name
-
getPictureKey
Returns the picture of the template- Returns:
- the template picture
-
setPictureKey
Sets the picture of the template- Parameters:
strPicture- the template picture
-
getWorkgroup
Return the workgroup- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- The workgroup
-
setWorkgroup
Set the workgroup- Parameters:
strWorkgroup- The workgroup
-
getResourceId
Returns the Resource Type Code that identify the resource type- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The Resource Type Code
-
getResourceTypeCode
Returns the resource Id of the current object- Specified by:
getResourceTypeCodein interfacefr.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
-