-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from diging/develop
prepare release
- Loading branch information
Showing
60 changed files
with
3,115 additions
and
472 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 |
---|---|---|
@@ -1 +1,4 @@ | ||
/.DS_Store | ||
vspace/.factorypath | ||
vspace/.project | ||
vspace/.classpath |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/Users/ | ||
/.settings/ | ||
.DS_Store | ||
|
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
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
42 changes: 42 additions & 0 deletions
42
vspace/src/main/java/edu/asu/diging/vspace/core/exception/BlockDoesNotExistException.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,42 @@ | ||
package edu.asu.diging.vspace.core.exception; | ||
|
||
public class BlockDoesNotExistException extends Exception { | ||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = 1658241674303041454L; | ||
|
||
public BlockDoesNotExistException() { | ||
super(); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public BlockDoesNotExistException(String message, Throwable cause, boolean enableSuppression, | ||
boolean writableStackTrace) { | ||
super(message, cause, enableSuppression, writableStackTrace); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public BlockDoesNotExistException(String message, Throwable cause) { | ||
super(message, cause); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public BlockDoesNotExistException(String message) { | ||
super(message); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public BlockDoesNotExistException(Throwable cause) { | ||
super(cause); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
} |
13 changes: 13 additions & 0 deletions
13
vspace/src/main/java/edu/asu/diging/vspace/core/factory/ISequenceFactory.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,13 @@ | ||
package edu.asu.diging.vspace.core.factory; | ||
|
||
import java.util.List; | ||
|
||
import edu.asu.diging.vspace.core.model.IModule; | ||
import edu.asu.diging.vspace.core.model.ISequence; | ||
import edu.asu.diging.vspace.core.model.ISlide; | ||
import edu.asu.diging.vspace.web.staff.forms.SequenceForm; | ||
|
||
public interface ISequenceFactory { | ||
|
||
ISequence createSequence(IModule module, SequenceForm sequenceForm, List<ISlide> slides); | ||
} |
32 changes: 32 additions & 0 deletions
32
vspace/src/main/java/edu/asu/diging/vspace/core/factory/impl/SequenceFactory.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,32 @@ | ||
package edu.asu.diging.vspace.core.factory.impl; | ||
|
||
import java.util.List; | ||
|
||
import org.springframework.stereotype.Service; | ||
|
||
import edu.asu.diging.vspace.core.factory.ISequenceFactory; | ||
import edu.asu.diging.vspace.core.model.IModule; | ||
import edu.asu.diging.vspace.core.model.ISequence; | ||
import edu.asu.diging.vspace.core.model.ISlide; | ||
import edu.asu.diging.vspace.core.model.impl.Sequence; | ||
import edu.asu.diging.vspace.web.staff.forms.SequenceForm; | ||
|
||
@Service | ||
public class SequenceFactory implements ISequenceFactory{ | ||
/* | ||
* (non-Javadoc) | ||
* | ||
* @see | ||
* edu.asu.diging.vspace.core.factory.impl.IImageFactory#createImage(java.lang. | ||
* String, java.lang.String) | ||
*/ | ||
@Override | ||
public ISequence createSequence(IModule module, SequenceForm sequenceForm, List<ISlide> slides) { | ||
ISequence sequence = new Sequence(); | ||
sequence.setName(sequenceForm.getName()); | ||
sequence.setDescription(sequenceForm.getDescription()); | ||
sequence.setSlides(slides); | ||
sequence.setModule(module); | ||
return sequence; | ||
} | ||
} |
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
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
Oops, something went wrong.