com.wewebu.ow.server.docimport
Class OwNoContentDocumentImportItem

java.lang.Object
  extended by com.wewebu.ow.server.docimport.OwNoContentDocumentImportItem
All Implemented Interfaces:
com.wewebu.ow.server.app.OwDocumentImportItem

public class OwNoContentDocumentImportItem
extends Object
implements com.wewebu.ow.server.app.OwDocumentImportItem

A class representing a no content OwDocumentImportItem, which is used by the DocumentImporter interface.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
protected  String m_displayName
          the display name of the imported document
 
Constructor Summary
OwNoContentDocumentImportItem(String displayName_p)
          Create a new OwNoContentDocumentImportItem for a empty document with a given display name
 
Method Summary
 Boolean getCheckinAsMajor()
           
 String getContentMimeParameter(int i_p)
           
 String getContentMimeType(int i_p)
           
 InputStream getContentStream(int i_p)
           
 int getContentStreamCount()
           
 String getDisplayName()
           
 String getObjectClassName()
           
 String getPreviewFilePath(int i_p)
           
 Map getPropertyValueMap()
           
 String getProposedDocumentName()
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_displayName

protected String m_displayName
the display name of the imported document

Constructor Detail

OwNoContentDocumentImportItem

public OwNoContentDocumentImportItem(String displayName_p)
Create a new OwNoContentDocumentImportItem for a empty document with a given display name

Parameters:
displayName_p - the display name of the empty document
Method Detail

getContentStream

public InputStream getContentStream(int i_p)
                             throws Exception
Specified by:
getContentStream in interface com.wewebu.ow.server.app.OwDocumentImportItem
Throws:
Exception

getPreviewFilePath

public String getPreviewFilePath(int i_p)
Specified by:
getPreviewFilePath in interface com.wewebu.ow.server.app.OwDocumentImportItem

getContentStreamCount

public int getContentStreamCount()
Specified by:
getContentStreamCount in interface com.wewebu.ow.server.app.OwDocumentImportItem

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface com.wewebu.ow.server.app.OwDocumentImportItem

getPropertyValueMap

public Map getPropertyValueMap()
Specified by:
getPropertyValueMap in interface com.wewebu.ow.server.app.OwDocumentImportItem

release

public void release()
             throws Exception
Specified by:
release in interface com.wewebu.ow.server.app.OwDocumentImportItem
Throws:
Exception

getProposedDocumentName

public String getProposedDocumentName()
Specified by:
getProposedDocumentName in interface com.wewebu.ow.server.app.OwDocumentImportItem

getContentMimeParameter

public String getContentMimeParameter(int i_p)
Specified by:
getContentMimeParameter in interface com.wewebu.ow.server.app.OwDocumentImportItem

getContentMimeType

public String getContentMimeType(int i_p)
Specified by:
getContentMimeType in interface com.wewebu.ow.server.app.OwDocumentImportItem

getCheckinAsMajor

public Boolean getCheckinAsMajor()
Specified by:
getCheckinAsMajor in interface com.wewebu.ow.server.app.OwDocumentImportItem

getObjectClassName

public String getObjectClassName()
Specified by:
getObjectClassName in interface com.wewebu.ow.server.app.OwDocumentImportItem


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.