code
stringlengths
3
1.18M
language
stringclasses
1 value
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import java.io.IOException; import java.sql.SQLExceptio...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import org.apache.cocoon.environment.ObjectModelHelper;...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import java.io.IOException; import java.sql.SQLExceptio...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery.json; import org.apache.avalon.excalibur.pool.Recyclable...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; /** * Class used to display facets for an item * * @...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import java.io.IOException; import java.io.Serializable...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import org.apache.log4j.Logger; import org.apache.solr....
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import org.apache.cocoon.environment.ObjectModelHelper;...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import java.io.IOException; import java.io.Serializable...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import java.io.IOException; import java.io.Serializable...
Java
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.xmlui.aspect.discovery; import org.apache.cocoon.caching.CacheableProcessingCom...
Java
package org.json; /** * The JSONException is thrown by the JSON.org classes when things are amiss. * @author JSON.org * @version 2010-12-24 */ public class JSONException extends Exception { private static final long serialVersionUID = 0; private Throwable cause; /** * Constructs a JSO...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
Java
package org.json; /* Copyright (c) 2008 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
Java
package org.json; /* Copyright (c) 2006 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
package org.json; /** * The <code>JSONString</code> interface allows a <code>toJSONString()</code> * method so that a class can change the behavior of * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, * and <code>JSONWriter.value(</code>Object<code>)</code>. The * <code>toJSONString...
Java
package org.json; import java.io.IOException; import java.io.Writer; /* Copyright (c) 2006 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including witho...
Java
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
Java
package com.hundred.home.module.screen; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.a...
Java
package com.hundred.home.module.screen; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; public clas...
Java
package com.hundred.home.module.screen; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine...
Java
package com.hundred.home.module.screen; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine...
Java
package com.hundred.home.module.screen; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; ...
Java
package com.hundred.home.module.screen; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; import com.hu...
Java
package com.hundred.home.module.screen; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.a...
Java
package com.hundred.user.dao; import com.hundred.user.dao.dataobject.AppUserDO; /** * * @author hengheng * */ public interface UserDAO { /** * Get user info by UserID * @param userId * @return */ public AppUserDO getAppUserByUserId(String userId); /** * * @param appUserDO ...
Java
package com.hundred.user.dao.impl; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.item.dao.dataobject.ItemDO; import com.hundred.user.dao.UserDAO; import com.hundred.user.dao.dataobject.AppUserDO; public class UserDAOImpl extends SqlMapClientDaoSupport implements Us...
Java
package com.hundred.user.dao.dataobject; import java.util.Date; public class AppUserDO { private String userId; private int appId; private String appName; private String userNick; private long points; private String lastLoginIp; private String password; private int status; ...
Java
package com.hundred.user.manager.impl; import java.util.HashMap; import org.json.JSONException; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.hundred.home.module.screen.Index; import com.hundre...
Java
package com.hundred.user.manager; import com.hundred.user.dao.dataobject.AppUserDO; public interface UserManager { /** * Get user info by UserID * @param userId * @return */ public AppUserDO getAppUserByUserId(String userId); /** * * @param appUserDO * @return */ public boole...
Java
package com.hundred.data.spider; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Map; //import org.apache.commons.httpclient.HttpClient; //import org.apache.commons.httpclient.HttpException; //import org.apache.commons.h...
Java
package com.hundred.data.spider; import java.util.HashMap; import java.util.Map; public class ContentAbstract { private String content; public ContentAbstract(String content){ this.content = content; } public Map<String,String> process(){ boolean isWant=false; if(this.content!=...
Java
package com.hundred.data.check; import java.io.IOException; import java.util.List; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.methods.GetMethod; import org.slf4j.Log...
Java
package com.hundred.data.transfer; import java.io.File; import java.util.List; import com.hundred.item.dao.dataobject.ItemDO; public interface TransferOutDataToStdItems { public List<ItemDO> transferFileToStdItems(File file); }
Java
package com.hundred.time.job; public class ItemSpiderJob { // // public static final String FILE = "/home/admin/dataflag.txt"; // // private static final Logger logger = LoggerFactory.getLogger(ItemSpiderJob.class); // // public void spideData(){ // // long beginTime = System.currentTimeMillis(); // ...
Java
package com.hundred.category.dao; import java.sql.SQLException; import java.util.List; import com.hundred.category.dao.dataobject.CategoryDo; public interface CategoryDao { int insertCategory(CategoryDo cateDo) throws SQLException; int updateCategory(CategoryDo cateDo) throws SQLException; List<Ca...
Java
package com.hundred.category.dao.impl; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.category.dao.CategoryDao; import com.hundred.category.dao.dataobject.CategoryD...
Java
package com.hundred.category.dao.dataobject; import java.util.Date; /** * 类目 * @author Administrator */ public class CategoryDo { private Long cId; private String cName; /** * 类目编号 */ private String cCode; /** * 类目顺序 */ private Integer cSeq; private Long cParentid; /** * 1为可用...
Java
package com.hundred.category.module.screen; import java.io.PrintWriter; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.codehaus.jackson.map.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spri...
Java
package com.hundred.category.module.vo; import com.hundred.category.dao.dataobject.CategoryDo; public class CategoryVo extends CategoryDo{ private String parentCateName; public String getParentCateName() { return parentCateName; } public void setParentCateName(String parentCateName) { this.paren...
Java
package com.hundred.comment.dao; import java.util.List; import com.hundred.comment.dao.dataobject.AppCommentDO; public interface AppCommentDAO { /** * GET Comment by tagId * @param tagId * @return */ public List<AppCommentDO> getAppCommentList(int tagId); /** * Modified App comment in...
Java
package com.hundred.comment.dao.impl; import java.util.List; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.comment.dao.AppCommentDAO; import com.hundred.comment.dao.dataobject.AppCommentDO; import com.hundred.item.dao.dataobject.AppItemDO; public class AppComment...
Java
package com.hundred.comment.dao.dataobject; import java.util.Date; public class AppCommentDO { private long commentId; private String commentContent; private int status; private int tagId; private Date gmtCreate; private Date gmtModified; public long getCommentId() { return com...
Java
package com.hundred.comment.manager; import java.util.List; import com.hundred.comment.dao.dataobject.AppCommentDO; public interface CommentManager { /** * GET Comment by tagId * @param tagId * @return */ public List<AppCommentDO> getAppCommentList(int tagId); /** * Modified App comme...
Java
package com.hundred.comment.manager.impl; import java.util.List; import com.hundred.comment.dao.AppCommentDAO; import com.hundred.comment.dao.dataobject.AppCommentDO; import com.hundred.comment.manager.CommentManager; public class CommentManagerImpl implements CommentManager { private AppCommentDAO appCo...
Java
package com.hundred.permission.exceptions; public class DepartmentErrorException extends RuntimeException { private static final long serialVersionUID = 2777316889341195168L; public DepartmentErrorException(String msg) { super(msg); } public DepartmentErrorException(String msg, Throwable...
Java
package com.hundred.permission.exceptions; public class RoleEditException extends RuntimeException { private static final long serialVersionUID = -2984110404350162539L; public RoleEditException(String msg) { super(msg); } public RoleEditException(String msg, Throwable cause) { s...
Java
package com.hundred.permission.dao.dataobject; import java.util.Date; public class FunctionDO { /** * 数据id */ private long id; /** * 功能编号 */ private String functionId; /** * 功能信息 */ private String functionInfo; /** * 可操作角色列表 */ private String roleList; /** ...
Java
package com.hundred.permission.dao.dataobject; import java.util.Date; import org.apache.commons.lang.StringEscapeUtils; public class UserDO { /** * 用户id */ private Long userId; /** * 用户名 */ private String userName; /** * 真名 */ private String realName; /** * 密码 ...
Java
package com.hundred.permission.dao.dataobject; import java.util.Date; public class TargetDO { /** * 数据id */ private long id; /** * 目标编号 */ private String targetId; /** * 目标信息 */ private String targetInfo; /** * 可访问角色列表 */ private String roleList; /** * 备注...
Java
package com.hundred.permission.dao.dataobject; import java.util.Date; public class DepartmentDO { /** * 部门id */ private long departmentId; /** * 部门名 */ private String departmentName; /** * 上级部门id */ private long superiorDepartmentId; /** * 上级部门名 */ private String...
Java
package com.hundred.permission.dao.dataobject; import java.util.Date; public class RoleDO { /** * 角色id */ private long roleId; /** * 角色名 */ private String roleName; /** * 该角色能访问的页面列表 */ private String targetList; /** * 该角色能访问的页面列表 */ private String targetNameList...
Java
package com.hundred.permission.module.screen; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; publi...
Java
package com.hundred.permission.module.screen; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; publi...
Java
package com.hundred.permission.module.vo; import com.hundred.permission.dao.dataobject.UserDO; /** */ public class UserVO extends UserDO { }
Java
package com.hundred.permission.util; public class PagePermissionUtil { }
Java
package com.hundred.common.exception; public class ManagerException extends Exception { private static final long serialVersionUID = -8582786964348665874L; /** * 构造函数 * @param c */ public ManagerException(String c) { super(c); } /** * 构造函数 * @param c * @param t */ public Ma...
Java
package com.hundred.common; import static org.apache.commons.lang.StringUtils.defaultIfEmpty; import static org.apache.commons.lang.StringUtils.isNotBlank; import static org.apache.commons.lang.StringUtils.trim; import com.alibaba.citrus.service.form.Field; import com.alibaba.citrus.service.form.Group; publ...
Java
package com.hundred.common; import java.io.Serializable; public class Result<T> implements Serializable{ private static final long serialVersionUID = -5592371478635944394L; private boolean success = false; // 执行是否成功 private String resultCode; protected String errorMassage; private T module...
Java
package com.hundred.common; import java.io.File; public class WebConstant { /** 在session中保存用户对象的key。 */ public static String SYS_USER_SESSION_KEY = "sysUser"; /** * 文件上传根目录 */ public static String FILE_UPLOAD_PATH = File.separator + "data" + File.separator + "pics"; /** * 产品图片文件夹 */ ...
Java
package com.hundred.item.dao; import java.util.List; import com.hundred.item.dao.dataobject.AppItemDO; /** * APP Item DAO * @author hengheng * */ public interface AppItemDAO { /** * GET items by tag id * @param tagId * @return */ public List<AppItemDO> getAppItemByTagId(int tagId); ...
Java
package com.hundred.item.dao; import java.util.List; import com.hundred.item.dao.dataobject.ItemCompareDO; public interface ItemCompareDAO { /** * * @param itemCompareDO * @return */ public int insertCompareModel(ItemCompareDO itemCompareDO); /** * * @param itemCompareDO * @re...
Java
package com.hundred.item.dao; import java.util.List; import com.hundred.item.dao.dataobject.TopItemDO; public interface TopItemDAO { /** * * @param topItemDO * @return */ public long insertTopItem(TopItemDO topItemDO); /** * * @param limitNum * @return */ public List<TopI...
Java
package com.hundred.item.dao.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.item.dao.ItemCompareDAO; import com.hundred.item.dao.dataobject.ItemCompareDO; pu...
Java
package com.hundred.item.dao.impl; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.item.dao.ItemDao; impor...
Java
package com.hundred.item.dao.impl; import java.util.List; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.item.dao.AppItemDAO; import com.hundred.item.dao.dataobject.AppItemDO; import com.hundred.item.dao.dataobject.ItemDO; public class AppItemDAOImpl extends SqlMa...
Java
package com.hundred.item.dao.impl; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.hundred.item.dao.TopItemDAO; import com.hundred.item.dao.dataobject.TopItemDO; imp...
Java
package com.hundred.item.dao.dataobject; import java.util.Date; /** * 宝贝单元 * @author YUTONG * */ public class ItemDO { private long id; private long itemId; private String itemName; private String itemPic; private String itemUrl; private long itemPrice; private long userId; private lo...
Java
package com.hundred.item.dao.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class AppItemDO { private long itemId; private String itemName; private String itemPic; private String itemUrl; priv...
Java
package com.hundred.item.dao.dataobject; public class ItemReqDO { private long itemId; private int status=0; private int tagId=0; public long getItemId() { return itemId; } public void setItemId(long itemId) { this.itemId = itemId; } public int getTagId() { return tagId; } ...
Java
package com.hundred.item.dao.dataobject; import java.util.Date; public class ItemCompareDO { private long id; private long userId; private long winnerItemId; private long loserItemId; private int status; private String ip; private Date gmtCreate; private Date gmtModified; ...
Java
package com.hundred.item.dao.dataobject; import java.util.Date; public class TopItemDO { private long id; private long userId; private long itemId; private long finalScore; private int rank; private int phaseNo; private int status; private String xiaobianMessage; privat...
Java
package com.hundred.item.dao; import java.sql.SQLException; import java.util.List; import com.hundred.item.dao.dataobject.ItemDO; import com.hundred.item.dao.dataobject.ItemReqDO; /** * ITEM-DAO * @author YUTONG * */ public interface ItemDao { /** * * @param itemDo * @throws SQLExcept...
Java
package com.hundred.item.manager; import java.util.List; import com.hundred.item.dao.dataobject.ItemDO; public interface TopItemManager { /** * * @param number * @return */ public List<ItemDO> getTopItemList(long number); }
Java
package com.hundred.item.manager; import java.util.List; import com.hundred.item.dao.dataobject.AppItemDO; /** * * Manager For App Items. * * @author hengheng * */ public interface AppItemManager { public List<AppItemDO> getAppItemList(int tagId); public AppItemDO getAppItemById(long i...
Java
package com.hundred.item.manager; import java.util.List; import com.hundred.item.dao.dataobject.ItemCompareDO; import com.hundred.item.dao.dataobject.ItemDO; public interface ItemCompareManager { /** * 增加用户比较的信息 * @param itemCompareDO * @return */ public boolean addNewItemCompareModel(ItemCo...
Java
package com.hundred.item.manager; import java.sql.SQLException; import java.util.List; import com.hundred.item.dao.dataobject.ItemDO; import com.hundred.item.dao.dataobject.ItemReqDO; public interface ItemManager { boolean addItem(ItemDO itemVo) throws Exception; boolean deleteItem(ItemDO itemVo) t...
Java
package com.hundred.item.manager.impl; import java.util.List; import com.hundred.item.dao.AppItemDAO; import com.hundred.item.dao.dataobject.AppItemDO; import com.hundred.item.manager.AppItemManager; public class AppItemManagerImpl implements AppItemManager { private AppItemDAO appItemDAO; public Li...
Java
package com.hundred.item.manager.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.hundred.ite...
Java
package com.hundred.item.manager.impl; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hundred.item.dao.ItemDao; import com.hundred.item.dao.dataobject.ItemDO; import com.hundred.item.dao.dataobject....
Java
package com.hundred.item.manager.impl; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hundred.home.module.screen.Index; import com.hundred.item.dao.TopItemDAO; import com.hundred.item.dao.dataobject.ItemDO; import com.hundred.item.dao...
Java
package com.hundred.item.module.screen; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.service.requestcontext.parser.ParameterParser; import com.alibaba.citrus.tur...
Java
package com.hundred.item.module.screen; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import or...
Java
package com.hundred.item.module.screen; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; import com.hundred.item.dao.ItemDao; import com.hundred.item....
Java
package com.hundred.item.module.screen; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.Navigator; import com.hundred.item.dao.dataobje...
Java
package com.hundred.item.module.screen; import java.util.List; import java.util.Random; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Context; import ...
Java
package com.hundred.item.module.action; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.citrus.turbine.Navigator; import com.alibaba.citrus.turbine.dataresolver.FormGroup; import com.hundred.item.dao.dataobject.ItemDO; ...
Java
// Copyright 2003-2010 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland // www.source-code.biz, www.inventec.ch/chdh // // This module is multi-licensed and may be used under the terms // of any of the following licenses: // // EPL, Eclipse Public License, V1.0 or later, http://www.eclipse.org/l...
Java
package com.qq.open.https; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import org.apache.commons.httpclient.ConnectTimeoutException; import org.apache.commons.http...
Java
package com.qq.open.https; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; /** * 自定义签名证书管理类 (接受任意来源证书) * * @version 3.0.0 * @since jdk1.5 * @author open.qq.com * @copyright © 2012, Tencent Corporation. All rights...
Java
package com.qq.open; /** * 定义错误码。 * * @version 3.0.0 * @since jdk1.5 * @author open.qq.com * @copyright © 2012, Tencent Corporation. All rights reserved. * @History: * 3.0.0 | nemozhang | 2012-03-21 12:01:05 | initialization * */ public class ErrorCode { // 序列化UID priv...
Java
package com.qq.open; import java.util.*; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.*; import java.net.URI; import java.net.URISyntaxException; import org.apache.commons.httpclient.*; import org.apache.commons...
Java