net.sf.imca.services
Class EditDataService
java.lang.Object
net.sf.imca.services.Service
net.sf.imca.services.EditDataService
public class EditDataService
- extends Service
Service for CRUD operations by the Data Admin Servlet.
- Author:
- dougculnane
Fields inherited from class net.sf.imca.services.Service |
em |
Method Summary |
boolean |
deleteEntity(java.lang.Object entityObject,
java.lang.String id)
Delete the Database entity object. |
java.lang.Object |
findEntity(java.lang.Class clazz,
long goToId)
|
java.lang.Object |
saveEntity(java.lang.Object entityObject,
java.lang.String id)
|
PersonBO |
saveMyData(PersonEntity personEntity,
java.lang.String password,
java.lang.String confirmPassword)
|
java.util.List |
search(java.lang.String entityName,
java.lang.String search)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditDataService
public EditDataService()
saveEntity
public java.lang.Object saveEntity(java.lang.Object entityObject,
java.lang.String id)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveMyData
public PersonBO saveMyData(PersonEntity personEntity,
java.lang.String password,
java.lang.String confirmPassword)
throws DataCheckingException
- Throws:
DataCheckingException
findEntity
public java.lang.Object findEntity(java.lang.Class clazz,
long goToId)
search
public java.util.List search(java.lang.String entityName,
java.lang.String search)
deleteEntity
public boolean deleteEntity(java.lang.Object entityObject,
java.lang.String id)
throws java.lang.Exception
- Delete the Database entity object.
- Parameters:
entityObject
- id
-
- Returns:
-
- Throws:
java.lang.Exception
Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.