Class LivelinkConnector.ObjectInformation

  • Enclosing class:
    LivelinkConnector

    protected class LivelinkConnector.ObjectInformation
    extends java.lang.Object
    This object represents an object information cache. Initialize it with the volume ID and object ID, and then request the appropriate fields from it. Keep it around as long as needed; it functions as a cache of sorts...
    • Field Detail

      • volumeID

        protected final int volumeID
      • objectID

        protected final int objectID
      • objectValue

        protected com.opentext.api.LLValue objectValue
    • Constructor Detail

      • ObjectInformation

        public ObjectInformation​(int volumeID,
                                 int objectID)
    • Method Detail

      • exists

        public boolean exists()
                       throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                              org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Check whether object seems to exist or not.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • isCategoryWorkspace

        public boolean isCategoryWorkspace()
        Check if this object is the category workspace.
      • isEntityWorkspace

        public boolean isEntityWorkspace()
        Check if this object is the entity workspace.
      • toString

        public java.lang.String toString()
        toString override
        Overrides:
        toString in class java.lang.Object
      • getPathId

        public LivelinkConnector.VolumeAndId getPathId​(java.lang.String startPath)
                                                throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                                       org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Returns the object ID specified by the path name.
        Parameters:
        startPath - is the folder name (a string with dots as separators)
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getCategoryId

        public int getCategoryId​(java.lang.String startPath)
                          throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                 org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Returns the category ID specified by the path name.
        Parameters:
        startPath - is the folder name, ending in a category name (a string with slashes as separators)
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
      • getPermissions

        public java.lang.Integer getPermissions()
                                         throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                                org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get permissions.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getName

        public java.lang.String getName()
                                 throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get OpenText document name.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getComments

        public java.lang.String getComments()
                                     throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                            org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get OpenText comments/description.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getParentId

        public java.lang.Integer getParentId()
                                      throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                             org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get parent ID.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getOwnerId

        public java.lang.Integer getOwnerId()
                                     throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                            org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get owner ID.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getGroupId

        public java.lang.Integer getGroupId()
                                     throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                            org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get group ID.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getCreationDate

        public java.util.Date getCreationDate()
                                       throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                              org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get creation date.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getCreatorId

        public java.lang.Integer getCreatorId()
                                       throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                              org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get creator ID.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getModifyDate

        public java.util.Date getModifyDate()
                                     throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                            org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getObjectValue

        protected com.opentext.api.LLValue getObjectValue()
                                                   throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                                          org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Get the objInfo object.
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object