org.cip4.jdflib.goldenticket
Class ProductGoldenTicket

java.lang.Object
  extended by org.cip4.jdflib.goldenticket.BaseGoldenTicket
      extended by org.cip4.jdflib.goldenticket.MISGoldenTicket
          extended by org.cip4.jdflib.goldenticket.ProductGoldenTicket

public class ProductGoldenTicket
extends MISGoldenTicket

Author:
Rainer Prosi class that generates golden tickets based on ICS levels etc

Field Summary
 
Fields inherited from class org.cip4.jdflib.goldenticket.MISGoldenTicket
category, catMap, duration, grayBox, jmfICSLevel, misICSLevel, preStart, scheduleDuration, scheduleHours
 
Fields inherited from class org.cip4.jdflib.goldenticket.BaseGoldenTicket
amountLinks, baseICSLevel, bExpandGrayBox, bPartitionedPlateMedia, cols, colsActual, deviceURL, devID, getNIFromParent, good, icsLevel, m_pdfFile, misURL, nCols, paperMedia, paperProductID, partIDKeys, partsAtOnce, partsForAvailable, plateReduction, returnURL, theExpandedNode, theNode, theParentNode, theParentProduct, thePreviousNode, theStatusCounter, theVersion, vParts, waste, workStyle
 
Constructor Summary
ProductGoldenTicket(int _icsLevel, JDFElement.EnumVersion jdfVersion, int _jmfLevel, int _misLevel)
           
 
Method Summary
 void createAddressBook()
           
 void createDrupaFlower()
          product intent for the drupa flower job
 void createHarley()
           
 void createHDCity()
           
 void createMultiLabels()
           
 void createPostCards()
           
 void createWatches()
           
 void init()
          initializes this node to a given ICS version
protected  JDFBindingIntent initBindingIntent(JDFComponent cover, JDFComponent body, int numStitches)
           
protected  JDFColorIntent initColorIntent(JDFNode node, int front, int back, String coatings)
           
protected  JDFCustomerInfo initCustomerInfo(String firstame, String lastame, String companyName, String jobName)
           
protected  JDFDeliveryIntent initDeliveryIntent(int amount)
          initialize deliveryintent and also output component
protected  JDFFoldingIntent initFoldingIntent(JDFNode node, String foldCatalog)
           
protected  JDFLayoutIntent initLayoutIntent(JDFNode node, double xCM, double yCM, int pages, int sides)
           
protected  JDFMediaIntent initMediaIntent(JDFNode node, double gsm, JDFSpanCoatings.EnumSpanCoatings coating, String brand)
           
protected  JDFNodeInfo initNodeInfo()
           
protected  JDFComponent initOutputComponent(JDFNode node, JDFLayoutIntent li, String productType)
           
protected  void runphases(int pgood, int pwaste, boolean bOutAvail, boolean bFirst)
           
 
Methods inherited from class org.cip4.jdflib.goldenticket.MISGoldenTicket
addAmountLink, assign, execute, fillCatMaps, getCategory, getICSVersions, getTypes, initCustomerInfo, initDevice, isNodeInfoSubscription, setCategory, setGrayBox, setNodeInfoSubscription
 
Methods inherited from class org.cip4.jdflib.goldenticket.BaseGoldenTicket
addJDFNode, addKid, addSheet, createSheetMap, executeAll, finalize, getDeviceURL, getMisURL, getNCols, getNode, getNodeLinks, getReducedMap, getStatusCounter, initAuditPool, initColorantControl, initDocumentRunList, initJDF, initOutputComponent, initPaperMedia, initPlateMedia, initPlateXM, makeReady, makeReadyAll, runSinglePhase, schedule, setActivePart, setDeviceURL, setMisURL, setParent, setPreviousNode, setVersion, toString, write2File
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductGoldenTicket

public ProductGoldenTicket(int _icsLevel,
                           JDFElement.EnumVersion jdfVersion,
                           int _jmfLevel,
                           int _misLevel)
Parameters:
_icsLevel -
jdfVersion -
_jmfLevel -
_misLevel -
Method Detail

init

public void init()
initializes this node to a given ICS version

Overrides:
init in class MISGoldenTicket

initOutputComponent

protected JDFComponent initOutputComponent(JDFNode node,
                                           JDFLayoutIntent li,
                                           String productType)
Parameters:
node -
li -
productType -
Returns:

initDeliveryIntent

protected JDFDeliveryIntent initDeliveryIntent(int amount)
initialize deliveryintent and also output component

Parameters:
amount -
Returns:

initNodeInfo

protected JDFNodeInfo initNodeInfo()
Overrides:
initNodeInfo in class MISGoldenTicket
Returns:

initCustomerInfo

protected JDFCustomerInfo initCustomerInfo(String firstame,
                                           String lastame,
                                           String companyName,
                                           String jobName)
Parameters:
firstame -
lastame -
companyName -
jobName -
Returns:

initMediaIntent

protected JDFMediaIntent initMediaIntent(JDFNode node,
                                         double gsm,
                                         JDFSpanCoatings.EnumSpanCoatings coating,
                                         String brand)
Parameters:
node -
gsm -
coating -
brand - TODO
Returns:

initColorIntent

protected JDFColorIntent initColorIntent(JDFNode node,
                                         int front,
                                         int back,
                                         String coatings)
Parameters:
node -
front -
back -
coatings -
Returns:

initLayoutIntent

protected JDFLayoutIntent initLayoutIntent(JDFNode node,
                                           double xCM,
                                           double yCM,
                                           int pages,
                                           int sides)
Parameters:
node -
xCM -
yCM -
pages -
sides -
Returns:

initFoldingIntent

protected JDFFoldingIntent initFoldingIntent(JDFNode node,
                                             String foldCatalog)
Parameters:
node -
foldCatalog -
Returns:

createPostCards

public void createPostCards()

createMultiLabels

public void createMultiLabels()

createHarley

public void createHarley()

initBindingIntent

protected JDFBindingIntent initBindingIntent(JDFComponent cover,
                                             JDFComponent body,
                                             int numStitches)
Parameters:
cover -
body -
numStitches -
Returns:

createAddressBook

public void createAddressBook()

createHDCity

public void createHDCity()

createWatches

public void createWatches()

createDrupaFlower

public void createDrupaFlower()
                       throws Exception
product intent for the drupa flower job

Throws:
Exception

runphases

protected void runphases(int pgood,
                         int pwaste,
                         boolean bOutAvail,
                         boolean bFirst)
Overrides:
runphases in class BaseGoldenTicket


Copyright © 2013. All Rights Reserved.