public class FileSystemDesignSource extends java.lang.Object implements WGADesignSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHIVED_DESIGN_EXTENSION |
static java.lang.String |
DESIGNNAMEPREFIX_ADDITIONALDIR |
static java.lang.String |
DESIGNNAMEPREFIX_ARCHIVE |
Constructor and Description |
---|
FileSystemDesignSource() |
Modifier and Type | Method and Description |
---|---|
void |
applyDesign(WGADesign design,
de.innovationgate.webgate.api.WGDatabase db,
java.util.Map<java.lang.String,java.lang.String> options) |
void |
createDesign(java.lang.String designName) |
FileSystemDesignProvider |
createDesignProvider(WGADesign design,
de.innovationgate.webgate.api.WGDatabase db,
java.util.Map<java.lang.String,java.lang.String> options) |
java.lang.String |
getDescription(java.util.Locale locale) |
WGADesign |
getDesign(java.lang.String name) |
java.lang.String |
getDesignLocation(WGADesign design) |
java.util.List<java.lang.String> |
getDesignNames() |
java.lang.Class |
getDesignProviderClass() |
org.apache.commons.vfs2.FileObject |
getDir() |
java.lang.String |
getName() |
java.lang.String |
getTitle(java.util.Locale locale) |
void |
init(WGACore core,
java.lang.String name,
de.innovationgate.wga.common.LocalizedInformation locInfo,
java.util.Map<java.lang.String,java.lang.String> options) |
boolean |
isDesignCreatable() |
public static final java.lang.String DESIGNNAMEPREFIX_ADDITIONALDIR
public static final java.lang.String DESIGNNAMEPREFIX_ARCHIVE
public static final java.lang.String ARCHIVED_DESIGN_EXTENSION
public java.util.List<java.lang.String> getDesignNames() throws WGADesignRetrievalException
getDesignNames
in interface WGADesignSource
WGADesignRetrievalException
public java.lang.String getName()
getName
in interface WGADesignSource
public void init(WGACore core, java.lang.String name, de.innovationgate.wga.common.LocalizedInformation locInfo, java.util.Map<java.lang.String,java.lang.String> options) throws WGADesignConfigurationException
init
in interface WGADesignSource
WGADesignConfigurationException
public void applyDesign(WGADesign design, de.innovationgate.webgate.api.WGDatabase db, java.util.Map<java.lang.String,java.lang.String> options) throws WGADesignConfigurationException
applyDesign
in interface WGADesignSource
WGADesignConfigurationException
public FileSystemDesignProvider createDesignProvider(WGADesign design, de.innovationgate.webgate.api.WGDatabase db, java.util.Map<java.lang.String,java.lang.String> options) throws WGADesignConfigurationException
createDesignProvider
in interface WGADesignSource
WGADesignConfigurationException
public java.lang.String getDesignLocation(WGADesign design) throws WGADesignConfigurationException, org.apache.commons.vfs2.FileSystemException
WGADesignConfigurationException
org.apache.commons.vfs2.FileSystemException
public java.lang.String getDescription(java.util.Locale locale)
getDescription
in interface WGADesignSource
public java.lang.String getTitle(java.util.Locale locale)
getTitle
in interface WGADesignSource
public void createDesign(java.lang.String designName) throws de.innovationgate.webgate.api.WGNotSupportedException, WGADesignCreationException
createDesign
in interface WGADesignSource
de.innovationgate.webgate.api.WGNotSupportedException
WGADesignCreationException
public boolean isDesignCreatable()
isDesignCreatable
in interface WGADesignSource
public java.lang.Class getDesignProviderClass()
getDesignProviderClass
in interface WGADesignSource
public org.apache.commons.vfs2.FileObject getDir()
public WGADesign getDesign(java.lang.String name) throws WGADesignRetrievalException
getDesign
in interface WGADesignSource
WGADesignRetrievalException