|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRatingService
IRatingService.
| Method Summary | |
|---|---|
void |
create(Rating rating)
Insert. |
void |
doVote(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
int nVoteValue,
javax.servlet.http.HttpServletRequest request)
Increment vote. |
Rating |
findByPrimaryKey(int nIdRating)
Load. |
Rating |
findByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType)
Select by resource. |
void |
remove(int nIdRating)
Delete. |
void |
removeByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType)
Delete by resource |
void |
update(Rating rating)
Store. |
| Method Detail |
|---|
@Transactional(value="extend-rating.transactionManager") void remove(int nIdRating)
nIdRating - the n id rating
@Transactional(value="extend-rating.transactionManager")
void removeByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type@Transactional(value="extend-rating.transactionManager") void create(Rating rating)
rating - the rating@Transactional(value="extend-rating.transactionManager") void update(Rating rating)
rating - the rating
@Transactional(value="extend-rating.transactionManager")
void doVote(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
int nVoteValue,
javax.servlet.http.HttpServletRequest request)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typenVoteValue - the n vote valuerequest - the requestRating findByPrimaryKey(int nIdRating)
nIdRating - the n id rating
Rating findByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||