-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
215 additions
and
192 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
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
12 changes: 2 additions & 10 deletions
12
client/src/main/java/org/sfnelson/blog/client/editors/EntryEditor.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
3 changes: 0 additions & 3 deletions
3
client/src/main/java/org/sfnelson/blog/client/editors/HasValueEditor.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
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
public interface SelectableEditor { | ||
|
||
boolean select(); | ||
|
||
boolean deselect(); | ||
|
||
} |
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
10 changes: 8 additions & 2 deletions
10
client/src/main/java/org/sfnelson/blog/client/request/EntryProxy.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 |
---|---|---|
@@ -1,22 +1,28 @@ | ||
package org.sfnelson.blog.client.request; | ||
|
||
import java.util.Date; | ||
|
||
import com.google.web.bindery.requestfactory.shared.EntityProxy; | ||
import com.google.web.bindery.requestfactory.shared.ProxyFor; | ||
|
||
import org.sfnelson.blog.server.DomainObjectLocator; | ||
import org.sfnelson.blog.server.domain.Entry; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* Author: Stephen Nelson <stephen@sfnelson.org> | ||
* Date: 31/10/11 | ||
*/ | ||
@ProxyFor(value = Entry.class, locator = DomainObjectLocator.class) | ||
public interface EntryProxy extends EntityProxy, org.sfnelson.blog.domain.Entry { | ||
AuthorProxy getAuthor(); | ||
|
||
void setAuthor(AuthorProxy author); | ||
|
||
Date getPosted(); | ||
|
||
void setPosted(Date date); | ||
|
||
ContentProxy getContent(); | ||
|
||
void setContent(ContentProxy content); | ||
} |
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
12 changes: 10 additions & 2 deletions
12
client/src/main/java/org/sfnelson/blog/client/request/TaskProxy.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
8 changes: 5 additions & 3 deletions
8
client/src/main/java/org/sfnelson/blog/client/request/TaskRequest.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 |
---|---|---|
@@ -1,21 +1,23 @@ | ||
package org.sfnelson.blog.client.request; | ||
|
||
import java.util.List; | ||
|
||
import com.google.web.bindery.requestfactory.shared.Request; | ||
import com.google.web.bindery.requestfactory.shared.RequestContext; | ||
import com.google.web.bindery.requestfactory.shared.Service; | ||
|
||
import org.sfnelson.blog.server.ServiceLocator; | ||
import org.sfnelson.blog.server.TaskManager; | ||
import org.sfnelson.blog.server.service.TaskService; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Author: Stephen Nelson <stephen@sfnelson.org> | ||
* Date: 18/10/11 | ||
*/ | ||
@Service(value = TaskService.class, locator = ServiceLocator.class) | ||
public interface TaskRequest extends RequestContext { | ||
Request<List<TaskProxy>> getCurrentTasks(int start, int limit); | ||
|
||
Request<Void> createTask(TaskProxy task); | ||
|
||
Request<Void> updateTask(TaskProxy task); | ||
} |
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.