|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.client.beans.Markup
Field Summary | |
private String |
ErrorPrefix
|
private StringBuffer |
result
|
private static boolean |
SERVER
|
private static String |
SERVER_CLASS
|
private static boolean |
VERBOSE
|
private static WVSProperties |
wvsProperties
|
Constructor Summary | |
Markup()
|
Method Summary | |
boolean |
copyMkFile(String fromFile,
String toFile)
|
boolean |
createAnnotationSet(String WCID,
String name,
String description,
String tag,
Locale locale)
Creates a new annotation set Supported API: false |
static byte[] |
decodeString(byte[] inBytes)
|
boolean |
deleteAllAnnotationSets(String objectReference,
Locale locale)
Deletes All annotation sets Supported API: false |
boolean |
deleteAnnotationSet(String objectReference,
Locale locale)
Deletes an annotation set Supported API: false |
boolean |
getAnnotationTable(String WCID,
String selectedID,
String annTemplate,
String emkTemplate,
String lockTemplate)
Returns the annotation set table (definition of the markups) for the specified representation Supported API: false |
boolean |
getAnnotationTableForClipboard(String WCIDS)
Returns the annotation set table (definition of the markups) for the objects on the clipboard Supported API: false |
String |
getMarkupTempDir()
|
String |
getMarkupUrl(String objectReference,
String fileType)
Returns the URL to the specific Markup Supported API: false |
String |
getResult()
|
String |
getResultNoErrorPrefix()
|
String |
getSaveURL(String info,
String WCID,
String userName,
String passWord,
String authorization,
String portNo)
|
String |
getSaveURL(String info,
String WCID,
String userName,
String passWord,
String authorization,
String portNo,
String file)
|
String |
getTempFileName(String directory,
String extension)
|
String |
getViewFile(String markupref)
|
String |
getViewStyle(String markupref)
|
boolean |
isVerbose()
|
boolean |
lockAnnotationSet(String objectReference,
Locale locale)
Locks an annotation set Supported API: false |
boolean |
processETB(String etbData)
Extracts the data from the ETB file and associates it to the markup as additional info Supported API: false |
private static int |
raiseToPower(int i,
int j)
|
boolean |
saveMarkupContent(String objectReference,
String name,
String description,
String fSpec,
String fileType,
Locale locale)
Saves the content of the markup Supported API: false |
boolean |
setAllowCopyForward(String objectReference,
boolean allowCopy,
Locale locale)
Set the allow copy forward flag on the Markup Supported API: false |
void |
setResult(String answer)
|
boolean |
unlockAnnotationSet(String objectReference,
Locale locale)
Unlocks an annotation set Supported API: false |
boolean |
writeToFile(String fSpec,
byte[] decodeData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String SERVER_CLASS
private static final boolean SERVER
private final String ErrorPrefix
private StringBuffer result
private static WVSProperties wvsProperties
private static boolean VERBOSE
Constructor Detail |
public Markup()
Method Detail |
public boolean isVerbose()
public String getResult()
public String getResultNoErrorPrefix()
public void setResult(String answer)
public boolean getAnnotationTable(String WCID, String selectedID, String annTemplate, String emkTemplate, String lockTemplate)
WCID
- The object reference of the RepresentationselectedID
- Indicate a specific Markup in the tableannTemplate
- The annotation templateemkTemplate
- The markup templatelockTemplate
- The lock template
public boolean getAnnotationTableForClipboard(String WCIDS)
WCIDS
- The object references on the clipboard
public String getMarkupUrl(String objectReference, String fileType)
objectReference
- The object reference of the MarkupfileType
- Either ast or gif
public boolean 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 boolean lockAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public boolean unlockAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public boolean setAllowCopyForward(String objectReference, boolean allowCopy, Locale locale)
objectReference
- The object reference of the MarkupallowCopy
- the new copy state to be set
public boolean deleteAnnotationSet(String objectReference, Locale locale)
objectReference
- The object reference of the Markup
public boolean deleteAllAnnotationSets(String objectReference, Locale locale)
objectReference
- The object reference
public boolean 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 markupfileType
- Either ast or gif
public boolean processETB(String etbData)
public String getViewStyle(String markupref)
public String getViewFile(String markupref)
public static byte[] decodeString(byte[] inBytes)
public boolean writeToFile(String fSpec, byte[] decodeData)
public String getTempFileName(String directory, String extension)
public boolean copyMkFile(String fromFile, String toFile)
public String getMarkupTempDir()
public String getSaveURL(String info, String WCID, String userName, String passWord, String authorization, String portNo)
public String getSaveURL(String info, String WCID, String userName, String passWord, String authorization, String portNo, String file)
private static int raiseToPower(int i, int j)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |