StandaloneZipExport
Extends:
Direct Subclass:
Static Method Summary
Static Public Methods | ||
public static |
getExportOptions(user: *, teams: *, project: *, exportQuota: *): {"type": *, "allowed": boolean, "possible": boolean, "fields": *} |
|
public static |
getName(): string |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
archive: * |
|
public |
finalAssetPath: string |
Method Summary
Public Methods | ||
public |
collectFiles(_projectId: *, callbackFilesCollected: *, callbackError: *, options: *, next: *) |
|
public |
createZip(project: *, files: *, callbackFinished: *) |
|
public |
doExport(projectId: *, cb: *) |
Private Methods | ||
private |
_doAfterCombine(jsCode: *, options: *): * |
|
private |
_doAfterExport(originalProject: *): * |
|
private |
_getFilesForProjects(theProjects: *, options: *, cb: *) |
|
private |
_getNameForZipEntry(fn: *, allFiles: *): * |
|
private |
_getPortValueReplacement(filePathAndName: *, fn: *, lzipFileName: *): * |
|
private |
_resolveFileName(filePathAndName: *, pathStr: *, project: *): * |
Static Public Methods
public static getExportOptions(user: *, teams: *, project: *, exportQuota: *): {"type": *, "allowed": boolean, "possible": boolean, "fields": *} source
Params:
Name | Type | Attribute | Description |
user | * | ||
teams | * | ||
project | * | ||
exportQuota | * |
Return:
{"type": *, "allowed": boolean, "possible": boolean, "fields": *} |
Public Constructors
public constructor() source
Public Methods
public collectFiles(_projectId: *, callbackFilesCollected: *, callbackError: *, options: *, next: *) source
Params:
Name | Type | Attribute | Description |
_projectId | * | ||
callbackFilesCollected | * | ||
callbackError | * | ||
options | * | ||
next | * |
public createZip(project: *, files: *, callbackFinished: *) source
Params:
Name | Type | Attribute | Description |
project | * | ||
files | * | ||
callbackFinished | * |
public doExport(projectId: *, cb: *) source
Params:
Name | Type | Attribute | Description |
projectId | * | ||
cb | * |
Private Methods
private _doAfterCombine(jsCode: *, options: *): * source
Params:
Name | Type | Attribute | Description |
jsCode | * | ||
options | * |
Return:
* |
private _doAfterExport(originalProject: *): * source
Params:
Name | Type | Attribute | Description |
originalProject | * |
Return:
* |
private _getFilesForProjects(theProjects: *, options: *, cb: *) source
Params:
Name | Type | Attribute | Description |
theProjects | * | ||
options | * | ||
cb | * |
private _getNameForZipEntry(fn: *, allFiles: *): * source
Params:
Name | Type | Attribute | Description |
fn | * | ||
allFiles | * |
Return:
* |
private _getPortValueReplacement(filePathAndName: *, fn: *, lzipFileName: *): * source
Params:
Name | Type | Attribute | Description |
filePathAndName | * | ||
fn | * | ||
lzipFileName | * |
Return:
* |
private _resolveFileName(filePathAndName: *, pathStr: *, project: *): * source
Params:
Name | Type | Attribute | Description |
filePathAndName | * | ||
pathStr | * | ||
project | * |
Return:
* |