Class CswsConnector.VersionInformation
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.csws.CswsConnector.VersionInformation
-
- Enclosing class:
- CswsConnector
protected class CswsConnector.VersionInformation extends java.lang.ObjectThis object represents a cache of version information. Initialize it with the volume ID and object ID and revision number (usually zero). Then, request the desired fields from it.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanfetchedprotected longobjectIDprotected longrevisionNumberprotected com.opentext.livelink.service.docman.VersionversionValue
-
Constructor Summary
Constructors Constructor Description VersionInformation(long objectID, long revisionNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)booleanexists()java.lang.LonggetDataSize()Get data size.java.lang.StringgetFileName()Get file name.java.lang.StringgetMimeType()Get mime type.java.util.DategetModifyDate()Get modify date.java.lang.LonggetOwnerId()Get modifier.protected com.opentext.livelink.service.docman.VersiongetVersionValue()Get version LLValueinthashCode()
-
-
-
Method Detail
-
exists
public boolean exists() 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
-
getDataSize
public java.lang.Long getDataSize() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet data size.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getFileName
public java.lang.String getFileName() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet file name.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getMimeType
public java.lang.String getMimeType() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet mime type.- 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.ManifoldCFExceptionGet modify date.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getOwnerId
public java.lang.Long getOwnerId() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet modifier.- Throws:
org.apache.manifoldcf.agents.interfaces.ServiceInterruptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getVersionValue
protected com.opentext.livelink.service.docman.Version getVersionValue() throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption, org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet version LLValue- 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
-
-