1 16 package com.blandware.atleap.service.core; 17 18 import com.blandware.atleap.common.util.PartialCollection; 19 import com.blandware.atleap.common.util.QueryInfo; 20 import com.blandware.atleap.model.core.MenuItem; 21 import com.blandware.atleap.service.exception.BeanNotFoundException; 22 23 import java.util.List ; 24 25 35 public interface MenuManager extends BaseManager { 36 38 47 public Long createMenuItem(MenuItem menuItem, Long parentItemId, Long ownerId) throws BeanNotFoundException; 48 49 55 public MenuItem retrieveMenuItem(Long menuItemId); 56 57 66 public void updateMenuItem(MenuItem menuItem, Long parentItemId, Long ownerId) throws BeanNotFoundException; 67 68 69 74 public void deleteMenuItem(Long menuItemId) throws BeanNotFoundException; 75 76 78 84 public PartialCollection listMenuItems(QueryInfo queryInfo); 85 86 88 96 public MenuItem findMenuItemByIdentifierAndParentAndOwner(String identifier, Long parentItemId, Long ownerId); 97 98 106 public MenuItem findMenuItemByPositionAndParentAndOwner(Integer position, Long parentItemId, Long ownerId); 107 108 115 public List findMenuItemsByParentAndOwner(Long parentItemId, Long ownerId); 116 117 124 public MenuItem findRedefinitionItem(Long origItemId, Long ownerId); 125 126 } 127 | Popular Tags |