Package com.google.code.lightssh.project.message.entity

Examples of com.google.code.lightssh.project.message.entity.Message


        else
          sc.isNull("readTime");
      }
     
      if( t.getMessage() != null ){
        Message msg = t.getMessage();
       
        if( StringUtils.isNotEmpty( msg.getTitle() ) ){
          sc.like("message.title", msg.getTitle().trim() );
        }
       
        if( StringUtils.isNotEmpty( msg.getCreator() ) ){
          sc.equal("message.creator", msg.getCreator().trim() );
        }
      }
    }
   
    return dao.list(page, sc);
View Full Code Here


    this.model = this.message;
  }
 
  public String save( ){
    if( message == null )
      message = new Message();
   
    message.setCreator( this.getLoginUser() );
   
    return super.save();
  }
View Full Code Here

  /**
   * 发件箱
   */
  public String outbox(){
    if( message == null )
      message = new Message();
   
    message.setCreator( getLoginUser() );
    try{
      page = getManager().list(page, message);
    }catch(Exception e ){
View Full Code Here

TOP

Related Classes of com.google.code.lightssh.project.message.entity.Message

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.