public class NewsLetterTemplate extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE
The resource type key
|
Constructor and Description |
---|
NewsLetterTemplate() |
Modifier and Type | Method and Description |
---|---|
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
|
public static final String RESOURCE_TYPE
public static void init()
public int getId()
public void setId(int nId)
nId
- the template identifierpublic String getTopicType()
public void setTopicType(String strTopicType)
strTopicType
- the topic type of the templatepublic String getDescription()
public void setDescription(String strDescription)
strDescription
- the template descriptionpublic String getFileName()
public void setFileName(String strFileName)
strFileName
- the template file namepublic String getPicture()
public void setPicture(String strPicture)
strPicture
- the template picturepublic String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String strWorkgroup)
strWorkgroup
- The workgrouppublic String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public int getSectionNumber()
public void setSectionNumber(int nSectionNumber)
nSectionNumber
- The number of sections of this templateCopyright © 2019 City of Paris. All rights reserved.