Package org.jmule.core.jkad.publisher

Examples of org.jmule.core.jkad.publisher.PublishKeywordTask


    }
    if (task.getRequestType() == RequestType.STORE) {
      kad_task.task_type = _._("mainwindow.kadtab.store");
      Publisher publisher = _jkad.getPublisher();
      if (publisher.getPublishKeywordTask(task.getTargetID())!=null) {
        PublishKeywordTask publish_keyword = publisher.getPublishKeywordTask(task.getTargetID());
        StringTag file_name = (StringTag)publish_keyword.getTagList().getTag(JKadConstants.TAG_FILENAME);
        kad_task.task_info = (String)file_name.getValue();
      } else
      if (publisher.getPublishSourceTask(task.getTargetID())!=null) {
        PublishSourceTask publish_keyword = publisher.getPublishSourceTask(task.getTargetID());
        StringTag file_name = (StringTag)publish_keyword.getTagList().getTag(JKadConstants.TAG_FILENAME);
        kad_task.task_info = (String)file_name.getValue();
      }
    }
   
    kad_task.task_id = task.getTargetID().toHexString();
View Full Code Here

TOP

Related Classes of org.jmule.core.jkad.publisher.PublishKeywordTask

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.