code
stringlengths
3
1.18M
language
stringclasses
1 value
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview; import org.rapla.framework.TypedComponentRole; import org.rapla.plugin.tableview.internal.SummaryExtension; public interface TableViewExtensionPoints { /** add a summary footer for the reservation table @see SummaryExtension * */ TypedComponentRole<SummaryExtension>...
Java
package org.rapla.plugin.tableview; import javax.swing.table.TableColumn; public interface RaplaTableColumn<T> { public abstract String getColumnName(); public abstract Object getValue(T object); public abstract void init(TableColumn column); public abstract Class<?> getColumnClass(); public a...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2012 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.jndi.internal; import javax.jws.WebService; import org.rapla.framework.DefaultConfiguration; import org.rapla.framework.RaplaException; @WebService public interface JNDIConfig { public void test(DefaultConfiguration config,String username,String password) throws RaplaException; publ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.jndi.internal; public interface JNDIConf { public static final String USER_BASE = "userBase"; public static final String USER_SEARCH = "userSearch"; public static final String USER_CN = "userCn"; public static final String USER_MAIL = "userMail"; public static final ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/* * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.archiver; import javax.jws.WebService; import org.rapla.framework.RaplaException; @WebService public interface ArchiverService { String REMOVE_OLDER_THAN_ENTRY = "remove-older-than"; String EXPORT = "export"; void delete(Integer olderThanInDays) throws RaplaException; boo...
Java
package org.rapla.plugin.archiver.server; import org.rapla.entities.User; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.plugin.archiver.ArchiverService; import org.rapla.server.RemoteMethodFactory; import org.rapla.s...
Java
package org.rapla.plugin.archiver.server; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.rapla.components.util.DateTools; import org.rapla.entities.User; import org.rapla.entities.domain.Appointment; import org.rapla.entities.domain.Reservation; import org.rapla.facade.ClientFaca...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
package org.rapla.plugin.archiver.server; import org.rapla.components.util.Command; import org.rapla.components.util.CommandScheduler; import org.rapla.components.util.DateTools; import org.rapla.facade.RaplaComponent; import org.rapla.framework.Configuration; import org.rapla.framework.RaplaContext; import or...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | |...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
package org.rapla.plugin.timeslot; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.rapla.components.util.DateTools; import org.rapla.components.util.ParseDateException; import org.rapla.components.util.SerializableDateTimeFormat; import org.rap...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.timeslot; public class Timeslot implements Comparable<Timeslot> { String name; int minuteOfDay; public Timeslot(String name, int minuteOfDay) { this.name = name; this.minuteOfDay = minuteOfDay; } public String getName() { return name; } public int getMinuteOfDay() {...
Java
/** * */ package org.rapla.servletpages; import java.io.IOException; import java.io.PrintWriter; import java.util.Collection; import java.util.Iterator; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
Java
/** * */ package org.rapla.servletpages; import java.io.IOException; import java.util.Collection; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class RaplaAppletPageGenerator implements RaplaPageGenerator{ private Stri...
Java
package org.rapla.servletpages; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class RaplaStorePage implements RaplaPageGenerator {...
Java
package org.rapla.servletpages; import java.io.PrintWriter; import javax.servlet.http.HttpServletRequest; public interface RaplaMenuGenerator { public void generatePage( HttpServletRequest request, PrintWriter out ); }
Java
/** * */ package org.rapla.servletpages; import java.io.IOException; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.rapla.components.util.IOUtil; import org.rapla.components.xmlbundle.I18nBundle; import org.rapla.facade.R...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.servletpages; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; /** * User: kuestermann * Date: 15.08.12 * Time: 19:24 ...
Java
package org.rapla.servletpages; import java.io.PrintWriter; import javax.servlet.http.HttpServletRequest; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; public class DefaultHTMLMenuEntry extends RaplaComponent implements RaplaMenuGenerator { protected String name; protected...
Java
/** * */ package org.rapla.servletpages; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespon...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.facade; import org.rapla.framework.RaplaException; public class CalendarNotFoundExeption extends RaplaException { public CalendarNotFoundExeption(String text) { super(text); } private static final long serialVersionUID = 1L; }
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.facade; import java.util.Collection; import java.util.Date; import java.util.List; import org.rapla.components.util.TimeInterval; import org.rapla.entities.RaplaObject; import org.rapla.entities.User; import org.rapla.entities.domain.Allocatable; import org.rapla.entities.domain.AppointmentBlock; im...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.facade; import java.util.Collection; import java.util.Date; import org.rapla.components.util.TimeInterval; import org.rapla.entities.EntityNotFoundException; import org.rapla.entities.User; import org.rapla.entities.domain.Allocatable; import org.rapla.entities.dynamictype.ClassificationFilter; impor...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.framework; public interface Configuration { String getName(); Configuration getChild(String name); Configuration[] getChildren(String name); Configuration[] getChildren(); String getValue() throws ConfigurationException; String getValue(String defaultValue); boole...
Java
package org.rapla.framework; public class RaplaContextException extends RaplaException { private static final long serialVersionUID = 1L; public RaplaContextException( final String key ) { super( "Unable to provide implementation for " + key + " " ); } public RaplaContextExcepti...
Java
package org.rapla.framework; public interface Provider<T> { T get(); }
Java
package org.rapla.framework.logger; public class NullLogger extends AbstractLogger { public NullLogger() { super(LEVEL_FATAL); } public Logger getChildLogger(String childLoggerName) { return this; } protected void write(int logLevel, String message, Throwable cause) { ...
Java
package org.rapla.framework.logger; public abstract class AbstractLogger implements Logger{ protected int logLevel; public static final int LEVEL_FATAL = 4; public static final int LEVEL_ERROR = 3; public static final int LEVEL_WARN = 2; public static final int LEVEL_INFO = 1; pub...
Java
package org.rapla.framework.logger; public interface Logger { boolean isDebugEnabled(); void debug(String message); void info(String message); void warn(String message); void warn(String message, Throwable cause); void error(String message); void error(String message, Throwable c...
Java
package org.rapla.framework.logger; public class ConsoleLogger extends AbstractLogger { String prefix; public ConsoleLogger(int logLevel) { super(logLevel); } public ConsoleLogger(String prefix,int logLevel) { super(logLevel); this.prefix = prefix; ...
Java
package org.rapla.framework; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; import org.rapla.components.util.SerializableDateTimeFormat; /** This class contains all locale specific information for Rapla. Like <ul> <li>Selected language.</li> <li>Selected co...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.framework; public class SimpleProvider<T> implements Provider<T> { T value; public T get() { return value; } public void setValue(T value) { this.value = value; } }
Java
package org.rapla.framework.internal; import org.rapla.framework.ConfigurationException; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaContextException; import org.rapla.framework.TypedComponentRole; public class ContextTools { /** resolves a context value in the passed string. ...
Java
package org.rapla.framework.internal; import java.util.Date; import java.util.TimeZone; import org.rapla.components.util.DateTools; import org.rapla.components.util.SerializableDateTimeFormat; import org.rapla.framework.RaplaLocale; public abstract class AbstractRaplaLocale implements RaplaLocale { public String...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.framework.internal; import java.util.Map; import java.util.Stack; import org.rapla.components.util.xml.RaplaSAXAttributes; import org.rapla.components.util.xml.RaplaSAXHandler; import org.rapla.components.util.xml.RaplaSAXParseException; import org.rapla.framework.Configuration; import org.rapla.fra...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java