1 7 8 29 package com.geinuke.middle; 30 31 import java.util.ArrayList ; 32 33 import com.geinuke.bizlogic.BLException; 34 import com.geinuke.common.UserI; 35 import com.geinuke.vo.BlockDBVO; 36 37 38 public interface IBlockBL { 39 public ArrayList getBlocksForUser(UserI user) throws BLException; 40 41 public BlockDBVO getBlock(int id) throws BLException; 42 43 public BlockDBVO getBlockByName(String name) throws BLException; 44 45 public void updateDBBlock(BlockDBVO blo) throws BLException; 46 47 public void updateSingleBlock(int id, String action) throws BLException; 48 49 public ArrayList getAllBlocks() throws BLException; 50 51 public void insertDBStoredBlock(BlockDBVO blo)throws BLException; 52 53 public ArrayList getAllStoredBlocks() throws BLException; 54 55 public void delDBBlock(int id) throws BLException; 56 } | Popular Tags |