code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.legendshop.business.payment.alipay.util; import com.legendshop.business.payment.alipay.config.AlipayConfig; import java.io.UnsupportedEncodingException; import org.apache.commons.codec.digest.DigestUtils; public class AlipayMd5Encrypt { public static String md5(String text) { return Di...
Java
package com.legendshop.business.payment.alipay.util; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Random; public class UtilDate { public static final String dtLong = "yyyyMMddHHmmss"; public static final String simple = "yyyy-MM-dd HH:mm:ss...
Java
package com.legendshop.business.payment.alipay.util; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class AlipayCore { public static String buildMysign(Map<String, String> sArray, ...
Java
package com.legendshop.business.payment.alipay.util; import com.legendshop.business.dao.SubDao; import com.legendshop.business.payment.alipay.config.AlipayConfig; import com.legendshop.business.service.PayTypeService; import com.legendshop.core.ContextServiceLocator; import com.legendshop.model.entity.PayType; ...
Java
package com.legendshop.business.payment.alipay; import com.legendshop.business.payment.alipay.config.AlipayConfig; import com.legendshop.business.payment.alipay.util.AlipaySubmit; import java.net.URL; import java.util.List; import java.util.Map; import org.dom4j.Document; import org.dom4j.Node; import org.dom...
Java
package com.legendshop.business.payment.alipay.config; import com.legendshop.business.service.PayTypeService; import com.legendshop.core.ContextServiceLocator; import com.legendshop.core.helper.PropertiesUtil; import com.legendshop.core.page.PagerUtil; import com.legendshop.model.entity.PayType; import com.lege...
Java
package com.legendshop.business.processor; public abstract interface PaymentProcessor { public abstract String payto(String paramString1, String paramString2, Integer paramInteger, String paramString3, String paramString4, String paramString5, String paramString6, String paramString7); }
Java
package com.legendshop.business.processor.impl; import com.legendshop.business.helper.AlipayAccountHelper; import com.legendshop.business.payment.alipay.AlipayService; import com.legendshop.business.payment.alipay.config.AlipayConfig; import com.legendshop.business.processor.PaymentProcessor; import com.legendsh...
Java
package com.legendshop.business.processor.impl; import com.legendshop.business.dao.UserDetailDao; import com.legendshop.business.payment.alipay.AlipayService; import com.legendshop.business.payment.alipay.config.AlipayConfig; import com.legendshop.business.processor.PaymentProcessor; import com.legendshop.model....
Java
package com.legendshop.business.tag; import com.legendshop.business.service.ProductService; import com.legendshop.core.tag.LegendShopTag; import com.legendshop.model.entity.Product; import java.io.IOException; public class ProductTag extends LegendShopTag { private String var; private Long ...
Java
package com.legendshop.business.tag; import com.legendshop.business.service.ShopDetailService; import com.legendshop.core.tag.LegendShopTag; import com.legendshop.model.entity.ShopDetailView; import com.legendshop.util.AppUtils; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import j...
Java
package com.legendshop.business.tag; import com.legendshop.core.UserManager; import javax.servlet.jsp.PageContext; import javax.servlet.jsp.tagext.TagSupport; public class UserLoginedTag extends TagSupport { private static final long serialVersionUID = -779804105023929973L; public int doStartTag...
Java
package com.legendshop.business.tag; import com.legendshop.core.UserManager; import com.legendshop.core.tag.LegendShopTag; import java.io.IOException; public class CurrentUserTag extends LegendShopTag { public void doTag() throws IOException { String userName = UserManager.getUsername(request()); ...
Java
package com.legendshop.business.tag; import com.legendshop.business.service.SortService; import com.legendshop.core.tag.LegendShopTag; import com.legendshop.model.entity.Sort; import java.io.IOException; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession;...
Java
package com.legendshop.business.tag; import com.legendshop.core.tag.LegendShopTag; import java.io.IOException; import javax.servlet.http.HttpSession; import javax.servlet.jsp.PageContext; public class CurrentShopTag extends LegendShopTag { public void doTag() throws IOException { String shopName ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.UserComment; public abstract interface UserCommentDao extends BaseDao { public abstract ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Event; import java.util.List; public abstract interface EventDao extends BaseDao { publ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface NewsCategoryDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.business.common.NewsCategoryStatusEnum; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.News; import java.util.List; ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Sort; import java.util.List; public abstract interface SortDao extends BaseDao { public...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Hotsearch; import java.util.List; public abstract interface HotsearchDao extends BaseDao { public abstract List<Hotsearch> getSearch(String paramString); public abstract List<Hotsearch...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Cash; import java.util.List; public abstract interface CashDao extends BaseDao { public...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface ProductCommentDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.ExternalLink; import java.util.List; public abstract interface ExternalLinkDao extends BaseDao { public abstract List<ExternalLink> getExternalLink(String paramString); }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Ask; import java.util.List; public abstract interface AskDao extends BaseDao { public a...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.CashFlow; import java.util.List; public abstract interface CashFlowDao extends BaseDao { ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Nsort; import java.util.List; public abstract interface NsortDao extends BaseDao { public abstract Nsort getNsort(Long paramLong); public abstract List<Nsort> getNsortList(Long paramLo...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.UserAddress; import java.util.List; public abstract interface UserAddressDao extends BaseDao...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface DownloadLogDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.DeliveryCorp; import java.util.List; public abstract interface DeliveryCorpDao extends BaseD...
Java
package com.legendshop.business.dao; import com.legendshop.business.common.RegisterEnum; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.HqlQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.core.dao.support.SqlQuery; import com.legendshop.model.entit...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ProductDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.HqlQuery; import com.legendshop.c...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.CashFlowDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.CashFlow; import java.util.List;...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.common.OrderStatusEnum; import com.legendshop.business.common.PayTypeEnum; import com.legendshop.business.common.SubStatusEnum; import com.legendshop.business.dao.BasketDao; import com.legendshop.business.dao.ScoreDao; import com.legendsho...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.EventDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Event; import java.util.List; impo...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.DeliveryTypeDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.DeliveryType; import java.ut...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.common.OrderStatusEnum; import com.legendshop.business.common.SubStatusEnum; import com.legendshop.business.dao.ScoreDao; import com.legendshop.business.dao.UserDetailDao; import com.legendshop.core.constant.ParameterEnum; import com.legen...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ShopDetailDao; import com.legendshop.model.entity.ShopDetailView; import com.legendshop.util.AppUtils; import com.legendshop.util.sql.ConfigCode; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; im...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.SubCommonDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.model.entity.Sub; import com.legendshop.model.entity.SubHistory; import com.legendshop.util.BeanHelper; import java.util.Date; import org.slf4j.Logge...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ExternalLinkDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.model.entity.ExternalLink; import com.legendshop.util.AppUtils; import java.util.List; import net....
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.common.NewsCategoryStatusEnum; import com.legendshop.business.dao.NewsDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.le...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.IndexJpgDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Indexjpg; import org.slf4j.Logge...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.VisitLogDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class VisitLogDaoImpl extends BaseDaoImpl implements VisitLogDao { private static Logger log = LoggerFa...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.DownloadLogDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DownloadLogDaoImpl extends BaseDaoImpl implements DownloadLogDao { private static Logger log =...
Java
package com.legendshop.business.dao.impl; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import net.sf.ehcache.Cache; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Required; import c...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.SystemParameterDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SystemParameterDaoImpl extends BaseDaoImpl implements SystemParameterDao { private st...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.LogoDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.constant.ParameterEnum; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.helper.PropertiesUtil; import com.legendshop.model....
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.MyleagueDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MyleagueDaoImpl extends BaseDaoImpl implements MyleagueDao { private static Logger log = LoggerFa...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.LuceneDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.search.LuceneIndexer; import com.legendshop.util.AppUtils; import java.util.Date; import java.util.List; import org.slf4j.Logger; import org.slf4j.Logg...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.UserAddressDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.UserAddress; import java.util...
Java
package com.legendshop.business.dao.impl; import com.legendshop.model.entity.ProductDetail; import com.legendshop.util.AppUtils; import com.legendshop.util.sql.ConfigCode; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; impo...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.NewsCategoryDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class NewsCategoryDaoImpl extends BaseDaoImpl implements NewsCategoryDao { private static Logger lo...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ShopDetailDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.exception.NotFoundException; import com.legendshop.core.tag.TableCache; import com.legendshop.mo...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.AskDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Ask; import java.util.List; import o...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.DeliveryCorpDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.DeliveryCorp; import java.ut...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.UserCommentDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.UserComment; import org.slf4j...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.BusinessDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.UserComment; import java.util.Da...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.PartnerDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Partner; import java.util.List; ...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ProductCommentDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class ProductCommentDaoImpl extends BaseDaoImpl implements ProductCommentDao { private stati...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.NsortDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.model.entity.Nsort; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import ...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.PayTypeDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class PayTypeDaoImpl extends BaseDaoImpl implements PayTypeDao { private static Logger log = LoggerFacto...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.common.RegisterEnum; import com.legendshop.business.common.ShopStatusEnum; import com.legendshop.business.dao.UserDetailDao; import com.legendshop.business.service.CommonUtil; import com.legendshop.core.constant.ParameterEnum; import com.l...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.SortDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.m...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.HotsearchDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.model.entity.Hotsearch; import java.util.List; import net.sf.ehcache.Cache; import org.slf4j.Logger; ...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.CashDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Cash; import java.util.List; import...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.PubDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.model.entity.Pub; import com.legendshop.util.AppUtils;...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.BrandDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.model.dynamic.Item; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class BrandDaoImpl extends BaseDaoImpl imple...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.OrderDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public cla...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.ImgFileDao; import com.legendshop.core.cache.CacheCallBack; import com.legendshop.core.constant.ParameterEnum; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.helper.PropertiesUtil; import com.legendshop.mod...
Java
package com.legendshop.business.dao.impl; import com.legendshop.business.dao.BasketDao; import com.legendshop.business.dao.ProductDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.exception.BusinessException; import com.legendshop.model.entity.Basket; import com.legendshop.model.e...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.ImgFile; import com.legendshop.model.entity.Indexjpg; import java.util.List; public abstract interface ImgFileDao extends BaseDao { public abstract List<Indexjpg> getIndexJpeg(String paramString...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.dynamic.Item; import java.util.List; public abstract interface BrandDao extends BaseDao { public abstract List<Item> getUsableBrand(Long paramLong, String paramString); public abstract List<I...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface MyleagueDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Sub; public abstract interface SubCommonDao extends BaseDao { public abstract void saveSubHistory(Sub paramSub, String paramString); }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Logo; public abstract interface LogoDao extends BaseDao { public abstract Logo getLogo(String paramString); }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; public abstract interface OrderDao extends BaseDao { public abstract PageSupport getOrder(CriteriaQuery paramCriteriaQuery);...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Indexjpg; public abstract interface IndexJpgDao extends BaseDao { public abstract PageSu...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.HqlQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Product; import com.legendshop.model.entity.P...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; public abstract interface BusinessDao extends BaseDao { public abstract PageSupport getOrderList(CriteriaQuery paramCriteria...
Java
package com.legendshop.business.dao; import com.legendshop.model.entity.Basket; import com.legendshop.model.entity.Sub; import java.util.Date; import java.util.List; public abstract interface SubDao extends SubCommonDao { public abstract void saveSub(Sub paramSub); public abstract boolean delet...
Java
package com.legendshop.business.dao; import com.legendshop.model.entity.Sub; import java.util.Map; public abstract interface ScoreDao extends SubCommonDao { public abstract void saveScore(Sub paramSub); public abstract Map<String, Object> deleteScore(Sub paramSub, Long paramLong); publ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Pub; import java.util.List; public abstract interface PubDao extends BaseDao { public abstract List<Pub> getPub(String paramString); }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface VisitLogDao extends BaseDao { }
Java
package com.legendshop.business.dao; import java.util.Date; import java.util.List; public abstract interface LuceneDao { public abstract long getFirstPostIdByDate(int paramInt, Date paramDate); public abstract List getPostsToIndex(int paramInt, long paramLong1, long paramLong2); ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Advertisement; import java.util.List; import java.util.Map; public abstract interface AdvertisementDao extends BaseDao { public abstract Map<String, List<Advertisement>> getAdvertisement( ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.Partner; import java.util.List; public abstract interface PartnerDao extends BaseDao { ...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface PayTypeDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Myleague; import com.legendshop.model.entity.Product; import com.legendshop.model.entity.ShopDetail; import com.legendshop.model.entity.ShopDetailView; import java.util.List; public abstract interf...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; public abstract interface SystemParameterDao extends BaseDao { }
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.core.dao.support.CriteriaQuery; import com.legendshop.core.dao.support.PageSupport; import com.legendshop.model.entity.DeliveryType; import java.util.List; public abstract interface DeliveryTypeDao extends BaseD...
Java
package com.legendshop.business.dao; import com.legendshop.core.dao.BaseDao; import com.legendshop.model.entity.Basket; import java.util.List; import java.util.Map; public abstract interface BasketDao extends BaseDao { public abstract void deleteBasketById(Long paramLong); public abstract List<...
Java
package com.legendshop.business.helper; import com.legendshop.core.constant.ParameterEnum; import com.legendshop.core.helper.PropertiesUpdater; import com.legendshop.core.helper.PropertiesUtil; import com.legendshop.model.entity.SystemParameter; import java.util.List; import org.slf4j.Logger; import org.slf4j....
Java
package com.legendshop.business.helper; import freemarker.template.Configuration; import freemarker.template.Template; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.io.Writer; import java.util.L...
Java
package com.legendshop.business.helper; import com.legendshop.command.framework.State; import com.legendshop.core.exception.InternalException; import com.legendshop.core.helper.Checker; import com.legendshop.model.UserMessages; import javax.servlet.http.HttpServletRequest; public class UserNotExistChecker imp...
Java
package com.legendshop.business.helper; import com.legendshop.business.event.EventId; import com.legendshop.core.exception.PermissionException; import com.legendshop.core.helper.Checker; import com.legendshop.event.EventContext; import com.legendshop.event.EventHome; import com.legendshop.event.GenericEvent; i...
Java
package com.legendshop.business.helper.impl; import com.legendshop.business.common.VisitTypeEnum; import com.legendshop.core.dao.BaseDao; import com.legendshop.event.TaskItem; import com.legendshop.model.entity.VisitLog; import com.legendshop.util.AppUtils; import com.legendshop.util.DateUtil; import com.legen...
Java
package com.legendshop.business.helper.impl; import com.legendshop.core.constant.ParameterEnum; import com.legendshop.core.helper.PropertiesUtil; import com.legendshop.event.TaskItem; import java.util.Properties; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.slf4j.Log...
Java
package com.legendshop.business.helper; import com.legendshop.business.common.Constants; import com.legendshop.business.common.ShopStatusEnum; import com.legendshop.core.helper.Checker; import com.legendshop.core.helper.ResourceBundleHelper; import com.legendshop.model.UserMessages; import com.legendshop.model....
Java
package com.legendshop.business.helper; import com.legendshop.command.framework.State; import com.legendshop.core.exception.InternalException; import com.legendshop.core.helper.Checker; import com.legendshop.model.UserMessages; import javax.servlet.http.HttpServletRequest; public class StateChecker implements...
Java
package com.legendshop.business.helper; import com.legendshop.core.UserManager; import com.legendshop.core.helper.Checker; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; public class LoginChecker implements Checker<UserManager> { public boolean check(UserManager userM...
Java