?? parentservice.java
字號:
package com.ibm.service;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;
import com.ibm.dao.ParentDAO;
public class ParentService {
private static ParentService pservice=null;
private ParentService()
{
}
public static ParentService getInstance()
{
if(pservice==null)
{
pservice=new ParentService();
return pservice;
}else
{
return pservice;
}
}
/**
* 取出所有的主版塊列表
* @param con
* @return
*/
public List queryAllParent(Connection con)
{
return ParentDAO.getInstance().queryAllParent(con);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -