atg.adapter.gsa.xml
Class VersioningContextUtil

java.lang.Object
  extended by atg.adapter.gsa.xml.VersioningContextUtil

public class VersioningContextUtil
extends java.lang.Object

Author:
qma This class is a helper class. It uses to help access the package private class VersioningContext.

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
VersioningContextUtil()
           
 
Method Summary
static atg.adapter.gsa.xml.VersioningContext createVersioningContext(java.lang.String pWorkspaceName, java.lang.String pComment, boolean pCheckin)
           
static atg.adapter.gsa.xml.VersioningContext createVersioningContext(java.lang.String pProcessName, java.lang.String pWorkflowName, java.lang.String pUser, java.lang.String pComment, boolean pCheckin)
           
static atg.adapter.gsa.xml.VersioningContext versioningContextHelper(java.lang.String pWorkspaceId, java.lang.String pBranchId, java.lang.String pComment, boolean pDoCheckin)
           
static atg.adapter.gsa.xml.VersioningContext versioningContextHelper(java.lang.String pProjectName, java.lang.String pProjectType, java.lang.String pUser, java.lang.String pWorkspaceId, java.lang.String pBranchId, java.lang.String pComment, boolean pDoCheckin)
          If supply projectName argument, We will use projectName, projectType and user to create project and get its workspaceId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

VersioningContextUtil

public VersioningContextUtil()
Method Detail

versioningContextHelper

public static atg.adapter.gsa.xml.VersioningContext versioningContextHelper(java.lang.String pProjectName,
                                                                            java.lang.String pProjectType,
                                                                            java.lang.String pUser,
                                                                            java.lang.String pWorkspaceId,
                                                                            java.lang.String pBranchId,
                                                                            java.lang.String pComment,
                                                                            boolean pDoCheckin)
If supply projectName argument, We will use projectName, projectType and user to create project and get its workspaceId. If you set DoCheckin to true, you have to supply comment.


versioningContextHelper

public static atg.adapter.gsa.xml.VersioningContext versioningContextHelper(java.lang.String pWorkspaceId,
                                                                            java.lang.String pBranchId,
                                                                            java.lang.String pComment,
                                                                            boolean pDoCheckin)

createVersioningContext

public static atg.adapter.gsa.xml.VersioningContext createVersioningContext(java.lang.String pProcessName,
                                                                            java.lang.String pWorkflowName,
                                                                            java.lang.String pUser,
                                                                            java.lang.String pComment,
                                                                            boolean pCheckin)

createVersioningContext

public static atg.adapter.gsa.xml.VersioningContext createVersioningContext(java.lang.String pWorkspaceName,
                                                                            java.lang.String pComment,
                                                                            boolean pCheckin)


Copyright © 2009. All Rights Reserved.