migrated shared-account into own project, updated license heaaders

This commit is contained in:
2019-09-13 01:02:27 +02:00
parent a071cb5732
commit 585b6d7d02
321 changed files with 2273 additions and 12165 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2016 Joern Muehlencord
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2018 joern.muehlencord.
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 Joern Muehlencord <joern at muehlencord.de>.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -26,7 +26,7 @@ import javax.validation.constraints.NotNull;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
@Embeddable
public class Audit implements Serializable {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -22,7 +22,7 @@ import org.slf4j.LoggerFactory;
/**
* Does not work, cannot Spring independet inject current username - implemented in AbstractController manually
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class AuditListener {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 Joern Muehlencord <joern at muehlencord.de>.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -17,7 +17,7 @@ package de.muehlencord.shared.db;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public interface Auditable {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -40,7 +40,7 @@ import org.apache.commons.lang3.StringUtils;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public abstract class CommonAbstractController {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -19,7 +19,7 @@ import javax.ejb.ApplicationException;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
@ApplicationException(rollback = true)
public class ControllerException extends Exception {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 Joern Muehlencord <joern at muehlencord.de>.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class EntityUtil {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -19,7 +19,7 @@ import java.io.Serializable;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public interface IdentifiableEntity extends Serializable{

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -33,7 +33,7 @@ import javax.persistence.criteria.Root;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
@Stateless
public class StandardController extends CommonAbstractController {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">

View File

@ -1,3 +1,18 @@
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.muehlencord.shared.db;
import java.io.Serializable;
@ -13,7 +28,7 @@ import javax.validation.constraints.Size;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
@Entity
@Table(name = "counter")

View File

@ -1,5 +1,5 @@
/*
* Copyright 2019 joern.muehlencord.
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class EntityUtilTest {

View File

@ -1,3 +1,18 @@
/*
* Copyright 2019 Joern Muehlencord (joern@muehlencord.de).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.muehlencord.shared.db;
import java.io.Serializable;
@ -18,7 +33,7 @@ import javax.validation.constraints.Size;
/**
*
* @author joern.muehlencord
* @author Joern Muehlencord (joern@muehlencord.de)
*/
@Entity
@Table(name = "address")