Package org.nuxeo.connect.client.we
Class InstallHandler
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.connect.client.we.InstallHandler
-
public class InstallHandler extends DefaultObject
Provides REST bindings forPackage
install management.- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
INSTALL_PARAM_MAPS
protected static Log
log
-
Constructor Summary
Constructors Constructor Description InstallHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearInstallParameters(String pkgId)
Object
doBulkInstall(String pkgId, String source, Boolean confirm)
Object
doInstall(String pkgId, String source)
protected Map<String,String>
getInstallParameters(String pkgId)
protected String
getStorageKey(String pkgId)
Object
processInstallForm(String pkgId, int formId, String source)
Object
showInstallForm(String pkgId, int formId, String source)
Object
showTermsAndConditions(String pkgId, String source, Boolean depCheck)
Object
startInstall(String pkgId, String source, Boolean acceptedTAC, Boolean depCheck, Boolean autoMode)
protected void
storeInstallParameters(String pkgId, Map<String,String> params)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
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
-
-
-
-
Field Detail
-
log
protected static final Log log
-
INSTALL_PARAM_MAPS
protected static final String INSTALL_PARAM_MAPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
storeInstallParameters
protected void storeInstallParameters(String pkgId, Map<String,String> params)
-
clearInstallParameters
protected void clearInstallParameters(String pkgId)
-
showTermsAndConditions
public Object showTermsAndConditions(String pkgId, String source, Boolean depCheck)
-
startInstall
public Object startInstall(String pkgId, String source, Boolean acceptedTAC, Boolean depCheck, Boolean autoMode)
-
-