Class LivelinkConnector.ObjectInformation
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.livelink.LivelinkConnector.ObjectInformation
-
- Enclosing class:
- LivelinkConnector
protected class LivelinkConnector.ObjectInformation extends java.lang.ObjectThis 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 Summary
Fields Modifier and Type Field Description protected intobjectIDprotected com.opentext.api.LLValueobjectValueprotected intvolumeID
-
Constructor Summary
Constructors Constructor Description ObjectInformation(int volumeID, int objectID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)booleanexists()Check whether object seems to exist or not.intgetCategoryId(java.lang.String startPath)Returns the category ID specified by the path name.java.lang.StringgetComments()Get OpenText comments/description.java.util.DategetCreationDate()Get creation date.java.lang.IntegergetCreatorId()Get creator ID.java.lang.IntegergetGroupId()Get group ID.java.util.DategetModifyDate()java.lang.StringgetName()Get OpenText document name.protected com.opentext.api.LLValuegetObjectValue()Get the objInfo object.java.lang.IntegergetOwnerId()Get owner ID.java.lang.IntegergetParentId()Get parent ID.LivelinkConnector.VolumeAndIdgetPathId(java.lang.String startPath)Returns the object ID specified by the path name.java.lang.IntegergetPermissions()Get permissions.inthashCode()booleanisCategoryWorkspace()Check if this object is the category workspace.booleanisEntityWorkspace()Check if this object is the entity workspace.java.lang.StringtoString()toString override
-
-
-
Method Detail
-
exists
public boolean exists() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionCheck whether object seems to exist or not.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.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:
toStringin classjava.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.ServiceInterruptionorg.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.ServiceInterruptionReturns 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.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
getPermissions
public java.lang.Integer getPermissions() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet permissions.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getName
public java.lang.String getName() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet OpenText document name.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getComments
public java.lang.String getComments() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet OpenText comments/description.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getParentId
public java.lang.Integer getParentId() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet parent ID.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getOwnerId
public java.lang.Integer getOwnerId() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet owner ID.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getGroupId
public java.lang.Integer getGroupId() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet group ID.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getCreationDate
public java.util.Date getCreationDate() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet creation date.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getCreatorId
public java.lang.Integer getCreatorId() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet creator ID.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.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.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getObjectValue
protected com.opentext.api.LLValue getObjectValue() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet the objInfo object.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-