public class VoteTypeService extends Object implements IVoteTypeService
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
Constructor and Description |
---|
VoteTypeService() |
Modifier and Type | Method and Description |
---|---|
fr.paris.lutece.util.ReferenceList |
findAll()
Find all.
|
List<VoteType> |
findAll(boolean bGetTemplateContent)
Find all.
|
VoteType |
findByPrimaryKey(int nIdVoteType,
boolean bGetTemplateContent)
Find by primary key.
|
void |
update(VoteType voteType)
Update.
|
public static final String BEAN_SERVICE
public VoteType findByPrimaryKey(int nIdVoteType, boolean bGetTemplateContent)
findByPrimaryKey
in interface IVoteTypeService
nIdVoteType
- the id typebGetTemplateContent
- the b get contentpublic List<VoteType> findAll(boolean bGetTemplateContent)
findAll
in interface IVoteTypeService
bGetTemplateContent
- the b get contentpublic fr.paris.lutece.util.ReferenceList findAll()
findAll
in interface IVoteTypeService
@Transactional(value="extend-rating.transactionManager") public void update(VoteType voteType)
update
in interface IVoteTypeService
voteType
- the vote typeCopyright © 2015 City of Paris. All rights reserved.