|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.telscenter.sail.webapp.service.premadecomment.impl.PremadeCommentServiceImpl
public class PremadeCommentServiceImpl
| Constructor Summary | |
|---|---|
PremadeCommentServiceImpl()
|
|
| Method Summary | |
|---|---|
PremadeCommentList |
addPremadeCommentToList(Long commentListId,
PremadeComment comment)
Adds a PremadeComment to the PremadeCommentList given the PremadeComment and the PremadeCommentList ID |
PremadeComment |
createPremadeComment(PremadeCommentParameters param)
Creates a new PremadeComment in the data store. |
PremadeCommentList |
createPremadeCommentList(PremadeCommentListParameters param)
Creates a new PremadeCommentList in the data store. |
void |
deletePremadeComment(Long commentId)
Removes a PremadeComment from the data store using its id. |
void |
deletePremadeCommentList(Long commentListId)
Removes a PremadeCommentList from the data store given its ID |
PremadeCommentList |
removePremadeCommentFromList(Long commentListId,
PremadeComment comment)
Removes a PremadeComment from the list of PremadeCommentList given the PremadeCommentList ID and the PremadeComment |
Set<PremadeCommentList> |
retrieveAllGlobalPremadeCommentLists()
Retrieves all PremadeCommentLists that have the global field set to true |
Set<PremadeCommentList> |
retrieveAllPremadeCommentLists()
Retrieves all PremadeCommentLists from the data store. |
Set<PremadeCommentList> |
retrieveAllPremadeCommentListsByRun(Run run)
Retrieves all PremadeCommentLists associated with a given run. |
Set<PremadeCommentList> |
retrieveAllPremadeCommentListsByUser(User user)
Retrieves all PremadeCommentLists associated with a given user. |
Set<PremadeComment> |
retrieveAllPremadeComments()
Retrieves all PremadeComments from the data store. |
Set<PremadeComment> |
retrieveAllPremadeCommentsByUser(User user)
Retrieves all PremadeComments associated with a given user. |
PremadeComment |
retrievePremadeCommentById(Long id)
Retrieves a PremadeComment with the given id |
PremadeCommentList |
retrievePremadeCommentListById(Long id)
Retrieves a PremadeCommentList with the given id |
void |
setPremadeCommentDao(PremadeCommentDao<PremadeComment> premadeCommentDao)
|
void |
setPremadeCommentListDao(PremadeCommentListDao<PremadeCommentList> premadeCommentListDao)
|
PremadeCommentList |
updatePremadeCommentListLabel(Long commentListId,
String newLabel)
Updates the label of a PremadeCommentList given its ID and new label. |
PremadeComment |
updatePremadeCommentListPosition(Long premadeCommentId,
Long listPosition)
Updates the listPosition in a PremadeComment using its id. |
PremadeComment |
updatePremadeCommentMessage(Long premadeCommentId,
String newComment)
Updates the comment in a PremadeComment using its id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PremadeCommentServiceImpl()
| Method Detail |
|---|
@Transactional public PremadeComment createPremadeComment(PremadeCommentParameters param)
PremadeCommentService
createPremadeComment in interface PremadeCommentServiceparam - PremadeCommentParameters
@Transactional public void deletePremadeComment(Long commentId)
PremadeCommentService
deletePremadeComment in interface PremadeCommentServicecommentId - Long
@Transactional
public PremadeComment updatePremadeCommentMessage(Long premadeCommentId,
String newComment)
throws ObjectNotFoundException
PremadeCommentService
updatePremadeCommentMessage in interface PremadeCommentServicepremadeCommentId - LongnewComment - String
ObjectNotFoundException
@Transactional
public PremadeComment updatePremadeCommentListPosition(Long premadeCommentId,
Long listPosition)
throws ObjectNotFoundException
PremadeCommentService
updatePremadeCommentListPosition in interface PremadeCommentServicepremadeCommentId - the id of the premade commentlistPosition - the new list position
ObjectNotFoundException@Transactional public Set<PremadeComment> retrieveAllPremadeComments()
PremadeCommentService
retrieveAllPremadeComments in interface PremadeCommentService@Transactional public Set<PremadeComment> retrieveAllPremadeCommentsByUser(User user)
PremadeCommentService
retrieveAllPremadeCommentsByUser in interface PremadeCommentServiceuser - User
@Transactional public PremadeCommentList createPremadeCommentList(PremadeCommentListParameters param)
PremadeCommentService
createPremadeCommentList in interface PremadeCommentServiceparam - PremadeCommentListParameters
@Transactional
public void deletePremadeCommentList(Long commentListId)
throws ObjectNotFoundException
PremadeCommentService
deletePremadeCommentList in interface PremadeCommentServicecommentListId - Long
ObjectNotFoundException
@Transactional
public PremadeCommentList updatePremadeCommentListLabel(Long commentListId,
String newLabel)
throws ObjectNotFoundException
PremadeCommentService
updatePremadeCommentListLabel in interface PremadeCommentServicecommentListId - LongnewLabel - String
ObjectNotFoundException
@Transactional
public PremadeCommentList addPremadeCommentToList(Long commentListId,
PremadeComment comment)
throws ObjectNotFoundException
PremadeCommentService
addPremadeCommentToList in interface PremadeCommentServicecommentListId - Longcomment - PremadeComment
ObjectNotFoundException
@Transactional
public PremadeCommentList removePremadeCommentFromList(Long commentListId,
PremadeComment comment)
throws ObjectNotFoundException
PremadeCommentService
removePremadeCommentFromList in interface PremadeCommentServiceObjectNotFoundException@Transactional public Set<PremadeCommentList> retrieveAllPremadeCommentLists()
PremadeCommentService
retrieveAllPremadeCommentLists in interface PremadeCommentService@Transactional public Set<PremadeCommentList> retrieveAllPremadeCommentListsByUser(User user)
PremadeCommentService
retrieveAllPremadeCommentListsByUser in interface PremadeCommentServiceuser - User
@Transactional public Set<PremadeCommentList> retrieveAllPremadeCommentListsByRun(Run run)
PremadeCommentService
retrieveAllPremadeCommentListsByRun in interface PremadeCommentServicerun - Run
public void setPremadeCommentDao(PremadeCommentDao<PremadeComment> premadeCommentDao)
premadeCommentDao - the premadeCommentDao to setpublic void setPremadeCommentListDao(PremadeCommentListDao<PremadeCommentList> premadeCommentListDao)
premadeCommentListDao - the premadeCommentListDao to setpublic Set<PremadeCommentList> retrieveAllGlobalPremadeCommentLists()
PremadeCommentService
retrieveAllGlobalPremadeCommentLists in interface PremadeCommentServicePremadeCommentService.retrieveAllGlobalPremadeCommentLists()@Transactional public PremadeCommentList retrievePremadeCommentListById(Long id)
PremadeCommentService
retrievePremadeCommentListById in interface PremadeCommentService@Transactional public PremadeComment retrievePremadeCommentById(Long id)
PremadeCommentService
retrievePremadeCommentById in interface PremadeCommentService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||