org.seasar.tuigwaa.cms
インタフェース ContentsService

既知の実装クラスの一覧:
ContentsServiceImpl

public interface ContentsService

作成者:
nishioka

メソッドの概要
 void backup(String siteName, String backupDirectory)
           
 Page convert(String siteName, String pagePath, String contentType, Object srcContent, int target)
           
 Page convert(String siteName, String pagePath, String contentType, Object srcContent, int target, boolean newRequest)
           
 void copySite(String srcSiteName, String destSiteName)
           
 void createFolder(SiteConfig siteConfig, String folderPath)
           
 void createSite(SiteConfig siteConfig)
           
 void deleteSite(String siteName)
           
 Page getPage(String siteName, String pagePath, int contentType)
           
 PageComponent getPageComponent()
           
 void restore(String siteName, String backupDirectory)
           
 void savePage(String siteName, String path, String contentType, Properties props, String content, String editVersion, String sectionId)
           
 

メソッドの詳細

createSite

public void createSite(SiteConfig siteConfig)
                throws TgwSecurityException,
                       TgwResourceAlreadyExistsException
例外:
TgwSecurityException
TgwResourceAlreadyExistsException

deleteSite

public void deleteSite(String siteName)
                throws TgwException
例外:
TgwException

copySite

public void copySite(String srcSiteName,
                     String destSiteName)
              throws TgwException
例外:
TgwException

getPageComponent

public PageComponent getPageComponent()
                               throws TgwSecurityException,
                                      TgwResourceNotFoundException
例外:
TgwSecurityException
TgwResourceNotFoundException

savePage

public void savePage(String siteName,
                     String path,
                     String contentType,
                     Properties props,
                     String content,
                     String editVersion,
                     String sectionId)
              throws TgwPageConflictException,
                     TgwResourceAlreadyExistsException,
                     TgwSecurityException
例外:
TgwPageConflictException
TgwResourceAlreadyExistsException
TgwSecurityException

getPage

public Page getPage(String siteName,
                    String pagePath,
                    int contentType)
             throws TgwSecurityException
例外:
TgwSecurityException

convert

public Page convert(String siteName,
                    String pagePath,
                    String contentType,
                    Object srcContent,
                    int target)

convert

public Page convert(String siteName,
                    String pagePath,
                    String contentType,
                    Object srcContent,
                    int target,
                    boolean newRequest)

createFolder

public void createFolder(SiteConfig siteConfig,
                         String folderPath)
                  throws TgwSecurityException,
                         TgwResourceAlreadyExistsException
例外:
TgwSecurityException
TgwResourceAlreadyExistsException

backup

public void backup(String siteName,
                   String backupDirectory)
            throws TgwException
例外:
TgwException

restore

public void restore(String siteName,
                    String backupDirectory)
             throws TgwException
例外:
TgwException


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.