public final class AVM extends BaseScopableProcessorExtension
| Constructor and Description |
|---|
AVM() |
| Modifier and Type | Method and Description |
|---|---|
String |
assetUrl(String avmPath) |
String |
assetUrl(String storeId,
String assetPath) |
List<AVMNode> |
getModifiedItems(String storeId,
String username,
String webapp)
Return the list of modified items for the specified user sandbox against staging store id
for a specific webapp.
|
org.mozilla.javascript.Scriptable |
getStores() |
static String |
getWebappsFolderPath() |
AVMNode |
lookupNode(String path)
Return an AVM Node for the fully qualified path.
|
AVMScriptStore |
lookupStore(String store)
Return an AVM store object for the specified store name
|
AVMNode |
lookupStoreRoot(String store)
Return an AVM Node representing the public store root folder.
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
static String |
stagingStore(String storeId) |
static String |
userSandboxStore(String storeId,
String username) |
String |
websiteStagingUrl(String storeId) |
String |
websiteUserSandboxUrl(String storeId,
String username) |
getScope, setScopegetExtensionName, register, setExtensionName, setProcessorpublic void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - the service registrypublic org.mozilla.javascript.Scriptable getStores()
public AVMScriptStore lookupStore(String store)
store - Store name to lookuppublic AVMNode lookupStoreRoot(String store)
store - Store name to lookup root folder forpublic AVMNode lookupNode(String path)
path - Fully qualified path to node to lookuppublic List<AVMNode> getModifiedItems(String storeId, String username, String webapp)
storeId - Root Store IDusername - Username to get modified items forwebapp - Webapp name to filter bypublic static String stagingStore(String storeId)
storeId - Store ID to build staging store name forpublic static String userSandboxStore(String storeId, String username)
storeId - Store ID to build sandbox store name forusername - Username of the sandbox userpublic String websiteStagingUrl(String storeId)
storeId - Store ID to build preview URL forpublic String websiteUserSandboxUrl(String storeId, String username)
storeId - Store ID to build preview URL forusername - Username to build sandbox preview URL forpublic String assetUrl(String storeId, String assetPath)
store - Store ID of the assetassetPath - Store relative path to the assetpublic String assetUrl(String avmPath)
avmPath - Fully qualified AVM path of the assetpublic static String getWebappsFolderPath()
Copyright © 2005–2014 Alfresco Software. All rights reserved.