|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.docimport.OwLocalFileDocumentImporter
public class OwLocalFileDocumentImporter
Special class representing the document importer which handle local file uploads.
The files were uploaded to a temporary location defined by the 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 com.wewebu.ow.server.util.OwXMLUtil |
m_config
the configuration of this importer |
protected com.wewebu.ow.server.app.OwMainAppContext |
m_context
the current MainAppContext |
protected boolean |
m_singleFileImports
the current state of single file import |
Fields inherited from interface com.wewebu.ow.server.app.OwDocumentImporter |
---|
IMPORT_CONTEXT_CHECKIN, IMPORT_CONTEXT_NEW, IMPORT_CONTEXT_SAVE |
Constructor Summary | |
---|---|
OwLocalFileDocumentImporter()
|
Method Summary | |
---|---|
protected void |
finalize()
|
protected com.wewebu.ow.server.app.OwMainAppContext |
getContext()
|
String |
getDisplayName()
|
String |
getIconURL()
|
com.wewebu.ow.server.ui.OwView |
getPostProcessView(int importContext_p,
com.wewebu.ow.server.ecm.OwObject savedObj_p)
|
protected String |
getTempDir()
Returns the path to the common temporary folder for this importer. |
protected int |
getTempFileID()
Returns a unique ID for a file in the temp folder. |
com.wewebu.ow.server.ui.OwView |
getView(int context_p,
com.wewebu.ow.server.app.OwDocumentImporterCallback callback_p)
|
boolean |
hasPostProcessView(int importContext_p)
|
void |
init(com.wewebu.ow.server.app.OwMainAppContext context_p,
com.wewebu.ow.server.util.OwXMLUtil config_p)
|
void |
releaseAll()
|
void |
setSingleFileImports(boolean singleFileImports_p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.wewebu.ow.server.app.OwMainAppContext m_context
protected com.wewebu.ow.server.util.OwXMLUtil m_config
protected boolean m_singleFileImports
Constructor Detail |
---|
public OwLocalFileDocumentImporter()
Method Detail |
---|
public void init(com.wewebu.ow.server.app.OwMainAppContext context_p, com.wewebu.ow.server.util.OwXMLUtil config_p) throws com.wewebu.ow.server.exceptions.OwConfigurationException
init
in interface com.wewebu.ow.server.app.OwDocumentImporter
com.wewebu.ow.server.exceptions.OwConfigurationException
protected String getTempDir() throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
- if the temporary folder can not be createdprotected int getTempFileID()
protected com.wewebu.ow.server.app.OwMainAppContext getContext()
public String getDisplayName()
getDisplayName
in interface com.wewebu.ow.server.app.OwDocumentImporter
public String getIconURL()
getIconURL
in interface com.wewebu.ow.server.app.OwDocumentImporter
public void setSingleFileImports(boolean singleFileImports_p)
setSingleFileImports
in interface com.wewebu.ow.server.app.OwDocumentImporter
public com.wewebu.ow.server.ui.OwView getView(int context_p, com.wewebu.ow.server.app.OwDocumentImporterCallback callback_p)
getView
in interface com.wewebu.ow.server.app.OwDocumentImporter
public void releaseAll()
releaseAll
in interface com.wewebu.ow.server.app.OwDocumentImporter
public com.wewebu.ow.server.ui.OwView getPostProcessView(int importContext_p, com.wewebu.ow.server.ecm.OwObject savedObj_p)
getPostProcessView
in interface com.wewebu.ow.server.app.OwDocumentImporter
public boolean hasPostProcessView(int importContext_p)
hasPostProcessView
in interface com.wewebu.ow.server.app.OwDocumentImporter
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |