public class Distribution extends ModuleRoot
Modifier and Type | Field and Description |
---|---|
static String |
DIST_ID |
protected static org.apache.commons.logging.Log |
log |
protected static Pattern |
VERSION_REGEX |
request, sic
Constructor and Description |
---|
Distribution() |
getLink, getSkinResource, setContext
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
getAdapter
public static final String DIST_ID
protected static final org.apache.commons.logging.Log log
protected static final Pattern VERSION_REGEX
public Distribution()
public Object handleError(javax.ws.rs.WebApplicationException e)
handleError
in interface ModuleResource
handleError
in class ModuleRoot
protected SnapshotManager getSnapshotManager()
public String getNavigationPoint()
public Resource viewDistribution(String distributionId)
public List<DistributionSnapshotDesc> getAvailableDistributions()
public String getRuntimeDistributionName()
public DistributionSnapshot getRuntimeDistribution()
public List<DistributionSnapshot> listPersistedDistributions()
public Map<String,DistributionSnapshot> getPersistedDistributions()
public DistributionSnapshot getCurrentDistribution()
public Object doSave() throws NamingException, NotSupportedException, SystemException, RollbackException, HeuristicMixedException, HeuristicRollbackException, ParseException
protected Map<String,Serializable> readFormData(FormData formData)
public Object doSaveExtended() throws NamingException, NotSupportedException, SystemException, SecurityException, RollbackException, HeuristicMixedException, HeuristicRollbackException
public String getDocumentationInfo()
protected File getExportTmpFile()
public javax.ws.rs.core.Response downloadDoc() throws IOException
IOException
public javax.ws.rs.core.Response downloadDistrib(String distribId) throws IOException
IOException
public Object getForms()
public Object uploadDistrib() throws IOException
IOException
public Object uploadDistribTmp() throws IOException
IOException
public Object uploadDistribTmpValid()
public Object uploadDoc() throws IOException
IOException
public boolean isEmbeddedMode()
public boolean isEditor()
public boolean canAddDocumentation()
public static boolean showCurrentDistribution()
public static boolean showSeamComponent()
public static boolean isSiteMode()
Copyright © 2017 Nuxeo. All rights reserved.