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, setContextdisptachAdapter, isAdaptercheckGuard, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, 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, setRootgetAdapterpublic 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(Throwable t)
handleError in interface ModuleResourcehandleError in class ModuleRootprotected 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
IOExceptionpublic javax.ws.rs.core.Response downloadDistrib(String distribId) throws IOException
IOExceptionpublic Object getForms()
public Object uploadDistrib() throws IOException
IOExceptionpublic Object uploadDistribTmp() throws IOException
IOExceptionpublic Object uploadDistribTmpValid()
public Object uploadDoc() throws IOException
IOExceptionpublic boolean isEmbeddedMode()
public boolean isEditor()
public boolean canAddDocumentation()
public static boolean showCurrentDistribution()
public static boolean showSeamComponent()
public static boolean isSiteMode()
Copyright © 2019 Nuxeo. All rights reserved.