fr.paris.lutece.plugins.extend.modules.rating.service.type
Class VoteTypeService

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.rating.service.type.VoteTypeService
All Implemented Interfaces:
IVoteTypeService

public class VoteTypeService
extends java.lang.Object
implements IVoteTypeService

VoteTypeService


Field Summary
static java.lang.String BEAN_SERVICE
          The Constant BEAN_SERVICE.
 
Constructor Summary
VoteTypeService()
           
 
Method Summary
 fr.paris.lutece.util.ReferenceList findAll()
          Find all.
 java.util.List<VoteType> findAll(boolean bGetTemplateContent)
          Find all.
 VoteType findByPrimaryKey(int nIdVoteType, boolean bGetTemplateContent)
          Find by primary key.
 void update(VoteType voteType)
          Update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
The Constant BEAN_SERVICE.

See Also:
Constant Field Values
Constructor Detail

VoteTypeService

public VoteTypeService()
Method Detail

findByPrimaryKey

public VoteType findByPrimaryKey(int nIdVoteType,
                                 boolean bGetTemplateContent)
Find by primary key.

Specified by:
findByPrimaryKey in interface IVoteTypeService
Parameters:
nIdVoteType - the id type
bGetTemplateContent - the b get content
Returns:
the vote type

findAll

public java.util.List<VoteType> findAll(boolean bGetTemplateContent)
Find all.

Specified by:
findAll in interface IVoteTypeService
Parameters:
bGetTemplateContent - the b get content
Returns:
the list

findAll

public fr.paris.lutece.util.ReferenceList findAll()
Find all.

Specified by:
findAll in interface IVoteTypeService
Returns:
the reference list

update

@Transactional(value="extend-rating.transactionManager")
public void update(VoteType voteType)
Update.

Specified by:
update in interface IVoteTypeService
Parameters:
voteType - the vote type


Copyright © 2012 Mairie de Paris. All Rights Reserved.