public class ServiceLinkManager
extends java.lang.Object
Constructor and Description |
---|
ServiceLinkManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
copyLinks(int fromId,
int toId) |
void |
deleteServiceLink(int id) |
ServiceLink |
getServiceLink(int id) |
java.util.List<ServiceLink> |
getServiceLinkList() |
java.util.List<ServiceLink> |
getServiceLinkList(java.util.Calendar date,
int sourceId) |
java.util.List<ServiceLink> |
getServiceLinkList(int plan,
int sid,
java.util.Calendar date) |
void |
updatePlanLinks(int planId,
java.util.List<ServiceLink> serviceLinkList) |
void |
updateServiceLink(ServiceLink sl) |
public java.util.List<ServiceLink> getServiceLinkList()
public java.util.List<ServiceLink> getServiceLinkList(int plan, int sid, java.util.Calendar date)
public java.util.List<ServiceLink> getServiceLinkList(java.util.Calendar date, int sourceId)
public ServiceLink getServiceLink(int id)
public void updateServiceLink(ServiceLink sl)
public void deleteServiceLink(int id)
public void updatePlanLinks(int planId, java.util.List<ServiceLink> serviceLinkList)
public void copyLinks(int fromId, int toId)