| java.lang.Object net.sf.drftpd.event.FtpListener org.drftpd.plugins.Trial
Trial | public class Trial extends FtpListener (Code) | | author: mog version: $Id: Trial.java 1513 2006-10-13 22:41:08Z tdsoul $ |
Inner Class :public static class Limit | |
Constructor Summary | |
public | Trial() |
Method Summary | |
public void | actionPerformed(Event event) | public static void | doAction(String action, User user) | public static Calendar | getCalendarForEndOfBonus(User user, int period) | public static Calendar | getCalendarForEndOfFirstPeriod(User user, int period) Returns last day of the first, unique, period. | public static Calendar | getCalendarForEndOfPeriod(int period) | public ArrayList | getLimits() | public static String | getPeriodName(int s) | public static String | getPeriodName2(int s) | public static long | getUploadedBytesForPeriod(User user, int period) | public void | init(GlobalContext gctx) | public static boolean | isInFirstPeriod(User user, int period) | public static boolean | isInFirstPeriod(User user, int period, long time) | public static Calendar | moveCalendarToEndOfPeriod(Calendar cal, int period) | public void | reload(ArrayList limits) | protected void | reload(Properties props) | public void | unload() |
PERIOD_ALL | final public static int PERIOD_ALL(Code) | | |
PERIOD_DAILY | final public static int PERIOD_DAILY(Code) | | |
PERIOD_MONTHLY | final public static short PERIOD_MONTHLY(Code) | | |
PERIOD_WEEKLY | final public static short PERIOD_WEEKLY(Code) | | |
actionPerformed | public void actionPerformed(Event event)(Code) | | |
getCalendarForEndOfBonus | public static Calendar getCalendarForEndOfBonus(User user, int period)(Code) | | |
getCalendarForEndOfFirstPeriod | public static Calendar getCalendarForEndOfFirstPeriod(User user, int period)(Code) | | Returns last day of the first, unique, period.
|
getCalendarForEndOfPeriod | public static Calendar getCalendarForEndOfPeriod(int period)(Code) | | |
getPeriodName | public static String getPeriodName(int s)(Code) | | |
getPeriodName2 | public static String getPeriodName2(int s)(Code) | | |
getUploadedBytesForPeriod | public static long getUploadedBytesForPeriod(User user, int period)(Code) | | |
isInFirstPeriod | public static boolean isInFirstPeriod(User user, int period)(Code) | | |
isInFirstPeriod | public static boolean isInFirstPeriod(User user, int period, long time)(Code) | | |
unload | public void unload()(Code) | | |
|
|