com.ptc.wvs.server.ui
Class PVConfigHelper
java.lang.Object
com.ptc.wvs.server.ui.PVConfigHelper
- All Implemented Interfaces:
- RemoteAccess
- public class PVConfigHelper
- extends Object
- implements RemoteAccess
Method Summary |
static void |
addFile(HTTPRequest request,
HTTPResponse response)
|
static void |
addFile(HTTPRequest request,
HTTPResponse response,
InputStream is)
|
private static String |
addOneFile(ContentHolder holder,
String fileName,
DataFormat df,
InputStream is)
|
static String |
create(String name,
String context,
String containerRef)
|
static Boolean |
delete(String oid,
String oid1)
|
private static WVSConfigurationTemplate |
findConfigInContainer(WTContainerRef ref,
boolean modify)
|
static String |
getAddFileURL()
|
private static Persistable |
getConfigForObject(String oid,
String curCont,
boolean fromClip)
|
static Vector |
getConfigList(String containerRef)
|
static String |
getConfigName(String oid)
|
private static String |
getConfigRefForObject(String oid,
String curCont,
boolean fromClip)
|
private static WTContainerRef |
getContainerRef(String oid)
|
static Vector |
getContentList(String oid)
|
static void |
getPVConfig(HTTPRequest request,
HTTPResponse response)
|
static String |
getPVConfigURL(String objectReference,
String ContainerOid,
boolean fromClip,
Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wvsProperties
private static WVSProperties wvsProperties
VERBOSE
private static boolean VERBOSE
modifyConfigType
private static String modifyConfigType
collectionBasedOnOrganization
private static boolean collectionBasedOnOrganization
collectionBasedOnFirstObject
private static boolean collectionBasedOnFirstObject
jspDirectory
private static String jspDirectory
configURL
private static String configURL
addFileURL
private static String addFileURL
CONFIG_INI
private static final String CONFIG_INI
- See Also:
- Constant Field Values
CLIP_PREFIX
private static final String CLIP_PREFIX
- See Also:
- Constant Field Values
COLLABORATION_PREFIX
private static final String COLLABORATION_PREFIX
- See Also:
- Constant Field Values
TXT
private static final String TXT
- See Also:
- Constant Field Values
INI
private static final String INI
- See Also:
- Constant Field Values
CONFIG
private static final String CONFIG
- See Also:
- Constant Field Values
DOT_INI
private static final String DOT_INI
- See Also:
- Constant Field Values
USCORE
private static final String USCORE
- See Also:
- Constant Field Values
NOTSET
private static final String NOTSET
- See Also:
- Constant Field Values
PVConfigHelper
public PVConfigHelper()
findConfigInContainer
private static WVSConfigurationTemplate findConfigInContainer(WTContainerRef ref,
boolean modify)
getConfigRefForObject
private static String getConfigRefForObject(String oid,
String curCont,
boolean fromClip)
throws Exception
- Throws:
Exception
getConfigForObject
private static Persistable getConfigForObject(String oid,
String curCont,
boolean fromClip)
throws Exception
- Throws:
Exception
getPVConfigURL
public static String getPVConfigURL(String objectReference,
String ContainerOid,
boolean fromClip,
Locale locale)
getPVConfig
public static void getPVConfig(HTTPRequest request,
HTTPResponse response)
throws WTException,
PropertyVetoException,
IOException
- Throws:
WTException
PropertyVetoException
IOException
getContainerRef
private static WTContainerRef getContainerRef(String oid)
throws WTException
- Throws:
WTException
getConfigList
public static Vector getConfigList(String containerRef)
getConfigName
public static String getConfigName(String oid)
create
public static String create(String name,
String context,
String containerRef)
delete
public static Boolean delete(String oid,
String oid1)
getContentList
public static Vector getContentList(String oid)
getAddFileURL
public static String getAddFileURL()
addFile
public static void addFile(HTTPRequest request,
HTTPResponse response,
InputStream is)
throws WTException,
PropertyVetoException,
IOException
- Throws:
WTException
PropertyVetoException
IOException
addOneFile
private static String addOneFile(ContentHolder holder,
String fileName,
DataFormat df,
InputStream is)
throws WTException,
PropertyVetoException,
IOException
- Throws:
WTException
PropertyVetoException
IOException
addFile
public static void addFile(HTTPRequest request,
HTTPResponse response)
throws WTException,
PropertyVetoException,
IOException
- Throws:
WTException
PropertyVetoException
IOException