|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.updates.UpdateService
public class UpdateService
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. *******************************************************************************
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any |
GETAPPPATH()
|
any |
GETMODULECONFIG()
|
any |
GETPATCHESLOCATION()
|
any |
GETWIREBOX()
|
any |
GETZIPUTIL()
|
void |
SETAPPPATH(any appPath)
|
void |
SETMODULECONFIG(any moduleConfig)
|
void |
SETPATCHESLOCATION(any patchesLocation)
|
void |
SETWIREBOX(any wirebox)
|
void |
SETZIPUTIL(any zipUtil)
|
UpdateService |
activateORMUpdate()
Activate ORM Update |
struct |
applyUpdateFromURL(string downloadURL)
|
struct |
applyUpdateFromUpload(any fileField)
|
private boolean |
applyUpdateOnDisk(any log)
|
IUpdate |
buildUpdater()
|
UpdateService |
deactivateORMUpdate()
Deactivate ORM Update |
boolean |
downloadPatch(string downloadURL, any log)
|
boolean |
extractPatch(string filename, any log)
|
any |
isNewVersion([any cVersion], [any nVersion])
Check for version updates cVersion |
void |
onDIComplete()
onDIComplete startup the layouting services |
any |
processRemovals(any path, any log)
Process patch update removals if any |
any |
processUpdates(any path, any log)
Process updated files |
struct |
uploadUpdate(any fileField)
Upload an update file to disk |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public any GETAPPPATH()
public any GETMODULECONFIG()
public any GETPATCHESLOCATION()
public any GETWIREBOX()
public any GETZIPUTIL()
public void SETAPPPATH(any appPath)
appPath
public void SETMODULECONFIG(any moduleConfig)
moduleConfig
public void SETPATCHESLOCATION(any patchesLocation)
patchesLocation
public void SETWIREBOX(any wirebox)
wirebox
public void SETZIPUTIL(any zipUtil)
zipUtil
public UpdateService activateORMUpdate()
public struct applyUpdateFromURL(string downloadURL)
downloadURL
public struct applyUpdateFromUpload(any fileField)
fileField
private boolean applyUpdateOnDisk(any log)
log
public IUpdate buildUpdater()
public UpdateService deactivateORMUpdate()
public boolean downloadPatch(string downloadURL, any log)
downloadURL
log
public boolean extractPatch(string filename, any log)
filename
log
public any isNewVersion([any cVersion], [any nVersion])
cVersion
nVersion
public void onDIComplete()
public any processRemovals(any path, any log)
path
log
public any processUpdates(any path, any log)
path
log
public struct uploadUpdate(any fileField)
fileField
|
ContentBox Core API 1.5.7 | ||||
FRAMES |