arta.synergy.ejb.mbo.actions
Class ActionCommentsManager

java.lang.Object
  extended by arta.synergy.ejb.mbo.actions.ActionCommentsManager

public class ActionCommentsManager
extends java.lang.Object

Created by IntelliJ IDEA. User: topa Date: 12.02.2010 Time: 10:31:19
Метод отвечает за управление комментариями поручений (мероприятий)


Constructor Summary
ActionCommentsManager(javax.ejb.EJBContext context)
           
 
Method Summary
 void createComment(ActionComment comment, ServerResult<ActionComment> result, java.lang.String lang, java.lang.String host)
           
 void deleteComment(java.lang.String commentID, java.lang.String actorID, ServerResult<ActionComment> result, java.lang.String lang, java.lang.String host)
           
static ActionComment getComment(java.lang.String commentID, java.lang.String actorID)
           
static ActionComment getComment(java.lang.String commentID, java.lang.String actorID, java.sql.Statement st)
           
static java.util.ArrayList<ActionComment> getComments(java.lang.String actionID, java.lang.String documentID, int start, int count, java.lang.String userID)
           
 void saveComment(ActionComment comment, ServerResult<ActionComment> result, java.lang.String lang, java.lang.String host)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCommentsManager

public ActionCommentsManager(javax.ejb.EJBContext context)
Method Detail

createComment

public void createComment(ActionComment comment,
                          ServerResult<ActionComment> result,
                          java.lang.String lang,
                          java.lang.String host)

saveComment

public void saveComment(ActionComment comment,
                        ServerResult<ActionComment> result,
                        java.lang.String lang,
                        java.lang.String host)

deleteComment

public void deleteComment(java.lang.String commentID,
                          java.lang.String actorID,
                          ServerResult<ActionComment> result,
                          java.lang.String lang,
                          java.lang.String host)

getComment

public static ActionComment getComment(java.lang.String commentID,
                                       java.lang.String actorID)

getComment

public static ActionComment getComment(java.lang.String commentID,
                                       java.lang.String actorID,
                                       java.sql.Statement st)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getComments

public static java.util.ArrayList<ActionComment> getComments(java.lang.String actionID,
                                                             java.lang.String documentID,
                                                             int start,
                                                             int count,
                                                             java.lang.String userID)


Copyright © 2000 Dummy Corp. All Rights Reserved.