|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.plug.owaddmultidocuments.OwDragDropDocumentImportItem
public class OwDragDropDocumentImportItem
Class for handling of Drag&Drop documents, which are temporary saved in temp folder of application.
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_fileName
the name of the file that has been dropped |
protected String |
m_folderPath
the path to the temporary folder where the Drag'n'Drop files are stored |
protected String |
m_mimeParameter
the MIME parameter of the dropped file |
protected String |
m_mimeType
the MIME type of the dropped file |
| Constructor Summary | |
|---|---|
OwDragDropDocumentImportItem(String folderPath_p,
String fileName_p)
Create a new OwDragDropDocumentImportItem for a given file name in a given temporary Drag'n'Drop folder. |
|
| 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 |
|---|
protected String m_folderPath
protected String m_fileName
protected String m_mimeType
protected String m_mimeParameter
| Constructor Detail |
|---|
public OwDragDropDocumentImportItem(String folderPath_p,
String fileName_p)
throws Exception
folderPath_p - the path to the temporary folder where the Drag'n'Drop files are storedfileName_p - the name of the file that has been dropped
Exception - if the MIME type or MIME parameter can not be detected| Method Detail |
|---|
public InputStream getContentStream(int i_p)
throws Exception
getContentStream in interface com.wewebu.ow.server.app.OwDocumentImportItemExceptionpublic String getPreviewFilePath(int i_p)
getPreviewFilePath in interface com.wewebu.ow.server.app.OwDocumentImportItempublic int getContentStreamCount()
getContentStreamCount in interface com.wewebu.ow.server.app.OwDocumentImportItempublic String getDisplayName()
getDisplayName in interface com.wewebu.ow.server.app.OwDocumentImportItempublic Map getPropertyValueMap()
getPropertyValueMap in interface com.wewebu.ow.server.app.OwDocumentImportItempublic String getProposedDocumentName()
getProposedDocumentName in interface com.wewebu.ow.server.app.OwDocumentImportItem
public void release()
throws Exception
release in interface com.wewebu.ow.server.app.OwDocumentImportItemExceptionpublic String getContentMimeParameter(int i_p)
getContentMimeParameter in interface com.wewebu.ow.server.app.OwDocumentImportItempublic String getContentMimeType(int i_p)
getContentMimeType in interface com.wewebu.ow.server.app.OwDocumentImportItempublic Boolean getCheckinAsMajor()
getCheckinAsMajor in interface com.wewebu.ow.server.app.OwDocumentImportItempublic String getObjectClassName()
getObjectClassName in interface com.wewebu.ow.server.app.OwDocumentImportItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||