Created
September 13, 2011 04:21
-
-
Save squeedee/1213107 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public class UserService extends RailsServiceBase implements VOSerializingService, VOBuildingService { | |
| private var _dx:VOBuilder; | |
| private var _sx:VOSerializer; | |
| public var createAction:CreateAction = new CreateActionImpl(this); // SerializeService, DeserializeService | |
| public var updateAction:UpdateAction = new UpdateActionImpl(this); // SerializeService | |
| public var newAction:NewAction = new NewActionImpl(this); // Deserialize | |
| public var showAction:ShowAction = new ShowActionImpl(this); // Deserialize | |
| public var deleteAction:DeleteAction = new DeleteActionImpl(this); | |
| public var indexAction:IndexAction = new IndexActionImpl(this); // Deserialize | |
| public function UserService() { | |
| setResource("https://f1.vworkapp.com/client/users"); | |
| } | |
| public function getSerializer():VOSerializer { | |
| return _sx ||= new UserVOSerializer(); | |
| } | |
| public function getBuilder():VOBuilder { | |
| return _dx ||= new UserVOBuilder(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment