com.evasion.ejb.local.StaticPageManagerLocal Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.ejb.local;
import com.evasion.entity.content.StaticPage;
import com.evasion.exception.PersistenceViolationException;
import java.util.List;
/**
*
* @author sebastien.glon
*/
public interface StaticPageManagerLocal {
StaticPage savePage(StaticPage page) throws PersistenceViolationException;
void deletePage(StaticPage page);
StaticPage createPage(StaticPage pageStatic, String userName) throws PersistenceViolationException;
List listAll();
StaticPage getStaticPage(Long id);
}