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 java.lang.Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResourceThis class represents business objects NewsLetterTemplate
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPEThe resource type key
-
Constructor Summary
Constructors Constructor Description NewsLetterTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description of the templatejava.lang.StringgetFileKey()Returns the file name of the templateintgetId()Returns the identifier of the templatejava.lang.StringgetPictureKey()Returns the picture of the templatejava.lang.StringgetResourceId()Returns the Resource Type Code that identify the resource typejava.lang.StringgetResourceTypeCode()Returns the resource Id of the current objectintgetSectionNumber()Get the number of sections of this templatejava.lang.StringgetTopicType()Returns the topic type of the templatejava.lang.StringgetWorkgroup()Return the workgroupstatic voidinit()Initialisation methodvoidsetDescription(java.lang.String strDescription)Sets the description of the templatevoidsetFileKey(java.lang.String strFileName)Sets the file name of the templatevoidsetId(int nId)Sets the identifier of the templatevoidsetPictureKey(java.lang.String strPicture)Sets the picture of the templatevoidsetSectionNumber(int nSectionNumber)Set the number of sections of this templatevoidsetTopicType(java.lang.String strTopicType)Sets the topic type of the templatevoidsetWorkgroup(java.lang.String strWorkgroup)Set the workgroup
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
The resource type key- See Also:
- Constant Field Values
-
-
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 java.lang.String getTopicType()
Returns the topic type of the template- Returns:
- the topic type of the template
-
setTopicType
public void setTopicType(java.lang.String strTopicType)
Sets the topic type of the template- Parameters:
strTopicType- the topic type of the template
-
getDescription
public java.lang.String getDescription()
Returns the description of the template- Returns:
- the template description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the description of the template- Parameters:
strDescription- the template description
-
getFileKey
public java.lang.String getFileKey()
Returns the file name of the template- Returns:
- the template file name
-
setFileKey
public void setFileKey(java.lang.String strFileName)
Sets the file name of the template- Parameters:
strFileName- the template file name
-
getPictureKey
public java.lang.String getPictureKey()
Returns the picture of the template- Returns:
- the template picture
-
setPictureKey
public void setPictureKey(java.lang.String strPicture)
Sets the picture of the template- Parameters:
strPicture- the template picture
-
getWorkgroup
public java.lang.String getWorkgroup()
Return the workgroup- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- The workgroup
-
setWorkgroup
public void setWorkgroup(java.lang.String strWorkgroup)
Set the workgroup- Parameters:
strWorkgroup- The workgroup
-
getResourceId
public java.lang.String 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
public java.lang.String 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
-
-