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 java.lang.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 int CONSTANT_ID_DOCUMENT
           
static int CONSTANT_ID_NEWSLETTER
           
static java.lang.String RESOURCE_TYPE
           
static java.lang.String[] TEMPLATE_NAMES
           
 
Constructor Summary
NewsLetterTemplate()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the template
 java.lang.String getFileName()
          Returns the file name of the template
 int getId()
          Returns the identifier of the template
 java.lang.String getName()
          get the name of the type of template
 java.lang.String getPicture()
          Returns the picture of the template
 java.lang.String getResourceId()
          Returns the Resource Type Code that identify the resource type
 java.lang.String getResourceTypeCode()
          Returns the resource Id of the current object
 int getType()
          Returns the type of the template
 java.lang.String getWorkgroup()
          Return the workgroup
static void init()
           
 void setDescription(java.lang.String strDescription)
          Sets the description of the template
 void setFileName(java.lang.String strFileName)
          Sets the file name of the template
 void setId(int nId)
          Sets the identifier of the template
 void setPicture(java.lang.String strPicture)
          Sets the picture of the template
 void setType(int nType)
          Sets the type of the template
 void setWorkgroup(java.lang.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 java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values

CONSTANT_ID_NEWSLETTER

public static final int CONSTANT_ID_NEWSLETTER
See Also:
Constant Field Values

CONSTANT_ID_DOCUMENT

public static final int CONSTANT_ID_DOCUMENT
See Also:
Constant Field Values

TEMPLATE_NAMES

public static final java.lang.String[] TEMPLATE_NAMES
Constructor Detail

NewsLetterTemplate

public NewsLetterTemplate()
Method Detail

init

public static void init()

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

getType

public int getType()
Returns the type of the template

Returns:
the template type

setType

public void setType(int nType)
Sets the type of the template

Parameters:
nType - the template type

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

getFileName

public java.lang.String getFileName()
Returns the file name of the template

Returns:
the template file name

setFileName

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

Parameters:
strFileName - the template file name

getPicture

public java.lang.String getPicture()
Returns the picture of the template

Returns:
the template picture

setPicture

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

Parameters:
strPicture - the template picture

getName

public java.lang.String getName()
get the name of the type of template

Returns:
a property name associate with this label

getWorkgroup

public java.lang.String getWorkgroup()
Return the workgroup

Specified by:
getWorkgroup in interface fr.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:
getResourceId in interface fr.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:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource Id of the current object


Copyright © 2012 Mairie de Paris. All Rights Reserved.