public class OmrDAO extends Object
Modifier and Type | Method and Description |
---|---|
long |
create(Omr om)
Create
|
void |
delete(long omId)
Delete
|
List<Omr> |
findAll()
Find by pk
|
List<Omr> |
findAllActive()
Find all active
|
Omr |
findByPk(long omId)
Find by pk
|
static OmrDAO |
getInstance() |
List<String> |
getProperties(long omId)
getProperties
|
void |
update(Omr om)
Update
|
void |
updateTemplate(Omr om)
Update template
|
public static OmrDAO getInstance()
public long create(Omr om) throws DatabaseException
DatabaseException
public void updateTemplate(Omr om) throws DatabaseException
DatabaseException
public void update(Omr om) throws DatabaseException
DatabaseException
public void delete(long omId) throws DatabaseException
DatabaseException
public Omr findByPk(long omId) throws DatabaseException
DatabaseException
public List<Omr> findAll() throws DatabaseException
DatabaseException
public List<Omr> findAllActive() throws DatabaseException
DatabaseException
public List<String> getProperties(long omId) throws DatabaseException
DatabaseException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.