wip: Fixed Class Copyright blocks.
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 13, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra;
|
||||
|
||||
|
||||
/**
|
||||
* @author David Webb (dwebb@brightmove.com)
|
||||
*
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 13, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra.core;
|
||||
|
||||
|
||||
@@ -79,28 +79,33 @@ public interface CassandraOperations {
|
||||
/**
|
||||
* Insert the given object to the table by id.
|
||||
*
|
||||
* @param object
|
||||
* @param entity
|
||||
*/
|
||||
<T> T insert(T entity);
|
||||
|
||||
/**
|
||||
* Insert the given object to the table by id.
|
||||
*
|
||||
* @param object
|
||||
*/
|
||||
<T> List<T> insert(List<T> entities);
|
||||
|
||||
/**
|
||||
* Insert the given object to the table by id.
|
||||
*
|
||||
* @param object
|
||||
* @param entity
|
||||
* @param tableName
|
||||
* @return
|
||||
*/
|
||||
<T> T insert(T entity, String tableName);
|
||||
|
||||
/**
|
||||
* Insert the given object to the table by id.
|
||||
* Insert the given list of objects to the table by annotation table name.
|
||||
*
|
||||
* @param object
|
||||
* @param entities
|
||||
* @return
|
||||
*/
|
||||
<T> List<T> insert(List<T> entities);
|
||||
|
||||
/**
|
||||
* Insert the given list of objects to the table by name.
|
||||
*
|
||||
* @param entities
|
||||
* @param tableName
|
||||
* @return
|
||||
*/
|
||||
<T> List<T> insert(List<T> entities, String tableName);
|
||||
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 12, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra.core;
|
||||
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 12, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra.exception;
|
||||
|
||||
@@ -12,10 +19,10 @@ package org.springframework.data.cassandra.exception;
|
||||
* Exception to handle failing to write a PersistedEntity to a CQL String or Query object
|
||||
*
|
||||
* @author David Webb (dwebb@brightmove.com)
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class EntityWriterException extends Exception {
|
||||
|
||||
|
||||
/**
|
||||
* @param message
|
||||
*/
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 11, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra.template;
|
||||
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* All BrightMove Code is Copyright 2004-2013 BrightMove Inc.
|
||||
* Modification of code without the express written consent of
|
||||
* BrightMove, Inc. is strictly forbidden.
|
||||
*
|
||||
* Author: David Webb (dwebb@brightmove.com)
|
||||
* Created On: Nov 11, 2013
|
||||
/*
|
||||
* Copyright 2011-2013 the original author or authors.
|
||||
*
|
||||
* 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 org.springframework.data.cassandra.template;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user