org.filteredpush.client.service
Class UserAccessService
java.lang.Object
org.filteredpush.client.service.UserAccessService
- All Implemented Interfaces:
- java.io.Serializable
public class UserAccessService
- extends java.lang.Object
- implements java.io.Serializable
A service to helper the invoker operate the database. It's not used for mapping the proposed change
into the local data source. It's used to read/write the database that stores the user information
used by the annotation processor.
- Author:
- Lei Dou
$Id$
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAccessService
public UserAccessService()
setUserDao
public void setUserDao(UserDao userDao)
addUser
public void addUser(FPUser user)
getUser
public java.util.List<FPUser> getUser(java.lang.String userName)
getNoneApprovedUsers
public java.util.List<FPUser> getNoneApprovedUsers()
updateUser
public void updateUser(FPUser user)
updateInterest
public void updateInterest(Interest interest)
removeInterest
public void removeInterest(Interest interest)
saveOrUpdateLocalDataSource
public void saveOrUpdateLocalDataSource(LocalDataSource localDataSource)
addNewInterest
public void addNewInterest(Interest interest)
deleteAnnotation
public void deleteAnnotation(FPUser user,
java.lang.String uri,
java.lang.String targetFolder)
throws DatabaseAccessException
- Throws:
DatabaseAccessException
restoreAnnotation
public void restoreAnnotation(FPUser user,
java.lang.String uri)
throws DatabaseAccessException
- Throws:
DatabaseAccessException
updateAnnotationOptStatus
public void updateAnnotationOptStatus(FPUser user,
java.lang.String uri,
java.lang.String targetStatus)
throws DatabaseAccessException
- Throws:
DatabaseAccessException
removeAnnotationMetadataMapping
public void removeAnnotationMetadataMapping(AnnotationMetadataMapping m)
saveOrUpdateAnnotationMetadataMapping
public void saveOrUpdateAnnotationMetadataMapping(AnnotationMetadataMapping m)