Package org.zendesk.client.v2.model

Examples of org.zendesk.client.v2.model.Comment


  public ExpensiveUpdates(WOContext context) {
    super(context);
    _comments = new NSMutableArray<Comment>();
    for (int i = 0; i < 5; i++) {
      Comment c = new Comment();
      c.setText(ERXLoremIpsumGenerator.sentences(1));
      _comments.addObject(c);
    }
  }
View Full Code Here


  public Object cacheKey() {
    return Integer.valueOf(_comments.count());
  }

  public WOActionResults addComment() {
    Comment comment = new Comment();
    comment.setText(_newComment);
    _newComment = null;
    _comments.addObject(comment);
    return null;
  }
View Full Code Here

TOP

Related Classes of org.zendesk.client.v2.model.Comment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.