public class TwitterAccountDAO extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(TwitterAccount ta)
Create account
|
static void |
delete(long taId)
Delete
|
static List<TwitterAccount> |
findAll(boolean filterByActive)
Find all twitter accounts
|
static TwitterAccount |
findByPk(long taId)
Find by pk
|
static List<TwitterAccount> |
findByUser(String user,
boolean filterByActive)
Find by user
|
static void |
update(TwitterAccount ta)
Update
|
public static void create(TwitterAccount ta) throws DatabaseException
DatabaseException
public static void update(TwitterAccount ta) throws DatabaseException
DatabaseException
public static void delete(long taId) throws DatabaseException
DatabaseException
public static List<TwitterAccount> findByUser(String user, boolean filterByActive) throws DatabaseException
DatabaseException
public static List<TwitterAccount> findAll(boolean filterByActive) throws DatabaseException
DatabaseException
public static TwitterAccount findByPk(long taId) throws DatabaseException
DatabaseException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.