This repository has been archived by the owner on Apr 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 941
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uncommitted files...not sure why. Moving to side branch in case I nee…
…d them later.
- Loading branch information
Showing
35 changed files
with
27,510 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beansProjectDescription> | ||
<version>1</version> | ||
<pluginVersion><![CDATA[3.0.0.201207050701-M3]]></pluginVersion> | ||
<configSuffixes> | ||
<configSuffix><![CDATA[xml]]></configSuffix> | ||
</configSuffixes> | ||
<enableImports><![CDATA[false]]></enableImports> | ||
<configs> | ||
<config>src/test/java/com/springsource/greenhouse/events/load/JdbcEventLoaderRepositoryTest-context.xml</config> | ||
</configs> | ||
<configSets> | ||
</configSets> | ||
</beansProjectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
271 changes: 155 additions & 116 deletions
271
src/main/java/com/springsource/greenhouse/config/test-data.sql
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/java/com/springsource/greenhouse/database/upgrade/v4/CreateTimeSlotTable.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
create table EventTimeSlot ( | ||
id identity, | ||
startTime timestamp not null, | ||
endTime timestamp not null, | ||
primary key (id) | ||
); | ||
|
||
alter table EventSession add column timeslot bigint; | ||
alter table EventSession add foreign key (timeslot) references EventTimeSlot(id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
src/main/java/com/springsource/greenhouse/events/load/EventData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* | ||
* Copyright 2012 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 com.springsource.greenhouse.events.load; | ||
|
||
class EventData { | ||
|
||
private final long memberGroupId; | ||
private final String name; | ||
private final String description; | ||
private final String abbreviation; | ||
private final String firstDay; | ||
private final String lastDay; | ||
private final String timeZone; | ||
private final String source; | ||
private final long sourceId; | ||
|
||
public EventData(long memberGroupId, String name, String description, String abbreviation, String firstDay, String lastDay, String timeZone, String source, long sourceId) { | ||
this.memberGroupId = memberGroupId; | ||
this.name = name; | ||
this.description = description; | ||
this.abbreviation = abbreviation; | ||
this.firstDay = firstDay; | ||
this.lastDay = lastDay; | ||
this.timeZone = timeZone; | ||
this.source = source; | ||
this.sourceId = sourceId; | ||
} | ||
|
||
public long getMemberGroupId() { | ||
return memberGroupId; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public String getAbbreviation() { | ||
return abbreviation; | ||
} | ||
|
||
public String getFirstDay() { | ||
return firstDay; | ||
} | ||
|
||
public String getLastDay() { | ||
return lastDay; | ||
} | ||
|
||
public String getTimeZone() { | ||
return timeZone; | ||
} | ||
|
||
public String getSource() { | ||
return source; | ||
} | ||
|
||
public long getSourceId() { | ||
return sourceId; | ||
} | ||
|
||
} |
Oops, something went wrong.