org.outerj.daisy.repository.commonimpl
Class PartImpl
java.lang.Object
org.outerj.daisy.repository.commonimpl.PartImpl
- All Implemented Interfaces:
- org.outerj.daisy.repository.Part
public class PartImpl
- extends java.lang.Object
- implements org.outerj.daisy.repository.Part
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartImpl
public PartImpl(DocumentVariantImpl.IntimateAccess ownerVariantInt,
long partTypeId,
long versionId)
getIntimateAccess
public PartImpl.IntimateAccess getIntimateAccess(DocumentStrategy documentStrategy)
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType
in interface org.outerj.daisy.repository.Part
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in interface org.outerj.daisy.repository.Part
getSize
public long getSize()
- Specified by:
getSize
in interface org.outerj.daisy.repository.Part
getData
public byte[] getData()
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getData
in interface org.outerj.daisy.repository.Part
- Throws:
org.outerj.daisy.repository.RepositoryException
getDataStream
public java.io.InputStream getDataStream()
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getDataStream
in interface org.outerj.daisy.repository.Part
- Throws:
org.outerj.daisy.repository.RepositoryException
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interface org.outerj.daisy.repository.Part
getTypeId
public long getTypeId()
- Specified by:
getTypeId
in interface org.outerj.daisy.repository.Part
getXml
public org.outerx.daisy.x10.PartDocument getXml()
- Specified by:
getXml
in interface org.outerj.daisy.repository.Part
Copyright © -2012 . All Rights Reserved.