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

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

public interface DesignService

作成者:
someda

フィールドの概要
static String ARCHIVE_SKIN_NAME
          design template(skin) name indicates the one within site archive
static String SYSTEM_SKIN_NAME
          design template(skin) name system provides
 
メソッドの概要
 void deleteSkin(String skinName, List configList)
          Delete skin under template store (that is, Web-DAV area)
 void downloadSkin(String skinName, ZipOutputStream zipOutput)
          Download skin as zip archive, this for Web-interface
 String[] getAllSkinNames()
          Returns all skinname available for system
 String[] getAvailableSkinNames(String siteName)
          Returns available skinname list for a given site
 DesignConfig getDesignConfig(String skinName)
           
 void init()
          initialization methos at startup
 void saveConfig(DesignConfig designConfig)
          Save design configuration
 void sync(SiteConfig siteConfig, boolean overwrite)
          Sync site-local skin files with repository skin files (Web-DAV or backup archive)
 void uploadSkin(String skinName, ZipInputStream zipInput)
          Uploads skin zip archive, this for Web-interface
 boolean validate(String skin)
          Validate skin directory
 

フィールドの詳細

ARCHIVE_SKIN_NAME

public static final String ARCHIVE_SKIN_NAME
design template(skin) name indicates the one within site archive

関連項目:
定数フィールド値

SYSTEM_SKIN_NAME

public static final String SYSTEM_SKIN_NAME
design template(skin) name system provides

関連項目:
定数フィールド値
メソッドの詳細

init

public void init()
initialization methos at startup


getAllSkinNames

public String[] getAllSkinNames()
Returns all skinname available for system


getAvailableSkinNames

public String[] getAvailableSkinNames(String siteName)
Returns available skinname list for a given site


uploadSkin

public void uploadSkin(String skinName,
                       ZipInputStream zipInput)
                throws TgwServiceException
Uploads skin zip archive, this for Web-interface

例外:
TgwServiceException

downloadSkin

public void downloadSkin(String skinName,
                         ZipOutputStream zipOutput)
                  throws TgwServiceException
Download skin as zip archive, this for Web-interface

例外:
TgwServiceException

deleteSkin

public void deleteSkin(String skinName,
                       List configList)
                throws TgwServiceException
Delete skin under template store (that is, Web-DAV area)

例外:
TgwServiceException

sync

public void sync(SiteConfig siteConfig,
                 boolean overwrite)
          throws TgwServiceException
Sync site-local skin files with repository skin files (Web-DAV or backup archive)

パラメータ:
overwrite - if set is true, overwrites site-local data with repository data, else at first it cleans up site-local directory and then copy repository skins there.
例外:
TgwServiceException

validate

public boolean validate(String skin)
Validate skin directory


saveConfig

public void saveConfig(DesignConfig designConfig)
                throws TgwServiceException
Save design configuration

例外:
TgwServiceException

getDesignConfig

public DesignConfig getDesignConfig(String skinName)


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