Browse files

Updated the copyright information, added a README file and added the …

…missing method from the DatabaseManager

interface.
  • Loading branch information...
1 parent bd02c91 commit b7267849c97e2257646fac12416405df3174476e @ccorsi committed Sep 17, 2010
View
24 persistence/books/web/ZK/README
@@ -0,0 +1,24 @@
+
+ Books Web Interface using ZK
+ ----------------------------
+
+ This project contains a web container implementation for the books persistent layer.
+
+ This objective of this is to provide a common process to access the books database
+ backend.
+
+ This was initially developed using the Eclipse IDE with the ZK plugin installed.
+
+ The project was initial built using ZK v5.0.3 and should be upward compatible unless
+ specified otherwise by the ZK project.
+
+ This implementation does not include all of the jar files that are part of the ZK
+ distribution. This requires that the developer include their specific implementation
+ of ZK as part of their development process.
+
+ The projec does not include any of the books persistent layers and the developer will
+ need to package their required version of the books persistent layer.
+
+ All of the above assumes that this will work as expected but alas I have not tried
+ this out.
+
View
32 persistence/books/web/ZK/src/org/books/proxy/BookProxy.java
@@ -30,7 +30,7 @@
import books.persistence.types.PersonType;
/**
- * @author ccorsi
+ * @author Claudio Corsi
*
*/
public abstract class BookProxy {
@@ -95,22 +95,52 @@ static public BookProxy createBookProxy(Book book) {
*/
public abstract void setSeries(String series);
+ /**
+ * @param gender
+ */
public abstract void addGender(GenderProxy gender);
+ /**
+ * @return
+ */
public abstract Collection<GenderProxy> getGenders();
+ /**
+ * @return
+ */
public abstract Collection<String> getSubtitles();
+ /**
+ * @param person
+ */
public abstract void addPerson(PersonProxy person);
+ /**
+ * @param type
+ * @return
+ */
public abstract Collection<PersonProxy> getPersons(PersonType type);
+ /**
+ * @param subtitle
+ */
public abstract void addSubtitle(String subtitle);
+ /**
+ *
+ */
public abstract void save();
+ /**
+ * @param gender
+ * @return
+ */
public abstract boolean removeGender(GenderProxy gender);
+ /**
+ * @param person
+ * @return
+ */
public abstract boolean removePerson(PersonProxy person);
}
View
2 persistence/books/web/ZK/src/org/books/proxy/BookProxyPersistent.java
@@ -33,7 +33,7 @@
import books.persistence.types.PersonType;
/**
- * @author ccorsi
+ * @author Claudio Corsi
*
*/
public class BookProxyPersistent extends BookProxy {
View
2 persistence/books/web/ZK/src/org/books/proxy/BookProxyTransient.java
@@ -34,7 +34,7 @@
import books.persistence.types.PersonType;
/**
- * @author ccorsi
+ * @author Claudio Corsi
*
*/
public class BookProxyTransient extends BookProxy {
View
2 persistence/books/web/ZK/src/org/books/proxy/GenderProxy.java
@@ -28,7 +28,7 @@
import books.persistence.types.Gender;
/**
- * @author ccorsi
+ * @author Claudio Corsi
*
*/
public class GenderProxy {
View
2 persistence/books/web/ZK/src/org/books/proxy/PersonProxy.java
@@ -39,7 +39,7 @@
* objects that might not be stored within the persistent layer. This will
* remove the need to deal with this type of issue.
*
- * @author ccorsi
+ * @author Claudio Corsi
*
*/
public class PersonProxy {
View
4 persistence/books/web/ZK/src/org/books/util/ListboxUtils.java
@@ -39,8 +39,8 @@
import books.persistence.types.PersonType;
/**
- * @author ccorsi
- *
+ * @author Claudio Corsi
+ *
*/
public class ListboxUtils {
View
4 persistence/books/web/ZK/src/org/books/util/SystemManager.java
@@ -32,8 +32,8 @@
import books.persistence.types.PersonType;
/**
- * @author ccorsi
- *
+ * @author Claudio Corsi
+ *
*/
public class SystemManager {

0 comments on commit b726784

Please sign in to comment.