|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.wcm.WCMCompareUtils
public class WCMCompareUtils
AVMCompare Utils
| Constructor Summary | |
|---|---|
WCMCompareUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List |
getAllVersionID(org.alfresco.wcm.sandbox.SandboxService sandboxService,
java.lang.String store)
Get the versions id in an AVMStore |
static java.util.List |
getComparedNodes(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService,
int srcVersion,
java.lang.String srcPath,
int dstVersion,
java.lang.String dstPath,
org.alfresco.util.NameMatcher excluder)
Get a difference map between two corresponding node trees. |
static int |
getPrevVersionID(org.alfresco.wcm.sandbox.SandboxService sandboxService,
java.lang.String name,
int version)
Get Previous Version Id |
static boolean |
isFirstVersion(java.util.List versions,
org.alfresco.wcm.sandbox.SandboxVersion item)
checks the version of the first is accessible for Store |
static boolean |
isLatestVersion(java.util.List versions,
org.alfresco.wcm.sandbox.SandboxVersion item)
checks the version of the last is accessible for Store |
static java.util.List |
receiveStoresList(org.alfresco.service.cmr.avm.AVMService avmService)
Receive Stores List |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WCMCompareUtils()
| Method Detail |
|---|
public static java.util.List getComparedNodes(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService,
int srcVersion,
java.lang.String srcPath,
int dstVersion,
java.lang.String dstPath,
org.alfresco.util.NameMatcher excluder)
avmSyncService - AVMSyncServicesrcVersion - The version id for the source tree.srcPath - The avm path to the source tree.dstVersion - The version id for the destination tree.dstPath - The avm path to the destination tree.excluder - A NameMatcher used to exclude files from consideration.
public static boolean isFirstVersion(java.util.List versions,
org.alfresco.wcm.sandbox.SandboxVersion item)
versions - versions of specified store.item - Version
public static boolean isLatestVersion(java.util.List versions,
org.alfresco.wcm.sandbox.SandboxVersion item)
versions - versions of specified store.item - Version
public static int getPrevVersionID(org.alfresco.wcm.sandbox.SandboxService sandboxService,
java.lang.String name,
int version)
sandboxService - SandboxServicename - The name of the AVMStoreversion - Current version Id
public static java.util.List receiveStoresList(org.alfresco.service.cmr.avm.AVMService avmService)
avmService - AVMService
public static java.util.List getAllVersionID(org.alfresco.wcm.sandbox.SandboxService sandboxService,
java.lang.String store)
sandboxService - SandboxServicestore - The name of the AVMStore
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||