|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.server.ui.RepHelper
The server side methods to handle requests from Representer
Supported API: false
Extendable: false
Field Summary | |
static String |
RESOURCE
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
RepHelper()
|
Method Summary | |
private static void |
addMarkupsToZip(Viewable viewable,
QueryResult qr,
ZipOutputStream zos,
String etbFileName,
String charset,
boolean includeMkDesc)
|
static void |
copyMarkups(Vector markupList,
String objectReference,
boolean setOwnerAndLock)
copies Markups to Viewable Supported API: false |
static void |
copyRepresentations(Vector repList,
String objectReference,
boolean includeMarkups,
boolean setOwnerAndLock,
boolean renameDups)
copies Representations to Representable Supported API: false |
static Boolean |
deleteRepresentation(String repReference)
deletes a representatioin Supported API: false |
static Boolean |
doesRepNameExist(String objectReference,
String repName)
|
static void |
doSaveZIP(HTTPRequest request,
HTTPResponse response)
Process the saving of a representation to a zip/edz file Supported API: false |
static String[] |
getDescribedByEPMDocuments(String objectReference)
get a list of DescribedBy EPMDocuments object ids Supported API: false |
static String[] |
getMarkups(String objectReference)
get a list of all markups object ids Supported API: false |
static Vector |
getOutOfDateList(String oid,
Locale locale)
get a list of objects that have made this representation out of date Supported API: false |
static Object[] |
getRepresentationHeading(String objectReference,
boolean full,
Locale locale)
|
static String[] |
getRepresentations(String objectReference,
boolean includeViewable)
get a list of all representations object ids Supported API: false |
static String |
getSaveZIPGatewayURL()
Gets the Gateway URL to save a representation as a zip/edz Supported API: false |
static Boolean[] |
isCreateNew(String objectReference)
Determines is Representation can be generated for this object Supported API: false |
static Boolean |
isPartPublishable(String objectReference)
Determines if the (associated) part is publishable from the UI Supported API: false |
static Boolean |
loadMarkups(String inDir,
String poid,
Vector options)
create a set of Markups from input directory data Supported API: false |
static Boolean |
loadRepresentation(String inDir,
String poid,
boolean republishable,
String repName,
String repDesc,
boolean repDefault,
boolean createThumbnail,
boolean storeEDZ)
create a Representation from input directory data, using fixed common options Supported API: false |
static Boolean |
loadRepresentation(String inDir,
String poid,
boolean republishable,
String repName,
String repDesc,
boolean repDefault,
boolean createThumbnail,
boolean storeEDZ,
Vector options)
|
static Boolean |
loadRepresentation(String inDir,
String poid,
boolean republishable,
Vector options)
create a Representation from input directory data, using a Vector of options Supported API: false |
static Boolean |
makeDefaultRepresentation(String objectReference,
String repReference)
|
static void |
saveAsZIP(Representation rep,
boolean outputJar,
boolean includeAnnotations,
OutputStream os)
general method a save a representation to an OutputStream Supported API: false |
static void |
saveAsZIP(Representation rep,
boolean outputJar,
boolean includeAnnotations,
OutputStream os,
boolean deleteIgnoreOnMerge,
boolean includeMkDesc)
|
static Boolean |
saveAsZIPFile(String oid,
boolean outputJar,
boolean includeAnnotations,
String fileName)
Save a representation to a zip/jar file name Supported API: false |
static void |
saveMarkupsAsZIP(Viewable viewable,
QueryResult qr,
boolean outputJar,
OutputStream os,
String charset,
boolean includeMkDesc)
|
static Boolean |
saveMarkupsAsZIPFile(String oid,
boolean outputJar,
String fileName,
String charset)
Save markups of a Viewable to a zip/jar file name Supported API: false |
static String |
updateLocation(String type,
String oid1,
String oid2,
String location,
boolean updateThumb)
Process updating of location in representation and on WTPart structures Supported API: false |
static void |
updateThumbnail(String oid)
Process updating of thumbnail image Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String RESOURCE
Constructor Detail |
public RepHelper()
Method Detail |
public static Boolean deleteRepresentation(String repReference)
repReference
- The represenation to delete
public static Boolean doesRepNameExist(String objectReference, String repName)
public static Boolean makeDefaultRepresentation(String objectReference, String repReference)
public static Object[] getRepresentationHeading(String objectReference, boolean full, Locale locale)
public static Boolean isPartPublishable(String objectReference)
public static Boolean[] isCreateNew(String objectReference)
public static void copyRepresentations(Vector repList, String objectReference, boolean includeMarkups, boolean setOwnerAndLock, boolean renameDups)
repList
- Vector of oject reference string of representations to be copiedincludeMarkups
- true if markups should be copied as wellsetOwnerAndLock
- true if markups owner and lock state should be copiedrenameDups
- true if duplicate names should be renamedpublic static void copyMarkups(Vector markupList, String objectReference, boolean setOwnerAndLock)
markupList
- Vector of oject reference string of markups to be copiedsetOwnerAndLock
- true if markups owner and lock state should be copiedpublic static String[] getDescribedByEPMDocuments(String objectReference)
public static String[] getRepresentations(String objectReference, boolean includeViewable)
public static String[] getMarkups(String objectReference)
public static String getSaveZIPGatewayURL()
public static void doSaveZIP(HTTPRequest request, HTTPResponse response) throws WTException, PropertyVetoException, IOException
WTException
PropertyVetoException
IOException
public static void saveAsZIP(Representation rep, boolean outputJar, boolean includeAnnotations, OutputStream os) throws WTException, PropertyVetoException, IOException
WTException
PropertyVetoException
IOException
public static void saveAsZIP(Representation rep, boolean outputJar, boolean includeAnnotations, OutputStream os, boolean deleteIgnoreOnMerge, boolean includeMkDesc) throws WTException, PropertyVetoException, IOException
WTException
PropertyVetoException
IOException
public static void saveMarkupsAsZIP(Viewable viewable, QueryResult qr, boolean outputJar, OutputStream os, String charset, boolean includeMkDesc) throws WTException, PropertyVetoException, IOException
WTException
PropertyVetoException
IOException
private static void addMarkupsToZip(Viewable viewable, QueryResult qr, ZipOutputStream zos, String etbFileName, String charset, boolean includeMkDesc) throws WTException, PropertyVetoException, IOException
WTException
PropertyVetoException
IOException
public static Boolean saveAsZIPFile(String oid, boolean outputJar, boolean includeAnnotations, String fileName)
public static Boolean saveMarkupsAsZIPFile(String oid, boolean outputJar, String fileName, String charset)
public static String updateLocation(String type, String oid1, String oid2, String location, boolean updateThumb)
public static void updateThumbnail(String oid)
public static Boolean loadRepresentation(String inDir, String poid, boolean republishable, String repName, String repDesc, boolean repDefault, boolean createThumbnail, boolean storeEDZ)
public static Boolean loadRepresentation(String inDir, String poid, boolean republishable, String repName, String repDesc, boolean repDefault, boolean createThumbnail, boolean storeEDZ, Vector options)
public static Boolean loadRepresentation(String inDir, String poid, boolean republishable, Vector options)
public static Boolean loadMarkups(String inDir, String poid, Vector options)
public static Vector getOutOfDateList(String oid, Locale locale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |