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.Layout; 21 import com.blandware.atleap.persistence.exception.DeleteException; 22 import com.blandware.atleap.persistence.exception.UpdateException; 23 import com.blandware.atleap.service.exception.BeanAlreadyExistsException; 24 import com.blandware.atleap.service.exception.BeanNotFoundException; 25 26 36 public interface LayoutManager extends BaseManager { 37 39 46 public Long createLayout(Layout layout) throws BeanAlreadyExistsException; 47 48 54 public Layout retrieveLayout(Long layoutId); 55 56 63 public void updateLayout(Layout layout) throws BeanAlreadyExistsException, BeanNotFoundException, UpdateException; 64 65 66 73 public void deleteLayout(Long layoutId) throws DeleteException, BeanNotFoundException; 74 75 77 83 public PartialCollection listLayouts(QueryInfo queryInfo); 84 85 87 93 public Layout findLayoutByContentPageUri(String contentPageUri); 94 95 101 public Layout findLayoutByDefinition(String definitionName); 102 103 109 public Layout findLayoutByName(String name); 110 } 111 | Popular Tags |