|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.server.ui.MarkupHelper
Server side classes to handle the manipulation of Markups the logic in these methods is dicated by the behavior of ProductView
Supported API: false
Extendable: false
Field Summary | |
private static String |
AST
|
private static String |
DELIMITER
|
private static String |
EMK
|
private static String |
ErrorPrefix
|
private static String |
LOCKEDBYOTHER
|
private static String |
LOCKEDBYYOU
|
private static String |
MARKUP_TEMP_DIR
|
private static String |
NOTLOCKED
|
static String |
RESOURCE
|
private StringBuffer |
result
|
(package private) static boolean |
SERVER
|
private static boolean |
VERBOSE
|
private static WVSProperties |
wvsProperties
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
MarkupHelper()
|
Method Summary | |
private static String |
constructETBForBadMarkup(WTMarkUp markup,
String selectedID)
|
static Object[] |
createAnnotationSet(String WCID,
String name,
String description,
String tag,
Locale locale)
Creates a new annotation set Supported API: false |
private static Object[] |
createMarkup(Viewable obj,
String name,
String description,
String tag,
Locale locale)
Create a new markup Supported API: false |
static Object[] |
deleteAllAnnotationSets(String objectReference,
Locale locale)
Delete all annotation sets Supported API: false |
static Object[] |
deleteAnnotationSet(String objectReference,
Locale locale)
Deletes an annotation set Supported API: false |
static Object[] |
getAnnotationETB(String WCID,
String selectedID)
Returns the annotation set table (definition of the markups) for the specified representation Supported API: false |
static Object[] |
getAnnotationETBForClipboard(String oids)
|
static String |
getMarkupUrl(String objectReference,
String fileType)
Returns the URL to the specific Markup Supported API: false |
private String |
getResult()
|
static String |
getViewFile(String markupref)
Returns the viewFile of a markup Supported API: false |
static String |
getViewStyle(String markupref)
Returns the viewStyle of a markup Supported API: false |
static Object[] |
lockAnnotationSet(String objectReference,
Locale locale)
Locks an annotation set Supported API: false |
static Boolean |
processETB(String etbData)
Processes the ETB data from ProductView and associates it as additionalInfo on each Markup Supported API: false |
static Object[] |
saveMarkupContent(String objectReference,
String name,
String description,
byte[] data,
String fileType,
Locale locale)
Saves the content of the markup Supported API: false |
private static Object[] |
saveMarkupContent(String objectReference,
String name,
String description,
String fSpec,
String fileType,
Locale locale)
Saves the content of the markup Supported API: false |
static Object[] |
setAllowCopyForward(String objectReference,
boolean allowCopy,
Locale locale)
Set the allow copy forward flag on the Markup Supported API: false |
static Object[] |
unlockAnnotationSet(String objectReference,
Locale locale)
Unlocks an annotation set Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String ErrorPrefix
private StringBuffer result
private static final String NOTLOCKED
private static final String LOCKEDBYYOU
private static final String LOCKEDBYOTHER
private static final String DELIMITER
private static final String AST
private static final String EMK
private static WVSProperties wvsProperties
private static boolean VERBOSE
private static String MARKUP_TEMP_DIR
public static final String RESOURCE
Constructor Detail |
public MarkupHelper()
Method Detail |
private String getResult()
public static Object[] getAnnotationETB(String WCID, String selectedID)
WCID
- The object reference of the Representation
public static Object[] getAnnotationETBForClipboard(String oids)
private static String constructETBForBadMarkup(WTMarkUp markup, String selectedID)
public static String getMarkupUrl(String objectReference, String fileType)
objectReference
- The object reference of the MarkupfileType
- Either ast or gif
public static Object[] createAnnotationSet(String WCID, String name, String description, String tag, Locale locale)
WCID
- The object reference of the Representationname
- The name of the new markupdescription
- The description of the new markuptag
- Additional information
public static Object[] lockAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public static Object[] unlockAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public static Object[] setAllowCopyForward(String objectReference, boolean allowCopy, Locale locale)
objectReference
- The object reference of the MarkupallowCopy
- the new copy state to be set
public static Object[] deleteAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public static Object[] deleteAllAnnotationSets(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public static Boolean processETB(String etbData)
etbData
- ETB data from ProductView
public static Object[] saveMarkupContent(String objectReference, String name, String description, byte[] data, String fileType, Locale locale)
objectReference
- The object reference of the Markupname
- The name of the Markupdescription
- The description of the Markupdata
- The Markup contentfileType
- The file type
private static Object[] saveMarkupContent(String objectReference, String name, String description, String fSpec, String fileType, Locale locale)
objectReference
- The object reference of the Markupname
- The name of the Markupdescription
- The description of the MarkupfSpec
- The file containing the markup
private static Object[] createMarkup(Viewable obj, String name, String description, String tag, Locale locale)
obj
- The Markupname
- The name of the Markupdescription
- The description of the Markup
public static String getViewStyle(String markupref)
markupref
- The object reference of the markup
public static String getViewFile(String markupref)
markupref
- The object reference of the markup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |