public class UserConfigDAO extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(UserConfig uc)
Create
|
static void |
delete(String user)
Delete
|
static UserConfig |
findByPk(javax.jcr.Session jcrSession,
String user)
Find by pk
|
static UserConfig |
findByPk(String user)
Find by pk
|
static void |
setHome(UserConfig uc)
Set user home
|
static void |
update(UserConfig uc)
Update
|
static void |
updateProfile(String ucUser,
int upId)
Update user config profile
|
public static void create(UserConfig uc) throws DatabaseException
DatabaseException
public static void update(UserConfig uc) throws DatabaseException
DatabaseException
public static void updateProfile(String ucUser, int upId) throws DatabaseException
DatabaseException
public static void delete(String user) throws DatabaseException
DatabaseException
public static void setHome(UserConfig uc) throws DatabaseException
DatabaseException
public static UserConfig findByPk(javax.jcr.Session jcrSession, String user) throws DatabaseException, javax.jcr.RepositoryException
DatabaseException
javax.jcr.RepositoryException
public static UserConfig findByPk(String user) throws PathNotFoundException, DatabaseException
Copyright © 2016. All rights reserved.