PortalTemplateDao.java from riverock at Krugle
Show PortalTemplateDao.java syntax highlighted
/*
* org.riverock.interfaces - Common classes and interafces shared between projects
*
* Copyright (C) 2006, Riverock Software, All Rights Reserved.
*
* Riverock - The Open-source Java Development Community
* http://www.riverock.org
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.riverock.interfaces.portal.dao;
import java.util.List;
import org.riverock.interfaces.portal.bean.Template;
import org.riverock.interfaces.portal.spi.PortalTemplateSpi;
/**
* @deprecated use org.riverock.interfaces.portal.spi.PortalTemplateSpi
* @author Sergei Maslyukov
* Date: 17.05.2006
* Time: 13:55:30
*/
public interface PortalTemplateDao {
public Template getTemplate(Long templateId);
public Template getTemplate(String templateName, Long siteLanguageId);
public List<Template> getTemplateLanguageList( Long siteLanguageId );
public List<Template> getTemplateList( Long siteId );
public Long createTemplate(Template template);
public void updateTemplate(Template template);
public void deleteTemplate(Long templateId);
public void setDefaultDynamic(Long templateId);
public Template getDefaultDynamicTemplate(Long siteLanguageId);
public void setMaximizedTemplate(Long templateId);
public Template getMaximizedTemplate(Long siteLanguageId);
public void setPopupTemplate(Long templateId);
public Template getPopupTemplate(Long siteLanguageId);
}
See more files for this project here