text stringlengths 3 1.18M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.libre.wizard;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.util.wizard.WizardPanelDescriptor;
import com.ufps.cuatro.vistas.asistente.libre.wizard... |
/*
* UtilAsistente.java
*
* Copyright 2011 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 16/06/2010, 06:55:38 AM
*/
package com.ufps.cuatro.modelo.asistente;
import java.awt.GridBagConstraints;
import java.io.File;
import java.io.IOException;
import java.lang.refle... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.vinculadora;
import com.ufps.cuatro.modelo.representacion.ObjetoTipoDatoReflexion;
import com.ufps.cuatro.util.wizard.ObjectTempSwapWizard;
import com.ufps.cuatro.util.wiza... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.asistente.UtilAsistente;
import com.ufps.cuatro.modelo.asistente.clase.compleja.entrada... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import com.ufps.cuatro.modelo.analizador.ObjetoReflexion;
im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.entrada;
import com.ufps.cuatro.modelo.asistente.clase.compleja.*;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.representac... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.entrada;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.asistente.clase.JPanelWizardClaseWelcomeDescriptor;
import com.ufps.cu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja;
/**
*
* @author Catc
*/
public enum TipoGeneracionClaseCompleja {
eEntrada, eSalida, eConstructor, eSimple, eVinculadora;
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.salida;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.asistente.clase.JPanelWizardClaseWelcomeDescriptor;
import com.ufps.cua... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.salida;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.asistente.clase.compleja.JPanelWizardClaseComplejaCustomPropertiesFin... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.constructor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.compleja.constructor;
import com.ufps.cuatro.modelo.asistente.clase.JPanelWizardClaseWelcomeDescriptor;
import com.ufps.cuatro.modelo.representacion.ObjetoTipoDatoReflexion... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.clase.simple;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.representacion.ObjetoTipoDatoReflexion;
import com.ufps.cuatro.util.wizard.Objec... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.espejo.complejo.wizard;
import com.ufps.cuatro.controlador.render.UtilRender;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.espejo.complejo.wizard;
import com.ufps.cuatro.util.wizard.WizardPanelDescriptor;
import com.ufps.cuatro.vistas.asistente.espejo.complejo.wizard.JPanelWizardEspejoStandardSelectE... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufps.cuatro.modelo.asistente.espejo.simple.wizard;
import com.ufps.cuatro.controlador.render.UtilRender;
import com.ufps.cuatro.modelo.representacion.componente.Componente;
import com.ufps.cuatro.util.wizard... |
/*
* ContenedorRegistroTabla.java
*
* Copyright 2008 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 07/10/08, 12:30:38 AM
*/
package com.ufps.cuatro.modelo.asistente;
import javax.swing.JOptionPane;
import com.ufps.cuatro.modelo.representacion.componente.Componen... |
/*
* UtilAsistente.java
*
* Copyright 2011 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 16/06/2010, 06:55:38 AM
*/
package com.ufps.cuatro.modelo.codificacion;
import com.ufps.cuatro.modelo.representacion.componente.Componente;
import java.io.File;
import java.io.... |
/*
* PaqueteClass.java
*
* Copyright 2011 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 07/10/11, 1o:50:38 PM
*/
package com.ufps.cuatro.modelo.codificacion;
import com.ufps.cuatro.util.base.ObjectBase;
import java.util.ArrayList;
/**
* <i><b>PaqueteClass:</b></... |
package com.ufps.cuatro.modelo.old;
import com.ufps.cuatro.modelo.representacion.PropiedadBeans;
import com.ufps.cuatro.modelo.representacion.UtilRepresentacion;
import com.ufps.cuatro.modelo.representacion.componente.ComponenteDistribuidor;
import java.io.File;
import java.util.ArrayList;
import com.ufps.cuatro.uti... |
/**
* CuatroApp.java
*
* Copyright 2008 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 07/10/2008, 11:23:38 AM
*/
package com.ufps.cuatro;
import java.awt.Component;
import java.util.EventObject;
import javax.swing.JOptionPane;
import org.jdesktop.application.App... |
/*
* CuatroAboutBox.java
*
* Copyright 2008 Universidad Francisco de Paula Santander (UFPS).
* Todos los Derechos Reservados.
* Creado el 07/10/2008, 11:23:38 AM
*/
package com.ufps.cuatro;
import javax.swing.ImageIcon;
import org.jdesktop.application.Action;
import com.ufps.cuatro.util.Utileria;
/**
*<i>... |
/*
* GameManager.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at you... |
/*
* GameException.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at y... |
/*
* GameState.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your ... |
/*
* Game.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... |
/*
* AtomixDbAdapter.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at... |
/*
* User.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... |
/*
* MenuActivity.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... |
/*
* AtomicView.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your... |
/*
* AtomicActivity.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... |
/*
* Point.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opti... |
/*
* LevelListActivity.java
*
* Version:
* $Id$
*
* Copyright (c) 2010 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (... |
/*
* Connector.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your ... |
/*
* Level.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
/*
* LevelManager.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... |
/*
* LevelFileFormatException.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, ... |
/*
* Square.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
/*
* Atom.java
*
* Version:
* $Id$
*
* Copyright (c) 2009 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... |
/*
* HelpActivity.java
*
* Version:
* $Id$
*
* Copyright (c) 2010 Peter O. Erickson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... |
package com.wyvoid.forum;
import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;
/**
* User: cjp
* Date: 2007-7-8
* Time: 7:05:23
*/
public class BaseTestCase extends AbstractTransactionalDataSourceSpringContextTests {
protected String[] getConfigLocations() {
se... |
package com.wyvoid.forum;
/**
* User: cjp
* Date: 2007-5-16
* Time: 15:36:07
*/
public class Constant {
public static final String cookieName="wyvoid";
public static final String SESSION_USER_KEY ="sessionUser";
public static final String SESSION_ADMIN_KEY ="sessionAdmin";
public static class User ... |
/**
* 声明包一级的元数据
* 如主键生成机制,此文件所在的包必需在hibernate的annotatedPackages中声明才能生效
* 这样就不用在每个文件中定义相同的主键生成机制
*/
@org.hibernate.annotations.GenericGenerator(name="system-uuid", strategy = "uuid")
package com.wyvoid.forum;
|
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.Settings;
import java.util.List;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-13
* Time: 20:11:12
*/
public interface ISettingsService {
void addSettings(Settings settings);
void updateSettings(Settings settings);
List<Settings> g... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.Post;
import com.wyvoid.forum.domain.Topic;
import com.wyvoid.forum.web.search.SearchBean;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import org.springframework.transaction.annotation.Transact... |
package com.wyvoid.forum.service;
import java.util.List;
import java.util.Map;
public interface IXmlDataService {
/**
* 查询XML取得property
* @param dataId 数据标记
* @return
*/
public Map select(String dataId);
/**
* 修改Xml数据
* @param dataId 数据标示
* @param valueMap 值数组
*/
public void editXml(String dat... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.AdminGroup;
/**
* Created by IntelliJ IDEA.
* User: qijing
* Date: 2007-7-10
* Time: 9:34:19
* To change this template use File | Settings | File Templates.
*/
public interface IAdminGroupService {
AdminGroup getAdminGroup(long id)... |
package com.wyvoid.forum.service;
import java.util.List;
import com.wyvoid.forum.domain.Tag;
/**
* 主题类别模块业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface ICategoryService {
/**
* 创建主题类别
*
* @param category 主题编号
*/
public void createCategory(Tag category) ;
/**
* 删除主题类别
*... |
package com.wyvoid.forum.service;
import java.util.Map;
import com.wyvoid.forum.domain.Poll;
import com.wyvoid.forum.domain.Post;
import com.wyvoid.forum.domain.Topic;
import com.wyvoid.forum.web.search.SearchBean;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePag... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IUserService;
import com.wyvoid.forum.domain.User;
import com.wyvoid.forum.domain.UserProfile;
import com.wyvoid.forum.dao.IUserDAO;
import com.wyvoid.forum.dao.IUserProfileDAO;
import com.wyvoid.forum.exception.user.UsernameNotFoundException;
impo... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IForumService;
import com.wyvoid.forum.domain.Forum;
import com.wyvoid.forum.dao.IForumDAO;
import com.wyvoid.forum.Constant;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
/**
* User: cjp
* Date: 2007-... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.ISettingsService;
import com.wyvoid.forum.domain.Settings;
import com.wyvoid.forum.dao.ISettingsDAO;
import java.util.List;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-13
* Time: 20:11:22
*/
public class SettingsService implements ISet... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IUserGroupService;
import com.wyvoid.forum.dao.IUserGroupDAO;
import com.wyvoid.forum.dao.IAdminGroupDAO;
import com.wyvoid.forum.domain.UserGroup;
import com.wyvoid.forum.domain.AdminGroup;
import com.wyvoid.forum.Constant;
import java.u... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.ITopicService;
import com.wyvoid.forum.domain.Topic;
import com.wyvoid.forum.domain.Post;
import com.wyvoid.forum.domain.Poll;
import com.wyvoid.forum.dao.ITopicDAO;
import com.wyvoid.forum.Constant;
import com.wyvoid.forum.web.search.SearchBean;
i... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.dao.IForumDAO;
import com.wyvoid.forum.dao.IPostDAO;
import com.wyvoid.forum.dao.ITopicDAO;
import com.wyvoid.forum.domain.Forum;
import com.wyvoid.for... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IFriendService;
import com.wyvoid.forum.dao.IFriendDAO;
import com.wyvoid.forum.domain.Friend;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
/**
* Created by IntelliJ IDEA.
* U... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IMessageService;
import com.wyvoid.forum.domain.Message;
import com.wyvoid.forum.dao.IMessageDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
import java.util.List;
import org... |
package com.wyvoid.forum.service.impl;
import com.wyvoid.forum.service.IAdminGroupService;
import com.wyvoid.forum.domain.AdminGroup;
import com.wyvoid.forum.dao.IAdminGroupDAO;
/**
* Created by IntelliJ IDEA.
* User: qijing
* Date: 2007-7-10
* Time: 9:36:01
* To change this template use File | Settin... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.UserGroup;
import com.wyvoid.forum.domain.AdminGroup;
import java.util.List;
/**
* User: cjp
* Date: 2007-7-1
* Time: 21:13:03
*/
public interface IUserGroupService {
List<UserGroup> getMemberUserGroups();
List<UserGroup> ge... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.PollVoter;
/**
* 投票结果业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IPollResultService {
/**
* 执行投票
* @param pollVoter 投票者
* @
*/
public void vote(PollVoter pollVoter) ;
}
|
package com.wyvoid.forum.service;
import java.util.List;
import com.wyvoid.forum.domain.Forum;
import org.springframework.transaction.annotation.Transactional;
/**
* 论坛模块业务处理接口
*
* @author 51void
* @link www.51void.com
*/
@Transactional
public interface IForumService {
List<Forum> getForums();
List<F... |
package com.wyvoid.forum.service;
import java.util.List;
import com.wyvoid.forum.domain.Message;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
/**
* 消息服务业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IMessageService {
/**
* 创建消... |
package com.wyvoid.forum.service;
import java.util.List;
import com.wyvoid.forum.domain.FriendLink;
/**
* 友情链接模块业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IFriendLinkService {
/**
* 创建友情链接
*
* @param link 友情链接
*/
public void createLink(FriendLink link) ;
/**
* 删除友情链接
... |
package com.wyvoid.forum.service;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.forum.domain.Friend;
/**
* Created by IntelliJ IDEA.
* User: wangchao
* Date: 2007-6-29
* Time: 22:27:45
* To change this template use File | Set... |
package com.wyvoid.forum.service;
import java.util.List;
import com.wyvoid.forum.domain.Favorite;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
/**
* 个人收藏夹模块业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IFavoriteService {
/**
... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.DoingLog;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
public interface IActLogService {
/**
* 创建操作日志
* @param actLog 操作日志对象
*/
public void createActLog(DoingLog actLog) ;
/**
* ... |
package com.wyvoid.forum.service;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.domain.Stat;
/**
* 公告业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IStatService {
/**
* 查找全部的统计信息
* @param field 检索字段
... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.Poll;
/**
* 投票模块业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IPollService {
/**
* 删除投票
*
* @param pollId 投票编号
*/
public void deletePoll(int pollId) ;
/**
* 查找投票信息
* @param topicId
* @return
* @
*... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.User;
import com.wyvoid.forum.domain.UserProfile;
import com.wyvoid.forum.exception.user.UsernameNotFoundException;
import com.wyvoid.forum.exception.user.UserExistsException;
import com.wyvoid.forum.exception.user.PasswordFailureException;
import com.wy... |
package com.wyvoid.forum.service;
import com.wyvoid.forum.domain.Attachment;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
/**
* 附件业务处理接口
*
* @author 51void
* @link www.51void.com
*/
public interface IAttachmentService {
/**
* 根据附件编号取得附件详细信息
* @p... |
package com.wyvoid.forum.service;
import java.util.List;
/**
* 用户表情数据处理接口
*
* @author 51void
* @link www.51void.com
*
* @version $Revision: 1.1 $ $Date: 2006/06/04 17:12:55 $
*/
public interface IUserFaceService {
/**
* 取得用户头像集合
*
* <p>
* list中存储是的是一组Faces
* </p>
*
* @return Map 用户头像集合
... |
package com.wyvoid.forum.service;
import java.util.List;
import org.springframework.dao.DataAccessException;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.domain.Note;
/**
* 公告业务处理接口
*
* @author 51void
* @link www.51void.com
*/
... |
package com.wyvoid.forum.annotations;
import java.lang.annotation.*;
/**
* User: cjp
* Date: 2007-7-1
* Time: 13:41:30
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface LoginAdmin {
}
|
package com.wyvoid.forum.annotations;
import java.lang.annotation.*;
/**
* User: cjp
* Date: 2007-6-27
* Time: 20:21:09
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface Secure {
String authority() default "";
}
|
package com.wyvoid.forum.annotations;
import java.lang.annotation.*;
/**
* User: cjp
* Date: 2007-7-1
* Time: 13:41:23
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface LoginUser {
}
|
package com.wyvoid.forum.util;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
import javax.servlet.ServletContext;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import com.wyvoid.forum.domain.Settings;
... |
package com.wyvoid.forum.util;
import com.wyvoid.forum.domain.Post;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-16
* Time: 21:46:53
*/
public class ForumStat {
private int totalTopic;
private int totalPost;
private int totalPostToday;
private Post lastPost;
private int status;
publ... |
package com.wyvoid.forum.util;
import com.wyvoid.forum.domain.User;
import java.util.Map;
import java.util.HashMap;
/**
* 论坛统计信息
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-16
* Time: 21:45:13
*/
public class ForumMemory {
public static Map<Long,ForumStat> forumStatMap=new HashMap<Long,ForumStat>();
... |
package com.wyvoid.forum.exception.user;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-26
* Time: 5:37:54
*/
public class UserNotLoginException extends Exception{
public UserNotLoginException() {
super();
}
public UserNotLoginException(String string) {
super(string... |
package com.wyvoid.forum.exception.user;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-19
* Time: 18:47:18
*/
public class UsernameNotFoundException extends Exception{
public UsernameNotFoundException() {
super();
}
public UsernameNotFoundException(String string) {
super(string);
... |
package com.wyvoid.forum.exception.user;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-19
* Time: 18:57:34
*/
public class PasswordFailureException extends Exception{
public PasswordFailureException() {
super();
}
public PasswordFailureException(String string) {
super(string);
... |
package com.wyvoid.forum.exception.user;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-19
* Time: 18:53:32
*/
public class UserExistsException extends Exception{
public UserExistsException() {
super();
}
public UserExistsException(String string) {
super(string);
}
}
|
package com.wyvoid.forum.exception.user;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-26
* Time: 5:39:05
*/
public class AuthorizationException extends Exception{
public AuthorizationException() {
super();
}
public AuthorizationException(String string) {
super(str... |
package com.wyvoid.forum.exception.admin;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-26
* Time: 5:41:31
*/
public class AdminException extends Exception{
public AdminException() {
super();
}
public AdminException(String string) {
super(string);
}
pub... |
package com.wyvoid.forum.exception.admin;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-26
* Time: 8:43:22
*/
public class AdminLoginFailureException extends Exception{
public AdminLoginFailureException() {
super();
}
public AdminLoginFailureException(String string) {
super(strin... |
package com.wyvoid.forum.dao;
import java.util.List;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.PollResult;
/**
* 投票模块数据处理接口
*
* @author wyvoid
* @link www.wyvoid.com
*
* @version $Revision: 1.2 $ $Date: 2006/07/28 17:04:33 $
*/
public interface IPollResultDAO ... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.AdminGroup;
import com.wyvoid.forum.domain.UserGroup;
import java.util.List;
/**
* User: cjp
* Date: 2007-7-2
* Time: 21:53:34
*/
public interface IAdminGroupDAO extends IHibernate... |
package com.wyvoid.forum.dao;
import com.wyvoid.forum.dao.hibernate.FriendDAO;
import com.wyvoid.forum.domain.Friend;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
/**
* Created by IntelliJ ... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.domain.Attachment;
/**
* 帮助模块数据处理接口
*
* @author wyvoid
* @link www.wyvoid.com
*/
public interfa... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.DoingLog;
/**
* 操作日志模块数据处理接口
*/
public interface IActLogDAO extends IHibernateDAO <DoingLog... |
package com.wyvoid.forum.dao;
import com.wyvoid.forum.domain.Poll;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
/**
* 投票模块数据处理接口
*
* @author wyvoid
* @link www.wyvoid.com
*
* @version $Revision: 1.1 $ $Date: 2006/06/15 08:07:46 $
*/
public interface IPollDAO extends IHibernateDAO<Poll> {
/**... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.forum.domain.UserProfile;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-13
* Time: 12:11:43
*/
pu... |
package com.wyvoid.forum.dao;
import java.util.List;
import org.springframework.dao.DataAccessException;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.FriendLink;
/**
* 友情链接数据处理接口
*
* @author wyvoid
* @version $Revision$ $Date$
* @link www.wyvoid.com
*/
public inter... |
package com.wyvoid.forum.dao;
import java.util.List;
import com.wyvoid.forum.domain.PollVoter;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
/**
* 投票模块数据处理接口
*
* @author wyvoid
* @link www.wyvoid.com
*
* @version $Revision: 1.2 $ $Date: 2006/07/28 17:04:33 $
*/
public interface IPollVoterDAO e... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.UserGroup;
import java.util.List;
/**
* User: cjp
* Date: 2007-7-1
* Time: 21:11:17
*/
public interface IUserGroupDAO extends IHibernateDAO<UserGroup> {
List<UserGroup> getUser... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.Forum;
import java.util.List;
/**
* 论坛模块数据处理接口
*
* @author wyvoid
* @link www.wyvoid.com
*/
public interface IForumDAO extends IHibernateDAO<Forum> {
/**
* 查找全部的论坛信息
* @return List 帮助集... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.Post;
import com.wyvoid.forum.web.search.SearchBean;
/**
* 帖子回复模块数据处理接口
*
* @author wyvoi... |
package com.wyvoid.forum.dao;
import java.util.List;
import java.util.Map;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.domain.User;
/**
* 用户模块数据处理接口
*
* @author wyvoid
... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.forum.domain.Note;
import java.util.List;
/**
* 日志模块数据处理接口
*/
public interface INoteDAO extends IHibern... |
package com.wyvoid.forum.dao;
import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.forum.domain.Settings;
/**
* User: cjp
* Date: 2007-6-23
* Time: 11:43:18
*/
public interface ISettingsDAO extends IHibernateDAO<Settings> {
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.