Class ItemAnalyzeResult

java.lang.Object
com.saperion.ngc.resultset.ItemAnalyzeResult

public class ItemAnalyzeResult extends Object
This bean represents the result of an analysis of one ore more selected items in the result list performed by ItemAnalyzer. It is used to store the available functions for the selected items. Not all properties contained in this bean are applicable when more than one item is selected.
  • Constructor Details

    • ItemAnalyzeResult

      public ItemAnalyzeResult()
  • Method Details

    • getData

      public final ResultAccessData getData()
      Returns:
      access data for the analyzed items based on user-rigths and ACLs
    • isLaunchable

      public final boolean isLaunchable()
      Returns:
      true if the items can be used as a workflow-attachment
    • isUnlocked

      public final boolean isUnlocked()
      Returns:
      true if the items are not locked
    • isCheckedOut

      public final boolean isCheckedOut()
      Returns:
      true if the items are checked out
    • isCheckedOutByCurrentUser

      public final boolean isCheckedOutByCurrentUser()
      Returns:
      true if the items are checked out by the current user
    • isCheckOutWithShareBase

      public boolean isCheckOutWithShareBase()
      Returns:
      true if items are checked out with ShareBase
    • isWorkflow

      public final boolean isWorkflow()
      Returns:
      true if the items are workflow-tasks in an inbox
    • hasWorkflowHistory

      public final boolean hasWorkflowHistory()
      Returns:
      true if the items have a workflow-history
    • hasActiveWorkflow

      public final boolean hasActiveWorkflow()
      Returns:
      true if the items have active workflows
    • isFilingSupported

      public final boolean isFilingSupported()
      Returns:
      true if filing is supported
    • isFolderItem

      public final boolean isFolderItem()
      Returns:
      true if the items are folders
    • isLink

      public final boolean isLink()
      Returns:
      true if the items are links
    • isDeleted

      public boolean isDeleted()
      Returns:
      true if the items are deleted
    • isInRetention

      public boolean isInRetention()
      Returns:
      true if selection contains a document that is in retention
    • isInLitigationHold

      public boolean isInLitigationHold()
      Returns:
      true if selection contains a document that is in litigation hold
    • isLitigationHoldSupported

      public boolean isLitigationHoldSupported()
      Returns:
      whether the item's ddc contains the SYSLITIGATIONHOLD field
    • isRetentionSupported

      public boolean isRetentionSupported()
      Returns:
      whether the item's ddc contains the SYSLITIGATIONHOLD field
    • isDispositionSupported

      public boolean isDispositionSupported()
      Returns:
      whether the item's ddc contains the SYSLITIGATIONHOLD field
    • isInDispositionTime

      public boolean isInDispositionTime()
      Returns:
      true if selection contains a document that is in disposition time
    • isStructuredLink

      public boolean isStructuredLink()
      Returns:
      true if the item is a structured link (only one element of type link in structure)
    • isUnstructured

      public boolean isUnstructured()
      Returns:
      true if the item is unstructured
    • hasImagesOnly

      public boolean hasImagesOnly()
      Returns:
      true if all elements of the document are images
    • hasEmptyStructure

      public boolean hasEmptyStructure()
      Returns:
      true if the document has an empty structure
    • isContainsOnlyLinks

      public boolean isContainsOnlyLinks()
      Returns:
      true, if the document contains only links in it's structure
    • setData

      public void setData(ResultAccessData data)
      Parameters:
      data - access data based on user-rights and ACLs
    • setLaunchable

      public void setLaunchable(boolean launchable)
      Parameters:
      launchable - whether the items can be used as workflow attachments
    • setUnlocked

      public void setUnlocked(boolean unlocked)
      Parameters:
      unlocked - whether the items are unlocked
    • setCheckedOut

      public void setCheckedOut(boolean checkedOut)
      Parameters:
      checkedOut - whether the items are checked out
    • setCheckOutByCurrentUser

      public void setCheckOutByCurrentUser(boolean checkOutByCurrentUser)
      Parameters:
      checkOutByCurrentUser - whether the items are checked out by current user
    • setWorkflow

      public void setWorkflow(boolean workflow)
      Parameters:
      workflow - whether the items are workflow-tasks
    • setWorkflowHistory

      public void setWorkflowHistory(boolean workflowHistory)
      Parameters:
      workflowHistory - whether the items have a workflow history
    • setWorkflowActive

      public void setWorkflowActive(boolean workflowActive)
      Parameters:
      workflowActive - whether the items have active workflows
    • setFilingSupported

      public void setFilingSupported(boolean filingSupported)
      Parameters:
      filingSupported - whether filing is supported for the items
    • setFolderItem

      public void setFolderItem(boolean folderItem)
      Parameters:
      folderItem - whether the items are folders
    • setIsLink

      public void setIsLink(boolean isLink)
      Parameters:
      isLink - whether the items are links
    • setIsDeleted

      public void setIsDeleted(boolean isDeleted)
      Parameters:
      isDeleted - whether the items are deleted
    • setInRetention

      public void setInRetention(boolean inRetention)
      Parameters:
      inRetention - wether the items are in retention
    • setInLitigationHold

      public void setInLitigationHold(boolean inLitigationHold)
      Parameters:
      inLitigationHold - whether the items are in litigation-hold
    • setLitigationHoldSupported

      public void setLitigationHoldSupported(boolean hasField)
      Parameters:
      hasField - whether the items have the systemfield SYSLITIGATIONHOLD in their DDC
    • setRetentionSupported

      public void setRetentionSupported(boolean hasField)
      Parameters:
      hasField - whether the items have the systemfield SYSLITIGATIONHOLD in their DDC
    • setDispositionSupported

      public void setDispositionSupported(boolean hasField)
      Parameters:
      hasField - whether the items have the systemfield SYSLITIGATIONHOLD in their DDC
    • setInDispositionTime

      public void setInDispositionTime(boolean inDispositionTime)
      Parameters:
      inDispositionTime - whether the items are within the disposition time
    • setIsStructuredLink

      public void setIsStructuredLink(boolean isStructuredLink)
      Parameters:
      isStructuredLink - whether the items are structured links
    • setIsUnstructured

      public void setIsUnstructured(boolean isUnstructured)
      Parameters:
      isUnstructured - whether the items contain no structure
    • setHasImagesOnly

      public void setHasImagesOnly(boolean hasImagesOnly)
      Parameters:
      hasImagesOnly - whether the items contain nothing but images in their structure
    • setHasEmptyStructure

      public void setHasEmptyStructure(boolean hasEmptyStructure)
      Parameters:
      hasEmptyStructure - whether the items have an empty structure
    • setContainsOnlyLinks

      public void setContainsOnlyLinks(boolean containsOnlyLinks)
      Parameters:
      containsOnlyLinks - whether the items contain nothing but links in their structure
    • isHasSysAclList

      public boolean isHasSysAclList()
      Returns:
      whether the item's ddc contains the SYSACLLIST field
    • setHasSysAclList

      public void setHasSysAclList(boolean hasSysAclList)
      Parameters:
      hasSysAclList - whether the item's ddc contains the SYSACLLIST field
    • setCheckOutWithShareBase

      public void setCheckOutWithShareBase(boolean checkOutWithShareBase)
      Parameters:
      checkOutWithShareBase - whether the items are checked out with sharebase