|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taleo.integration.client.step.BaseStep
com.taleo.integration.client.step.BaseCustomStep
com.taleo.integration.client.customstep.BaseCustomStep
com.taleo.integration.client.customstep.count.ConvertToCountPreStep
public class ConvertToCountPreStep
Pre-processing step to convert any query to a count query with the result in CSV format.
This step takes all parameters from its base class
BaseCustomStep
and the
following additional parameter:
false
.<quer:projection tag="exclude-from-count"> <quer:field path="AttachedFiles,Content"/> </quer:projection>This step must be defined before the 'Prepare Export' step.
Field Summary |
---|
Fields inherited from class com.taleo.integration.client.customstep.BaseCustomStep |
---|
parameterNames |
Fields inherited from class com.taleo.integration.client.step.BaseCustomStep |
---|
parameters |
Fields inherited from class com.taleo.integration.client.step.BaseStep |
---|
commType, ERROR_NULL_GLOBAL_CONFIG, ERROR_NULL_PIPELINE, ERROR_NULL_STEP_CONFIG, productCode, tempFolder, type, version |
Constructor Summary | |
---|---|
ConvertToCountPreStep()
Constructor without arguments. |
Method Summary | |
---|---|
void |
execute(com.taleo.ws.integration.client.Pipeline pipeline)
|
char |
getCsvDelimiter()
|
java.lang.String |
getDescription()
|
java.lang.String |
getEntityName()
Get the entity name. |
java.lang.String |
getIdentifier()
|
java.lang.String |
getName()
|
com.taleo.ws.integration.client.SupportedPipeline |
getSupportedPipeline()
|
void |
init(com.taleo.ws.integration.client.GlobalConfig config)
|
boolean |
isCsvHeaderPresent()
Get the CSV header present indicator. |
void |
setCsvDelimiter(char csvDelimiter)
|
void |
setCsvHeaderPresent(boolean csvHeaderPresent)
Set the CSV header present indicator. |
void |
setEntityName(java.lang.String entityName)
Set the entity name. |
protected void |
transform(java.io.File queryFile,
java.io.File outFile)
Transform the query file containing into a count query. |
Methods inherited from class com.taleo.integration.client.customstep.BaseCustomStep |
---|
createTempFile, createTempFile, getEncoding, getTempFolder, isActive, registerParameterName, setActive, setEncoding, validateParameterNames |
Methods inherited from class com.taleo.integration.client.step.BaseCustomStep |
---|
getType, init |
Methods inherited from class com.taleo.integration.client.step.BaseStep |
---|
getAllProcessSupportPipeline, getCurrentFile, getCurrentFile, getCurrentMessage, getPostProcessSupportPipeline, getPreProcessSupportPipeline, isOriginalFile, validateLastStepType, validateMessageType, validatePipeline |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.taleo.integration.client.step.Step |
---|
validatePipeline |
Constructor Detail |
---|
public ConvertToCountPreStep()
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in interface com.taleo.integration.client.step.CustomStep
getIdentifier
in interface com.taleo.integration.client.step.Step
getIdentifier
in class com.taleo.integration.client.step.BaseCustomStep
public java.lang.String getDescription()
getDescription
in interface com.taleo.integration.client.step.CustomStep
getDescription
in interface com.taleo.integration.client.step.Step
getDescription
in class com.taleo.integration.client.step.BaseCustomStep
public java.lang.String getName()
getName
in interface com.taleo.integration.client.step.CustomStep
getName
in interface com.taleo.integration.client.step.Step
getName
in class com.taleo.integration.client.step.BaseCustomStep
public char getCsvDelimiter()
public void setCsvDelimiter(char csvDelimiter)
csvDelimiter
- public boolean isCsvHeaderPresent()
public void setCsvHeaderPresent(boolean csvHeaderPresent)
csvHeaderPresent
- public java.lang.String getEntityName()
public void setEntityName(java.lang.String entityName)
entityName
- public com.taleo.ws.integration.client.SupportedPipeline getSupportedPipeline()
getSupportedPipeline
in interface com.taleo.integration.client.step.Step
getSupportedPipeline
in class com.taleo.integration.client.step.BaseCustomStep
public void init(com.taleo.ws.integration.client.GlobalConfig config)
init
in class BaseCustomStep
public void execute(com.taleo.ws.integration.client.Pipeline pipeline) throws com.taleo.integration.client.step.StepException
com.taleo.integration.client.step.StepException
protected void transform(java.io.File queryFile, java.io.File outFile) throws javax.xml.transform.TransformerException, java.io.IOException
queryFile
- The query file.outFile
- The output file.
javax.xml.transform.TransformerException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |