edu.harvard.med.countway.dl.rest
Class UserResource

java.lang.Object
  extended by edu.harvard.med.countway.dl.rest.UserResource

public class UserResource
extends java.lang.Object


Constructor Summary
UserResource()
           
 
Method Summary
 javax.ws.rs.core.Response selectClassListByUserId(java.lang.Integer offset, java.lang.Integer userId, java.lang.Boolean active, java.lang.Boolean future, edu.harvard.med.countway.dl.model.SelectClassListByUserIdParams.Sort sort)
           
 javax.ws.rs.core.Response selectHarvardLdapAttribute(java.lang.Integer userId, java.lang.String key)
           
 javax.ws.rs.core.Response selectHarvardLdapAttributeList(java.lang.Integer userId)
           
 javax.ws.rs.core.Response selectResourceListByUserId(java.lang.Integer offset, java.lang.Integer userId, edu.harvard.med.countway.dl.model.SelectResourceListByUserIdParams.Sort sort)
           
 javax.ws.rs.core.Response selectTocFeedListByUserId(java.lang.Integer offset, java.lang.Integer userId)
           
 javax.ws.rs.core.Response selectUser(java.lang.Integer id)
           
 javax.ws.rs.core.Response selectUserList(java.lang.Integer offset, java.lang.String ecid, java.lang.String huid, edu.harvard.med.countway.dl.model.SelectUserListParams.Sort sort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserResource

public UserResource()
             throws javax.naming.NamingException
Throws:
javax.naming.NamingException
Method Detail

selectUserList

public javax.ws.rs.core.Response selectUserList(java.lang.Integer offset,
                                                java.lang.String ecid,
                                                java.lang.String huid,
                                                edu.harvard.med.countway.dl.model.SelectUserListParams.Sort sort)
                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

selectUser

public javax.ws.rs.core.Response selectUser(java.lang.Integer id)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

selectClassListByUserId

public javax.ws.rs.core.Response selectClassListByUserId(java.lang.Integer offset,
                                                         java.lang.Integer userId,
                                                         java.lang.Boolean active,
                                                         java.lang.Boolean future,
                                                         edu.harvard.med.countway.dl.model.SelectClassListByUserIdParams.Sort sort)
                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

selectResourceListByUserId

public javax.ws.rs.core.Response selectResourceListByUserId(java.lang.Integer offset,
                                                            java.lang.Integer userId,
                                                            edu.harvard.med.countway.dl.model.SelectResourceListByUserIdParams.Sort sort)
                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

selectTocFeedListByUserId

public javax.ws.rs.core.Response selectTocFeedListByUserId(java.lang.Integer offset,
                                                           java.lang.Integer userId)
                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

selectHarvardLdapAttributeList

public javax.ws.rs.core.Response selectHarvardLdapAttributeList(java.lang.Integer userId)
                                                         throws java.sql.SQLException,
                                                                javax.naming.NamingException
Throws:
java.sql.SQLException
javax.naming.NamingException

selectHarvardLdapAttribute

public javax.ws.rs.core.Response selectHarvardLdapAttribute(java.lang.Integer userId,
                                                            java.lang.String key)
                                                     throws java.sql.SQLException,
                                                            javax.naming.NamingException
Throws:
java.sql.SQLException
javax.naming.NamingException


Copyright © 2010. All Rights Reserved.