|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.common.ui.Publisher
Methods associated with the submission of data to be published
Supported API: false
Field Summary | |
static int |
EPM
|
static int |
EPM_PLUS_PARTS
|
protected boolean |
markedNotPublishable
|
static int |
NONE
|
static int |
PART
|
static int |
PART_AND_EPM
|
protected String |
publishLog
|
private static boolean |
SERVER
|
private static String |
SERVER_CLASS
|
protected String |
viewableLink
|
protected String |
viewableObjRef
|
Constructor Summary | |
Publisher()
|
Method Summary | |
boolean |
createVeto(String number,
String containerRef,
boolean thumbnailOnly,
boolean isPosAssy,
String desc)
Create an entry in Prohibition list Supported API: false |
void |
deleteVeto(String objref)
Delete an entry from Prohibition list Supported API: false |
private Object[] |
doClientPublish(boolean viewableLink,
boolean forceRepublish,
String docObjectReference,
ConfigSpec configSpec,
ConfigSpec partConfigSpec,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString,
int jobSource)
|
private Object[] |
doClientPublish(boolean viewableLink,
boolean forceRepublish,
String docObjectReference,
String configReference,
String partConfigReference,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString,
int jobSource)
|
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
ConfigSpec configSpec,
boolean defaultRep,
String repName,
String repDescription,
int structureType)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
ConfigSpec configSpec,
ConfigSpec partConfigSpec,
boolean defaultRep,
String repName,
String repDescription,
int structureType)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
ConfigSpec configSpec,
ConfigSpec partConfigSpec,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
ConfigSpec configSpec,
ConfigSpec partConfigSpec,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString,
int jobSource)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
String configReference,
boolean defaultRep,
String repName,
String repDescription,
int structureType)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
String configReference,
String partConfigReference,
boolean defaultRep,
String repName,
String repDescription,
int structureType)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
String configReference,
String partConfigReference,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString)
Attempts to publish a Representable generating a Representation Supported API: false |
boolean |
doPublish(boolean viewableLink,
boolean forceRepublish,
String objectReference,
String configReference,
String partConfigReference,
boolean defaultRep,
String repName,
String repDescription,
int structureType,
String actionString,
int jobSource)
Attempts to publish a Representable generating a Representation Supported API: false |
String |
getActionString(File actionFile)
get the action file as a string Supported API: false |
String[] |
getCADRepList(String objRef,
ConfigSpec cs,
Locale locale)
Gets the potential list of CAD "reps" that the user can choose to publish. |
static String |
getDocumentPublishableFileList(String objRef)
Gets HTLM OPTION fagments that lists a WTDocuemnts publishable files if the input object is not a WTDocuemnt, return null, if the WTDocument dooes not have an publishable file, returns "" Supported API: false |
String |
getPublishLog()
Returns the publishJob log as an String, only if the job was executed synchronously Supported API: false |
String |
getPublishRepCADTypes(Locale locale)
Gets HTLM OPTION fagments that lists the EPMAuthoringAppType's that can be used to load/convert CAD data in new representation wizard Supported API: false |
String |
getPublishRepGatewayURL()
Gets the Gateway URL to upload a new representation Supported API: false |
List[] |
getStatisticsList(String containerRef,
String filterType,
String fromDate,
String toDate,
Locale locale)
List information for publish statistics summary Supported API: false |
String |
getStatisticsSaveGatewayURL()
Gets the Gateway URL to save publish statistics as a csv file Supported API: false |
ArrayList |
getVetoList(String containerRef)
List entries in Prohibition list Supported API: false |
String[][] |
getVetoSearch(String name,
String number,
String containerRef)
Search for EPMDoc Masters with the name numbeer in the container Supported API: false |
String |
getViewableLink()
Returns an HTML fragment used to launch ProductView from the last data to be to be set to the doPublish, when viewableLink was true Supported API: false |
String |
getViewableObjRef()
Returns an object reference of the represetation generated from the last call to the doPublish, when viewableLink was true Supported API: false |
boolean |
isMarkedNotPublishable()
Returns the notPublishable string to indicate that the EPMDocument is marked as not publishable Supported API: false |
boolean |
republishRepresentation(String objectReference,
String repRef)
Attempts to republish an existing Representation of a Representatable Supported API: false |
boolean |
republishRepresentation(String objectReference,
String repRef,
int jobSource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String viewableLink
protected String viewableObjRef
protected String publishLog
protected boolean markedNotPublishable
private static final String SERVER_CLASS
private static final boolean SERVER
public static final int NONE
public static final int EPM
public static final int PART
public static final int EPM_PLUS_PARTS
public static final int PART_AND_EPM
Constructor Detail |
public Publisher()
Method Detail |
public String getViewableLink()
public String getViewableObjRef()
public String getPublishLog()
public boolean isMarkedNotPublishable()
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, String configReference, boolean defaultRep, String repName, String repDescription, int structureType)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigReference
- Reference of the EPM Config Spec, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performed
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, String configReference, String partConfigReference, boolean defaultRep, String repName, String repDescription, int structureType)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigReference
- Reference of the EPM Config Spec, if null, latest is used.partConfigReference
- Reference of the Part Config Spec, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performed
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, String configReference, String partConfigReference, boolean defaultRep, String repName, String repDescription, int structureType, String actionString)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigReference
- Reference of the EPM Config Spec, if null, latest is used.partConfigReference
- Reference of the Part Config Spec, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performedactionString
- string representation of the action XML file contents
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, String configReference, String partConfigReference, boolean defaultRep, String repName, String repDescription, int structureType, String actionString, int jobSource)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigReference
- Reference of the EPM Config Spec, if null, latest is used.partConfigReference
- Reference of the Part Config Spec, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performedactionString
- string representation of the action XML file contentsjobSource
- int of source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule
private Object[] doClientPublish(boolean viewableLink, boolean forceRepublish, String docObjectReference, String configReference, String partConfigReference, boolean defaultRep, String repName, String repDescription, int structureType, String actionString, int jobSource)
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, ConfigSpec configSpec, boolean defaultRep, String repName, String repDescription, int structureType)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigSpec
- The EPM Config Spec to be used during the product structure tree walk, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performed
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, ConfigSpec configSpec, ConfigSpec partConfigSpec, boolean defaultRep, String repName, String repDescription, int structureType)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigSpec
- The EPM Config Spec to be used during the product structure tree walk, if null, latest is used.partConfigSpec
- The Part Config Spec to be used during the product structure tree walk, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performed
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, ConfigSpec configSpec, ConfigSpec partConfigSpec, boolean defaultRep, String repName, String repDescription, int structureType, String actionString)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigSpec
- The EPM Config Spec to be used during the product structure tree walk, if null, latest is used.partConfigSpec
- The Part Config Spec to be used during the product structure tree walk, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performedactionString
- string representation of the action XML file contents
public boolean doPublish(boolean viewableLink, boolean forceRepublish, String objectReference, ConfigSpec configSpec, ConfigSpec partConfigSpec, boolean defaultRep, String repName, String repDescription, int structureType, String actionString, int jobSource)
viewableLink
- If true and the data has already been published, the viewable data will be passed back to allow access by getViewableLinkforceRepublish
- Overwrites an existing representation should one already existobjectReference
- Reference of the Representable to be publishedconfigSpec
- The EPM Config Spec to be used during the product structure tree walk, if null, latest is used.partConfigSpec
- The Part Config Spec to be used during the product structure tree walk, if null, latest is used.repName
- Name of The representation to be createdrepDescription
- Description of the representation to be createdstructureType
- The type of structure walk to be performedactionString
- string representation of the action XML file contentsjobSource
- int of source that submitted the job, 0=unknown, 1=manual, 2=checkin, 3=schedule
private Object[] doClientPublish(boolean viewableLink, boolean forceRepublish, String docObjectReference, ConfigSpec configSpec, ConfigSpec partConfigSpec, boolean defaultRep, String repName, String repDescription, int structureType, String actionString, int jobSource)
public boolean republishRepresentation(String objectReference, String repRef)
objectReference
- Reference of the Representable to be published
public boolean republishRepresentation(String objectReference, String repRef, int jobSource)
public String getActionString(File actionFile)
actionFile
- the action filepublic String getPublishRepGatewayURL()
public String getPublishRepCADTypes(Locale locale)
public String[] getCADRepList(String objRef, ConfigSpec cs, Locale locale)
public static String getDocumentPublishableFileList(String objRef)
public boolean createVeto(String number, String containerRef, boolean thumbnailOnly, boolean isPosAssy, String desc)
number
- EPMDoc number to addcontainerRef
- container EPMDoc is inthumbnailOnly
- only probibit thumbnails not publishingisPosAssy
- mark this EPMDoc as a positioning assemblydesc
- description of why this is probihited
public void deleteVeto(String objref)
objref
- the probibition objectpublic ArrayList getVetoList(String containerRef)
containerRef
- container who's objects should be included in the list
public String[][] getVetoSearch(String name, String number, String containerRef)
name
- EPMDoc Master NamecontainerRef
- container
public String getStatisticsSaveGatewayURL()
public List[] getStatisticsList(String containerRef, String filterType, String fromDate, String toDate, Locale locale) throws Exception
containerRef
- container who's publish summaries should be included
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |