Class InspectorItem
java.lang.Object
com.elpical.jclaro.admin.ws.server.InspectorItem
Holds information about Inspector jobs waiting in the Inspector queue
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorInspectorItem(com.elpical.jclaro.database.entities.ClaroInspectorObject obj)
Creates a new InspectorItem from a ClaroInspectorObject on the server -
Method Summary
Modifier and TypeMethodDescriptionReturns the reason why this item was send to the Inspector queueint
Returns the id of the channel which processed the fileReturns the name of the channel which processed the fileReturns the name of file which was processedint
getId()
Returns the id of the Inspector itemReturns the image nameReturns which user has opened this Inspector itemReturns the log information of the processing of this itemgetName()
Returns the nameint
Returns the id of the image in PDFReturns which user has last worked on this item and send it back to the server to continue laterboolean
isInUse()
Returns whether the Inspector items is already opened by another userboolean
Returns whether the InspectorItem originates from a job fileboolean
Returns whether this item has already been worked on and sent back to the server to continue latervoid
setCauseMessage(String causeMessage)
Sets the reason why this item was send to the Inspector queuevoid
setChannelId(int channelId)
Sets the id of the channel which processed the filevoid
setChannelName(String channelName)
Sets the name of the channel which processed the filevoid
setFileName(String fileName)
Sets the name of file which was processedvoid
setId(int id)
Sets the id of the Inspector itemvoid
setImageName(String imageName)
Sets the image namevoid
setInUse(boolean inUse)
Sets whether the Inspector items is already opened by another uservoid
setInUseByUser(String inUseByUser)
Sets which user has opened this Inspector itemvoid
setJobFile(boolean jobFile)
Set whether the InspectorItem originates from a job filevoid
setLogInfo(String logInfo)
Sets the log information of the processing of this itemvoid
Sets the namevoid
setPdfImage(int pdfImage)
Sets the id of the image in PDFvoid
setSentBack(boolean sentBack)
Sets whether this item has already been worked on and sent back to the server to continue latervoid
setSentBackByUser(String sentBackByUser)
Sets which user has last worked on this item and send it back to the server to continue later
-
Constructor Details
-
InspectorItem
public InspectorItem()Empty constructor -
InspectorItem
public InspectorItem(com.elpical.jclaro.database.entities.ClaroInspectorObject obj)Creates a new InspectorItem from a ClaroInspectorObject on the server
-
-
Method Details
-
isJobFile
public boolean isJobFile()Returns whether the InspectorItem originates from a job file- Returns:
- Whether the InspectorItem originates from a job file
-
setJobFile
public void setJobFile(boolean jobFile)Set whether the InspectorItem originates from a job file- Parameters:
jobFile
- Whether the InspectorItem originates from a job file
-
getId
public int getId()Returns the id of the Inspector item- Returns:
- The id of the Inspector item
-
setId
public void setId(int id)Sets the id of the Inspector item- Parameters:
id
- The id of the Inspector item
-
isInUse
public boolean isInUse()Returns whether the Inspector items is already opened by another user- Returns:
- Whether the Inspector items is already opened by another user
-
setInUse
public void setInUse(boolean inUse)Sets whether the Inspector items is already opened by another user- Parameters:
inUse
- Whether the Inspector items is already opened by another user
-
getInUseByUser
Returns which user has opened this Inspector item- Returns:
- Which user has opened this Inspector item
-
setInUseByUser
Sets which user has opened this Inspector item- Parameters:
inUseByUser
- Which user has opened this Inspector item
-
isSentBack
public boolean isSentBack()Returns whether this item has already been worked on and sent back to the server to continue later- Returns:
- Whether this item has already been worked on
-
setSentBack
public void setSentBack(boolean sentBack)Sets whether this item has already been worked on and sent back to the server to continue later- Parameters:
sentBack
- Whether this item has already been worked on
-
getSentBackByUser
Returns which user has last worked on this item and send it back to the server to continue later- Returns:
- Which user has last worked on this item
-
setSentBackByUser
Sets which user has last worked on this item and send it back to the server to continue later- Parameters:
sentBackByUser
- Which user has last worked on this item
-
getCauseMessage
Returns the reason why this item was send to the Inspector queue- Returns:
- The reason why this item was send to the Inspector queue
-
setCauseMessage
Sets the reason why this item was send to the Inspector queue- Parameters:
causeMessage
- The reason why this item was send to the Inspector queue
-
getLogInfo
Returns the log information of the processing of this item- Returns:
- The log information of the processing of this item
-
setLogInfo
Sets the log information of the processing of this item- Parameters:
logInfo
- The log information of the processing of this item
-
getImageName
Returns the image name- Returns:
- The image name
-
setImageName
Sets the image name- Parameters:
imageName
- The image name
-
getFileName
Returns the name of file which was processed- Returns:
- The name of file which was processed
-
setFileName
Sets the name of file which was processed- Parameters:
fileName
- The name of file which was processed
-
getName
Returns the name- Returns:
- The name
-
setName
Sets the name- Parameters:
name
- The name
-
getChannelId
public int getChannelId()Returns the id of the channel which processed the file- Returns:
- The id of the channel which processed the file
-
setChannelId
public void setChannelId(int channelId)Sets the id of the channel which processed the file- Parameters:
channelId
- The id of the channel which processed the file
-
getChannelName
Returns the name of the channel which processed the file- Returns:
- The name of the channel which processed the file
-
setChannelName
Sets the name of the channel which processed the file- Parameters:
channelName
- The name of the channel which processed the file
-
getPdfImage
public int getPdfImage()Returns the id of the image in PDF- Returns:
- The id of the image in PDF
-
setPdfImage
public void setPdfImage(int pdfImage)Sets the id of the image in PDF- Parameters:
pdfImage
- The id of the image in PDF
-