public class TriggerProcessorImpl extends Object implements TriggerProcessor
Constructor and Description |
---|
TriggerProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addTriggers(Triggers triggers) |
boolean |
checkTriggerExist(String language,
Trigger trigger,
Connection connection) |
List<String> |
getCreateSql(String language) |
String |
getCreateSql(String triggerName,
String language) |
List<String> |
getDropSql(String language) |
String |
getDropSql(String triggerName,
String language) |
ProcessorManager |
getProcessorManager() |
Trigger |
getTrigger(String triggerName) |
static TriggerProcessor |
getTriggerProcessor() |
List<Trigger> |
getTriggers(String language) |
void |
removeTriggers(Triggers triggers) |
void |
setProcessorManager(ProcessorManager processorManager) |
public static TriggerProcessor getTriggerProcessor()
public ProcessorManager getProcessorManager()
getProcessorManager
in interface TriggerProcessor
public void setProcessorManager(ProcessorManager processorManager)
setProcessorManager
in interface TriggerProcessor
public void addTriggers(Triggers triggers)
addTriggers
in interface TriggerProcessor
public void removeTriggers(Triggers triggers)
removeTriggers
in interface TriggerProcessor
public Trigger getTrigger(String triggerName)
getTrigger
in interface TriggerProcessor
public String getCreateSql(String triggerName, String language)
getCreateSql
in interface TriggerProcessor
public String getDropSql(String triggerName, String language)
getDropSql
in interface TriggerProcessor
public List<String> getCreateSql(String language)
getCreateSql
in interface TriggerProcessor
public List<String> getDropSql(String language)
getDropSql
in interface TriggerProcessor
public List<Trigger> getTriggers(String language)
getTriggers
in interface TriggerProcessor
public boolean checkTriggerExist(String language, Trigger trigger, Connection connection) throws SQLException
checkTriggerExist
in interface TriggerProcessor
SQLException
Copyright © 2006–2018 TinyGroup. All rights reserved.