public class AutomationDAO extends Object
public static AutomationDAO getInstance()
public void create(AutomationRule ar) throws DatabaseException
DatabaseExceptionpublic void update(AutomationRule ar) throws DatabaseException
DatabaseExceptionpublic void updateAction(AutomationAction aa) throws DatabaseException
DatabaseExceptionpublic void updateValidation(AutomationValidation av) throws DatabaseException
DatabaseExceptionpublic void delete(long raId)
throws DatabaseException
DatabaseExceptionpublic void deleteAction(long aaId)
throws DatabaseException
DatabaseExceptionpublic void deleteValidation(long avId)
throws DatabaseException
DatabaseExceptionpublic void createAction(AutomationAction aa) throws DatabaseException
DatabaseExceptionpublic void createValidation(AutomationValidation av) throws DatabaseException
DatabaseExceptionpublic List<AutomationRule> findAll() throws DatabaseException
DatabaseExceptionpublic List<AutomationRule> findByEvent(String event, String at) throws DatabaseException
DatabaseExceptionpublic List<AutomationMetadata> findMetadataValidationsByAt(String at) throws DatabaseException
DatabaseExceptionpublic List<AutomationMetadata> findMetadataActionsByAt(String at) throws DatabaseException
DatabaseExceptionpublic AutomationRule findByPk(long arId) throws DatabaseException
DatabaseExceptionpublic AutomationMetadata findMetadataByPk(long amId) throws DatabaseException
DatabaseExceptionpublic AutomationValidation findValidationByPk(long avId) throws DatabaseException
DatabaseExceptionpublic AutomationAction findActionByPk(long aaId) throws DatabaseException
DatabaseExceptionCopyright © 2018 Open Knowledge Management System S.L.. All rights reserved.