org.seasar.tuigwaa.system
インタフェース SiteService

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

public interface SiteService

作成者:
nishioka

メソッドの概要
 void backup(String siteName, BackupDto backupDto)
           
 void copySite(String srcSiteName, String destSiteName)
           
 void createSite(SiteConfig siteConfig)
           
 void deleteBackup(String siteName, BackupDto backupDto)
           
 void deleteSite(String siteName)
           
 void downloadSite(String siteNamem, JarOutputStream jar, BackupDto backupDto)
           
 void editSite(SiteConfig siteConfig)
           
 List getBackupDates(String siteName)
           
 SiteConfig getSiteConfig(String siteName)
           
 List getSiteConfigList()
           
 boolean hasPermission(String siteName, javax.servlet.http.HttpServletRequest request, Action action)
           
 boolean hasPermission(String siteName, String role, Action action)
           
 void initSkins()
           
 void loadAllSites()
           
 void loadSite(String siteName)
           
 void restore(String siteName, BackupDto backupDto)
           
 void saveSiteConfig(String siteName)
           
 void setSecurity(String siteName, Action action, String roles)
           
 void updatePath(SiteConfig siteConfig, boolean isNeedCleanup)
           
 void uploadSite(String siteNamem, JarInputStream jar, BackupDto backupDto)
           
 

メソッドの詳細

loadAllSites

public void loadAllSites()

loadSite

public void loadSite(String siteName)

uploadSite

public void uploadSite(String siteNamem,
                       JarInputStream jar,
                       BackupDto backupDto)
                throws TgwServiceException
例外:
TgwServiceException

downloadSite

public void downloadSite(String siteNamem,
                         JarOutputStream jar,
                         BackupDto backupDto)
                  throws TgwServiceException
例外:
TgwServiceException

createSite

public void createSite(SiteConfig siteConfig)

deleteSite

public void deleteSite(String siteName)

editSite

public void editSite(SiteConfig siteConfig)

copySite

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

saveSiteConfig

public void saveSiteConfig(String siteName)

getSiteConfigList

public List getSiteConfigList()

getSiteConfig

public SiteConfig getSiteConfig(String siteName)

backup

public void backup(String siteName,
                   BackupDto backupDto)
            throws TgwServiceException
例外:
TgwServiceException

restore

public void restore(String siteName,
                    BackupDto backupDto)
             throws TgwServiceException
例外:
TgwServiceException

deleteBackup

public void deleteBackup(String siteName,
                         BackupDto backupDto)
                  throws TgwServiceException
例外:
TgwServiceException

getBackupDates

public List getBackupDates(String siteName)

setSecurity

public void setSecurity(String siteName,
                        Action action,
                        String roles)

hasPermission

public boolean hasPermission(String siteName,
                             String role,
                             Action action)

hasPermission

public boolean hasPermission(String siteName,
                             javax.servlet.http.HttpServletRequest request,
                             Action action)

initSkins

public void initSkins()

updatePath

public void updatePath(SiteConfig siteConfig,
                       boolean isNeedCleanup)
                throws TgwServiceException
例外:
TgwServiceException


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