public class StapleGroupDAO extends Object
Modifier and Type | Method and Description |
---|---|
static long |
create(StapleGroup sg)
Create
|
static void |
delete(long sgId)
Delete
|
static void |
deleteStaple(long stId)
Delete
|
static List<StapleGroup> |
findAll(String nodeUuid)
Find all stapling groups
|
static StapleGroup |
findByPk(long sgId)
Find by pk
|
static void |
purgeStaplesByNode(String nodeUuid)
Delete by node uuid
|
static void |
update(StapleGroup sg)
Update
|
public static long create(StapleGroup sg) throws DatabaseException
DatabaseException
public static void delete(long sgId) throws DatabaseException
DatabaseException
public static void deleteStaple(long stId) throws DatabaseException
DatabaseException
public static List<StapleGroup> findAll(String nodeUuid) throws DatabaseException, RepositoryException
DatabaseException
RepositoryException
public static StapleGroup findByPk(long sgId) throws DatabaseException
DatabaseException
public static void update(StapleGroup sg) throws DatabaseException
DatabaseException
public static void purgeStaplesByNode(String nodeUuid) throws DatabaseException
DatabaseException
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.