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 |
/*--------------------------------------------------------------------------*
| 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) 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) 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 |
/*--------------------------------------------------------------------------*
| 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 |
| i... | 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 |
/**
*
*/
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) 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) 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) 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) 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) 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.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 |
/*--------------------------------------------------------------------------*
| 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) 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 |
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) 2006 Gereon Fassbender, 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) 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) 2013 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it... | 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) 2014 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 |
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) 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.bootstrap;
import java.io.InputStream;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedAction;
import... | Java |
package org.rapla.bootstrap;
import java.io.IOException;
public class RaplaClientLoader
{
public static void main(String[] args) throws IOException
{
RaplaJettyLoader.main(new String[] {"client"});
}
}
| Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.bootstrap;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.StringTokenizer;
/**
Puts all jar-files from the libdirs into the cla... | Java |
package org.rapla.bootstrap;
import java.io.File;
import java.io.IOException;
public class RaplaServerAsServiceLoader
{
public static void main(String[] args) throws IOException
{
System.setProperty( "java.awt.headless", "true" );
String baseDir = System.getProperty("jetty.home");
if ( baseDir ==... | Java |
package org.rapla.bootstrap;
import java.io.IOException;
public class RaplaStandaloneLoader
{
public static void main(String[] args) throws IOException
{
// This is for backwards compatibility
if ( args.length > 0 && args[0].equals( "client"))
{
RaplaJettyLoader.main(new String[] {"client"});
}
... | Java |
package org.rapla.bootstrap;
import java.io.IOException;
public class RaplaServerLoader
{
public static void main(String[] args) throws IOException
{
System.setProperty( "java.awt.headless", "true" );
RaplaJettyLoader.main(new String[] {"server"});
}
}
| Java |
package org.rapla.bootstrap;
import java.io.File;
import java.io.IOException;
public class RaplaJettyLoader
{
public static void main(String[] args) throws IOException
{
String baseDir = System.getProperty("jetty.home");
if ( baseDir == null)
{
baseDir = ".";
Syst... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage;
import org.rapla.entities.Entity;
public interface UpdateOperation {
public Entity getCurrent();
} | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage.impl.server;
import java.util.Collection;
import java.util.SortedSet;
import org.rapla.entities.domain.Allocatable;
import org.rapla.entities.domain.Appointment;
public interface AllocationMap {
SortedSet<Appointment> getAppointments(Allocatable allocatable);
Collection<Allocata... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage.impl.server;
import java.util.HashSet;
import java.util.Set;
import org.rapla.entities.domain.Appointment;
class AllocationChange
{
public Set<Appointment> toChange = new HashSet<Appointment>();
public Set<Appointment> toRemove= new HashSet<Appointment>();
public String t... | 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 |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage;
import org.rapla.framework.RaplaException;
public class RaplaNewVersionException extends RaplaException {
private static final long serialVersionUID = 1L;
public RaplaNewVersionException(String text) {
super(text);
}
}
| Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2014 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage;
import java.util.LinkedHashSet;
import java.util.Set;
import org.rapla.entities.configuration.internal.RaplaMapImpl;
public class PreferencePatch extends RaplaMapImpl {
String userId;
Set<String> removedEntries = new LinkedHashSet<String>();
public void addRemove(String role) {... | Java |
package org.rapla.storage;
import org.rapla.entities.RaplaType;
import org.rapla.framework.RaplaException;
@Deprecated
public class OldIdMapping {
static public String getId(RaplaType type,String str) throws RaplaException {
if (str == null)
throw new RaplaException("Id string for " + type + " can't b... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2013 Christopher Kohlhaas |
| |
| This program is free software; you can redistribute it and/or modify |
| it un... | Java |
package org.rapla.storage;
import org.rapla.framework.RaplaException;
public interface CachableStorageOperatorCommand {
public void execute( LocalCache cache) throws RaplaException;
}
| 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.storage.dbrm;
import org.rapla.framework.RaplaException;
public class RaplaConnectException extends RaplaException {
private static final long serialVersionUID = 1L;
public RaplaConnectException(String text) {
super(text, null);
}
public RaplaConnectException( Throwabl... | Java |
package org.rapla.storage.dbrm;
public class RaplaRestartingException extends RaplaConnectException {
private static final long serialVersionUID = 1L;
public RaplaRestartingException() {
super("Connection to server aborted. Restarting client.");
}
}
| Java |
package org.rapla.storage.dbrm;
import java.util.Date;
public class LoginTokens {
String accessToken;
Date validUntil;
@SuppressWarnings("unused")
private LoginTokens() {
}
public LoginTokens(String accessToken, Date validUntil) {
this.accessToken = accessToken;
this.... | Java |
/*--------------------------------------------------------------------------*
| Copyright (C) 2006 Praktikum Gruppe2?, 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) 2006 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 |
package org.rapla.storage.dbrm;
public class LoginCredentials {
private String username;
private String password;
private String connectAs;
public LoginCredentials(String username, String password, String connectAs) {
super();
this.username = username;
this.password = passw... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.