Class InspectorItem

java.lang.Object
com.elpical.jclaro.admin.ws.server.InspectorItem

public class InspectorItem extends Object
Holds information about Inspector jobs waiting in the Inspector queue
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor
    InspectorItem​(com.elpical.jclaro.database.entities.ClaroInspectorObject obj)
    Creates a new InspectorItem from a ClaroInspectorObject on the server
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the reason why this item was send to the Inspector queue
    int
    Returns the id of the channel which processed the file
    Returns the name of the channel which processed the file
    Returns the name of file which was processed
    int
    Returns the id of the Inspector item
    Returns the image name
    Returns which user has opened this Inspector item
    Returns the log information of the processing of this item
    Returns the name
    int
    Returns the id of the image in PDF
    Returns which user has last worked on this item and send it back to the server to continue later
    boolean
    Returns whether the Inspector items is already opened by another user
    boolean
    Returns whether the InspectorItem originates from a job file
    boolean
    Returns whether this item has already been worked on and sent back to the server to continue later
    void
    setCauseMessage​(String causeMessage)
    Sets the reason why this item was send to the Inspector queue
    void
    setChannelId​(int channelId)
    Sets the id of the channel which processed the file
    void
    setChannelName​(String channelName)
    Sets the name of the channel which processed the file
    void
    setFileName​(String fileName)
    Sets the name of file which was processed
    void
    setId​(int id)
    Sets the id of the Inspector item
    void
    setImageName​(String imageName)
    Sets the image name
    void
    setInUse​(boolean inUse)
    Sets whether the Inspector items is already opened by another user
    void
    setInUseByUser​(String inUseByUser)
    Sets which user has opened this Inspector item
    void
    setJobFile​(boolean jobFile)
    Set whether the InspectorItem originates from a job file
    void
    setLogInfo​(String logInfo)
    Sets the log information of the processing of this item
    void
    setName​(String name)
    Sets the name
    void
    setPdfImage​(int pdfImage)
    Sets the id of the image in PDF
    void
    setSentBack​(boolean sentBack)
    Sets whether this item has already been worked on and sent back to the server to continue later
    void
    setSentBackByUser​(String sentBackByUser)
    Sets which user has last worked on this item and send it back to the server to continue later

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public String getInUseByUser()
      Returns which user has opened this Inspector item
      Returns:
      Which user has opened this Inspector item
    • setInUseByUser

      public void setInUseByUser(String inUseByUser)
      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

      public String 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

      public void setSentBackByUser(String sentBackByUser)
      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

      public String 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

      public void setCauseMessage(String causeMessage)
      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

      public String getLogInfo()
      Returns the log information of the processing of this item
      Returns:
      The log information of the processing of this item
    • setLogInfo

      public void setLogInfo(String logInfo)
      Sets the log information of the processing of this item
      Parameters:
      logInfo - The log information of the processing of this item
    • getImageName

      public String getImageName()
      Returns the image name
      Returns:
      The image name
    • setImageName

      public void setImageName(String imageName)
      Sets the image name
      Parameters:
      imageName - The image name
    • getFileName

      public String getFileName()
      Returns the name of file which was processed
      Returns:
      The name of file which was processed
    • setFileName

      public void setFileName(String fileName)
      Sets the name of file which was processed
      Parameters:
      fileName - The name of file which was processed
    • getName

      public String getName()
      Returns the name
      Returns:
      The name
    • setName

      public void setName(String name)
      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

      public String getChannelName()
      Returns the name of the channel which processed the file
      Returns:
      The name of the channel which processed the file
    • setChannelName

      public void setChannelName(String channelName)
      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