|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.filteredpush.client.dao.UserDao
@Transactional public class UserDao
A data access object through which the upper service object, e.g. UserAccessService, can read/write the database.
| Constructor Summary | |
|---|---|
UserDao()
|
|
| Method Summary | |
|---|---|
void |
addNewInterest(Interest interest)
Add new interest. |
java.util.List<FPUser> |
getNoneApprovedUsers()
Find the user need to be approved by the manager. |
org.hibernate.SessionFactory |
getSessionFactory()
|
java.util.List<FPUser> |
getUser(java.lang.String userName)
Find the user by name |
void |
removeAnnotationMetadataMapping(AnnotationMetadataMapping m)
Remove the annotation metadata mapping |
void |
removeAnnotationStatus(AnnotationStatus status)
Remove the annotation status. |
void |
removeInterest(Interest interest)
Remove the interest |
void |
saveOrUpdateAnnotationMetadataMapping(AnnotationMetadataMapping m)
Save or update the the annotation metadata mapping |
void |
saveOrupdateAnnotationStatus(AnnotationStatus status)
Save or update the annotation status. |
void |
saveOrupdateLocalDataSource(LocalDataSource localDataSource)
Save or update the local data source |
void |
saveUser(FPUser user)
Add a new user. |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
|
void |
updateInterestCriteria(InterestCriteria interestCriteria)
Update the interest criteria. |
void |
updateUser(FPUser user)
Update the user. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserDao()
| Method Detail |
|---|
public org.hibernate.SessionFactory getSessionFactory()
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public java.util.List<FPUser> getUser(java.lang.String userName)
userName - The user name used as the search criteria.
public java.util.List<FPUser> getNoneApprovedUsers()
public void saveUser(FPUser user)
user - The user to be added.public void updateUser(FPUser user)
user - The user to be updated.public void updateInterestCriteria(InterestCriteria interestCriteria)
interestCriteria - The interest criteria to be updated.public void saveOrupdateLocalDataSource(LocalDataSource localDataSource)
localDataSource - The local data source to be added or updated.public void addNewInterest(Interest interest)
interest - The interest to be added.public void removeInterest(Interest interest)
interest - The interest to be removed.public void saveOrupdateAnnotationStatus(AnnotationStatus status)
status - The annotation stauts to be saved or updated.public void removeAnnotationStatus(AnnotationStatus status)
status - The annotation status to be removed.public void removeAnnotationMetadataMapping(AnnotationMetadataMapping m)
The - annotation metadata mapping to be removed.public void saveOrUpdateAnnotationMetadataMapping(AnnotationMetadataMapping m)
m - The annotation metadata mapping to be saved or updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||