com.ptc.wvs.server.util
Class DocumentHelper

java.lang.Object
  extended bycom.ptc.wvs.server.util.DocumentHelper
All Implemented Interfaces:
RemoteAccess

public class DocumentHelper
extends Object
implements RemoteAccess

The server side methods to handle requestes from WVSInterface



Supported API: false

Extendable: false


Field Summary
static String DF_VIEWER_PROP
           
static String DF_WORKER_PROP
           
private static String DOC_PROP_GROUP
           
static String EXT_VIEWER_PROP
           
static String EXT_WORKER_PROP
           
private static boolean includeOneOff
           
private static boolean isPDMLinkInstalled
           
private static LatestConfigSpec latestConfigSpec
           
private static WTDocumentStandardConfigSpec pdmlinkLatestConfigSpec
           
private static boolean referencedReleasedOnly
           
private static boolean SHOW_PROP_PAGE_LINK
           
private static boolean SHOW_WT_DESCRIBING
           
private static boolean SHOW_WT_PROPS
           
private static boolean SHOW_WT_REFERENCED
           
private static boolean showPublishForDoc
           
private static boolean showRepForDoc
           
private static boolean VERBOSE
           
private static WVSProperties wvsProperties
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
DocumentHelper()
           
 
Method Summary
static Object[] addContentProperties(Hashtable p, DefaultMutableTreeNode n, Persistable doc, boolean forceEDZAsLink)
           
static void addDescribesDocuments(DefaultMutableTreeNode n, WTPart part)
           
static void addDocumentProperties(DefaultMutableTreeNode n, Persistable doc)
           
static void addDocumentProperties(Hashtable p, Persistable doc)
           
static void addReferenceOrDescribesDocument(DefaultMutableTreeNode n, Persistable persist)
           
static void addReferencesAndDescribesDocuments(DefaultMutableTreeNode n, WTPart part, ConfigSpec configSpec)
           
static void addReferencesDocuments(DefaultMutableTreeNode n, WTPart part, ConfigSpec configSpec)
           
static boolean doesDocumentHavePublishableFiles(ContentHolder ch)
           
static Object[] getDocumentStructure(String oid)
           
static Object getDocumentStructure(WTDocument doc)
           
static Object getDocumentStructure(WTDocument doc, boolean forceEDZAsLink)
           
static String getViewerForFileName(String fileName)
           
static String[] getWorkerForContentItem(ContentItem ci)
           
static String getWorkerForFileName(String fileName)
           
static boolean isShowPublishForDoc(WTDocument doc)
           
static boolean isShowRepForDoc(WTDocument doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DF_VIEWER_PROP

public static final String DF_VIEWER_PROP
See Also:
Constant Field Values

EXT_VIEWER_PROP

public static final String EXT_VIEWER_PROP
See Also:
Constant Field Values

DF_WORKER_PROP

public static final String DF_WORKER_PROP
See Also:
Constant Field Values

EXT_WORKER_PROP

public static final String EXT_WORKER_PROP
See Also:
Constant Field Values

wvsProperties

private static WVSProperties wvsProperties

DOC_PROP_GROUP

private static String DOC_PROP_GROUP

SHOW_WT_PROPS

private static boolean SHOW_WT_PROPS

SHOW_PROP_PAGE_LINK

private static boolean SHOW_PROP_PAGE_LINK

SHOW_WT_REFERENCED

private static boolean SHOW_WT_REFERENCED

SHOW_WT_DESCRIBING

private static boolean SHOW_WT_DESCRIBING

VERBOSE

private static boolean VERBOSE

showRepForDoc

private static boolean showRepForDoc

showPublishForDoc

private static boolean showPublishForDoc

isPDMLinkInstalled

private static boolean isPDMLinkInstalled

referencedReleasedOnly

private static boolean referencedReleasedOnly

includeOneOff

private static boolean includeOneOff

latestConfigSpec

private static LatestConfigSpec latestConfigSpec

pdmlinkLatestConfigSpec

private static WTDocumentStandardConfigSpec pdmlinkLatestConfigSpec
Constructor Detail

DocumentHelper

public DocumentHelper()
Method Detail

getDocumentStructure

public static Object getDocumentStructure(WTDocument doc)

getDocumentStructure

public static Object getDocumentStructure(WTDocument doc,
                                          boolean forceEDZAsLink)

getDocumentStructure

public static Object[] getDocumentStructure(String oid)

addContentProperties

public static Object[] addContentProperties(Hashtable p,
                                            DefaultMutableTreeNode n,
                                            Persistable doc,
                                            boolean forceEDZAsLink)

addDocumentProperties

public static void addDocumentProperties(DefaultMutableTreeNode n,
                                         Persistable doc)

addDocumentProperties

public static void addDocumentProperties(Hashtable p,
                                         Persistable doc)

addReferencesAndDescribesDocuments

public static void addReferencesAndDescribesDocuments(DefaultMutableTreeNode n,
                                                      WTPart part,
                                                      ConfigSpec configSpec)

addReferenceOrDescribesDocument

public static void addReferenceOrDescribesDocument(DefaultMutableTreeNode n,
                                                   Persistable persist)

addReferencesDocuments

public static void addReferencesDocuments(DefaultMutableTreeNode n,
                                          WTPart part,
                                          ConfigSpec configSpec)

addDescribesDocuments

public static void addDescribesDocuments(DefaultMutableTreeNode n,
                                         WTPart part)

getViewerForFileName

public static String getViewerForFileName(String fileName)

getWorkerForFileName

public static String getWorkerForFileName(String fileName)

getWorkerForContentItem

public static String[] getWorkerForContentItem(ContentItem ci)

doesDocumentHavePublishableFiles

public static boolean doesDocumentHavePublishableFiles(ContentHolder ch)

isShowRepForDoc

public static boolean isShowRepForDoc(WTDocument doc)

isShowPublishForDoc

public static boolean isShowPublishForDoc(WTDocument doc)