public class CPHostManager
extends java.lang.Object
Constructor and Description |
---|
CPHostManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
int |
checkHost(java.lang.String packages,
int cpid,
java.lang.String host) |
void |
deleteHost(int cpid) |
java.util.List<CPHost> |
getHostList(int contractServiceId) |
void |
updateHost(int cpid,
java.util.List<CPHost> hostList) |
public java.util.List<CPHost> getHostList(int contractServiceId)
public void deleteHost(int cpid)
public void updateHost(int cpid, java.util.List<CPHost> hostList)
public int checkHost(java.lang.String packages, int cpid, java.lang.String host)