public class Envelope extends GraphicElement implements Comparable, Cloneable
Modifier and Type | Field and Description |
---|---|
static Properties |
DEFAULT_PROPERTIES |
static String |
DESCRIPTOR_FILENAME |
dbid, description, id, JSPS_PREFIX, JSPS_SUFFIX, panelId, resources, sectionId, workspaceId
Constructor and Description |
---|
Envelope() |
Envelope(String id,
File zipFile) |
Modifier and Type | Method and Description |
---|---|
Object |
elementClone()
Clone this object.
|
protected String |
getBaseDir()
Subdirectory inside getMappingDir() where this element stores files.
|
String |
getCategoryName()
Get the category name representing this type of element
|
protected String |
getDescriptorFileName()
Name of the file that contains the descriptor (i.e. skin.properties...)
|
GraphicElementManager |
getInstanceManager()
Manager that handles this type of resource.
|
static GraphicElementManager |
getManager()
The manager that handles this type of resource.
|
protected String |
getMappingDir()
Directory where the elements of this type deployment files should be placed (starting in /www/htdocs/
also serves as starting point for urls.
|
protected String |
getPrefixForResourcePath(String path)
Determine a prefix String for resource with given path
|
static GraphicElementPreview |
getPreviewInstance(File f,
String workspaceId,
Long sectionId,
Long panelId,
String id)
Get an instance to a previewer for this item.
|
protected String |
getSuffixForResourcePath(String path)
Determine a prefix String for resource with given path
|
acceptVisit, checkDeployment, clearDeploymentFiles, clone, compareTo, deploy, deployFiles, equals, getDbid, getDeploymentDirName, getDescription, getId, getLastModified, getLocaleManager, getPanelId, getRelativeResourceName, getResource, getResourceName, getResources, getSectionId, getTmpZipFile, getWorkspaceId, getZipFile, onDelete, onLoad, onSave, onUpdate, setDbid, setDescription, setDescription, setId, setLastModified, setPanelId, setSectionId, setWorkspaceId, setZipFile, setZipFile, unzip
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public static final String DESCRIPTOR_FILENAME
public static final Properties DEFAULT_PROPERTIES
public String getCategoryName()
GraphicElement
getCategoryName
in class GraphicElement
protected String getDescriptorFileName()
getDescriptorFileName
in class GraphicElement
protected String getMappingDir()
getMappingDir
in class GraphicElement
protected String getBaseDir()
getBaseDir
in class GraphicElement
public GraphicElementManager getInstanceManager()
getInstanceManager
in class GraphicElement
public static GraphicElementManager getManager()
public static GraphicElementPreview getPreviewInstance(File f, String workspaceId, Long sectionId, Long panelId, String id)
protected String getPrefixForResourcePath(String path)
GraphicElement
getPrefixForResourcePath
in class GraphicElement
protected String getSuffixForResourcePath(String path)
GraphicElement
getSuffixForResourcePath
in class GraphicElement
public Object elementClone()
GraphicElement
elementClone
in class GraphicElement
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.