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

public class NewsLetterTemplate
extends java.lang.Object
implements 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()
          Creates a new NewsLetterTemplate object.
 
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()
          RBAC resource implmentation
 java.lang.String getResourceTypeCode()
          RBAC resource implmentation
 int getType()
          Returns the type of the template
 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
 
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()
Creates a new NewsLetterTemplate object.

Method Detail

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

getResourceTypeCode

public java.lang.String getResourceTypeCode()
RBAC resource implmentation

Specified by:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource type code

getResourceId

public java.lang.String getResourceId()
RBAC resource implmentation

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.