public class RuleTypeManager
extends java.lang.Object
Constructor and Description |
---|
RuleTypeManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteType(int id) |
RuleType |
getType(int id) |
java.util.List<RuleType> |
getTypeList() |
java.util.List<RuleType> |
getTypeList(int gateTypeId) |
java.util.Map<java.lang.Integer,RuleType> |
getTypeMap() |
java.util.Map<java.lang.Integer,RuleType> |
getTypeMap(int gateTypeId) |
java.util.List<RuleType> |
updateGateRules(int gateTypeId,
java.util.List<RuleType> rules) |
void |
updateType(RuleType type) |
public java.util.List<RuleType> getTypeList()
public java.util.List<RuleType> getTypeList(int gateTypeId)
public java.util.List<RuleType> updateGateRules(int gateTypeId, java.util.List<RuleType> rules)
public java.util.Map<java.lang.Integer,RuleType> getTypeMap(int gateTypeId)
public java.util.Map<java.lang.Integer,RuleType> getTypeMap()
public RuleType getType(int id)
public void updateType(RuleType type)
public boolean deleteType(int id)