Package org.nightlabs.jfire.trade.config

Examples of org.nightlabs.jfire.trade.config.TradeConfigModule



  public String getOrderIDPrefix(User user, String orderIDPrefix)
  {
    if (orderIDPrefix == null) {
      TradeConfigModule tradeConfigModule = Config.getConfig(
            getPersistenceManager(), getOrganisationID(), user).createConfigModule(TradeConfigModule.class);
      orderIDPrefix = tradeConfigModule.getActiveIDPrefixCf(RecurringOrder.class.getName()).getDefaultIDPrefix();
    }
    return orderIDPrefix;
  }
View Full Code Here



  public String getOfferIDPrefix(User user, String orderIDPrefix)
  {
    if (orderIDPrefix == null) {
      TradeConfigModule tradeConfigModule = Config.getConfig(
            getPersistenceManager(), getOrganisationID(), user).createConfigModule(TradeConfigModule.class);
      orderIDPrefix = tradeConfigModule.getActiveIDPrefixCf(RecurringOffer.class.getName()).getDefaultIDPrefix();
    }
    return orderIDPrefix;
  }
View Full Code Here

TOP

Related Classes of org.nightlabs.jfire.trade.config.TradeConfigModule

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.