public class ProfileDAO extends Object
Modifier and Type | Method and Description |
---|---|
static long |
create(Profile up)
Create
|
static void |
delete(long upId)
Delete
|
static List<Profile> |
findAll(boolean filterByActive)
Find by pk
|
static Profile |
findByPk(long upId)
Find by pk
|
static Profile |
findByUser(String user)
Find by user
|
static void |
update(Profile up)
Update
|
public static long create(Profile up) throws DatabaseException
DatabaseException
public static void update(Profile up) throws DatabaseException
DatabaseException
public static void delete(long upId) throws DatabaseException
DatabaseException
public static Profile findByPk(long upId) throws DatabaseException
DatabaseException
public static List<Profile> findAll(boolean filterByActive) throws DatabaseException
DatabaseException
public static Profile findByUser(String user) throws DatabaseException
DatabaseException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.