public class Distribution extends ModuleRoot
Modifier and Type | Field and Description |
---|---|
static String |
DIST_ID |
protected static org.apache.commons.logging.Log |
log |
httpHeaders, request, uriInfo
Constructor and Description |
---|
Distribution() |
Modifier and Type | Method and Description |
---|---|
Object |
doGet() |
Object |
doSave() |
Object |
doSaveExtended() |
javax.ws.rs.core.Response |
downloadDistrib(String distribId) |
javax.ws.rs.core.Response |
downloadDoc() |
List<DistributionSnapshotDesc> |
getAvailableDistributions() |
DistributionSnapshot |
getCurrentDistribution() |
String |
getDocumentationInfo() |
protected File |
getExportTmpFile() |
Resource |
getLatest() |
String |
getNavigationPoint() |
Map<String,DistributionSnapshot> |
getPersistedDistributions() |
DistributionSnapshot |
getRuntimeDistribution() |
String |
getRuntimeDistributionName() |
protected SnapshotManager |
getSnapshotManager() |
Object |
handleError(javax.ws.rs.WebApplicationException e) |
boolean |
isEditor() |
boolean |
isEmbeddedMode() |
List<DistributionSnapshot> |
listPersistedDistributions() |
Object |
uploadDistrib() |
Object |
uploadDistribTmp() |
Object |
uploadDistribTmpValid() |
Object |
uploadDoc() |
Resource |
viewDistribution(String distributionId) |
getLink, getSkinResource, setHttpHeaders, setHttpRequest, setUriInfo
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
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, OperationException, RollbackException, HeuristicMixedException, HeuristicRollbackException
public Object doSaveExtended() throws NamingException, NotSupportedException, SystemException, OperationException, 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 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()
Copyright © 2015 Nuxeo SA. All rights reserved.