Package talkfeed.command

Source Code of talkfeed.command.CommandMail

package talkfeed.command;

import java.util.Map;

import talkfeed.MailManager;

@CommandType("mail")
public class CommandMail implements Command {

  @Override
  public void execute(Map<String, String> args) {
    //id
    String sid = args.get("id");
    //update by jid (email)
    //String jid = args.get("jid");
   
    long id = Long.valueOf(sid);
   
    MailManager mm = new MailManager();
    mm.mailUser(id);
   
  }

}
TOP

Related Classes of talkfeed.command.CommandMail

TOP
Copyright © 2018 www.massapi.com. 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.