code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/**
*
*/
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 |
/*--------------------------------------------------------------------------*
| 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.entities.storage;
import org.rapla.framework.RaplaException;
public class CannotExistWithoutTypeException extends RaplaException {
public CannotExistWithoutTypeException() {
super("This object cannot exist without a dynamictype. Type cannot be removed.");
}
/**
... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2013 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it... | 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 |
| |
| 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... | 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) 2006 Gereon Fassbender, Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.entities.storage;
public class UnresolvableReferenceExcpetion extends RuntimeException {
private static final long serialVersionUID = 1L;
public UnresolvableReferenceExcpetion(String id) {
super("Can't resolve reference for id " + id );
}
public UnresolvableReferenceExcpetion(String id, Str... | 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) 2006 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) 2006 Gereon Fassbender, Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2011 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) 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.entities.domain;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.rapla.facade.PeriodModel;
public class ReservationHelper
{
static public void makeRepeatingForPeriod(PeriodModel model, Appointment appo... | 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.entities.domain;
import java.util.Comparator;
public class AppointmentBlockStartComparator implements Comparator<AppointmentBlock>
{
/**
* This method is used to compare two appointment blocks by their start dates
*/
public int compare(AppointmentBlock a1, AppointmentBlo... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.entities.domain;
import java.util.Comparator;
public class AppointmentBlockEndComparator implements Comparator<AppointmentBlock>
{
/**
* This method is used to compare two appointment blocks by their start dates
*/
public int compare(AppointmentBlock a1, AppointmentBlock... | 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 |
package org.rapla.entities.domain;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
public class Template implements Comparable<Template>
{
private String name;
private List<Reservation> reservations = new ArrayList<Reservation>();
public Template(String name)
{
this... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2006 Gereon Fassbender |
| |
| 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 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) 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 |
| |
| 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) 21006 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 |
| i... | Java |
/**
*
*/
package org.rapla.entities.dynamictype.internal;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.rapla.components.util.DateT... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.entities.dynamictype;
public interface RaplaAnnotation {
}
| Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it under ... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it under ... | 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 under ... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it under ... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas, Frithjof Kurtz |
| |
| 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 |
/*--------------------------------------------------------------------------*
| C
o//pyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it und... | 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 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 |
package org.rapla.framework;
import java.util.HashMap;
public class RaplaDefaultContext implements RaplaContext
{
private final HashMap<String,Object> contextObjects = new HashMap<String,Object>();
protected final RaplaContext parent;
public RaplaDefaultContext()
{
this( null );
}
... | Java |
package org.rapla.framework;
public class ConfigurationException extends Exception {
private static final long serialVersionUID = 1L;
public ConfigurationException(String string, Throwable exception) {
super( string, exception);
}
public ConfigurationException(String string) {
... | 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 RaplaSynchronizationException extends RaplaException {
private static final long serialVersionUID = 1L;
public RaplaSynchronizationException(String text) {
super(text);
}
public RaplaSynchronizationException(Throwable ex) {
super( ex.getMessage(), ex);
... | 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 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;
public interface Disposable {
public void dispose();
}
| 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 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.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 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 |
/*--------------------------------------------------------------------------*
| 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 under ... | 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 RaplaContext
{
/** Returns a reference to the requested object (e.g. a component instance).
* throws a RaplaContextException if the object can't be returned. This could have
* different reasons: For example it is not found in the context, or there has been
* ... | Java |
package org.rapla.framework;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class DefaultConfiguration implements Configuration {
Map<String,String> attributes = new LinkedHashMap<String, String>();
List<DefaultConfiguration> children = new Arr... | Java |
package org.rapla.framework;
@SuppressWarnings("unused")
public class TypedComponentRole<T> {
String id;
public TypedComponentRole(String id) {
this.id = id.intern();
}
public String getId()
{
return id;
}
public String toString()
{
return id;
}
... | Java |
package org.rapla.framework;
import java.net.URL;
import org.rapla.framework.logger.Logger;
public interface StartupEnvironment
{
int CONSOLE = 1;
int WEBSTART = 2;
int APPLET = 3;
Configuration getStartupConfiguration() throws RaplaException;
URL getDownloadURL() throws RaplaException;
URL... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.