com.wewebu.ow.server.plug.owdms
Class OwKeepContentDocumentImporter

java.lang.Object
  extended by com.wewebu.ow.server.plug.owdms.OwKeepContentDocumentImporter
All Implemented Interfaces:
com.wewebu.ow.server.app.OwDocumentImporter

public class OwKeepContentDocumentImporter
extends Object
implements com.wewebu.ow.server.app.OwDocumentImporter

Keep the content of a document on checkin a document.

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


Nested Class Summary
protected static class OwKeepContentDocumentImporter.OwKeepContentDocumentImporterItem
           A simple DocumentImporterItem which do nothing, just returns default values.
protected  class OwKeepContentDocumentImporter.OwKeepContentDocumentImporterView
          Just simple View to display that content is not overwritten
 
Field Summary
protected  com.wewebu.ow.server.util.OwXMLUtil m_config
          the configuration of this importer
 
Fields inherited from interface com.wewebu.ow.server.app.OwDocumentImporter
IMPORT_CONTEXT_CHECKIN, IMPORT_CONTEXT_NEW, IMPORT_CONTEXT_SAVE
 
Constructor Summary
OwKeepContentDocumentImporter()
           
 
Method Summary
 String getDisplayName()
           
 String getIconURL()
           
 com.wewebu.ow.server.ui.OwView getPostProcessView(int importContext_p, com.wewebu.ow.server.ecm.OwObject savedObj_p)
           
 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_config

protected com.wewebu.ow.server.util.OwXMLUtil m_config
the configuration of this importer

Constructor Detail

OwKeepContentDocumentImporter

public OwKeepContentDocumentImporter()
Method Detail

getDisplayName

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

getIconURL

public String getIconURL()
Specified by:
getIconURL in interface com.wewebu.ow.server.app.OwDocumentImporter

getView

public com.wewebu.ow.server.ui.OwView getView(int context_p,
                                              com.wewebu.ow.server.app.OwDocumentImporterCallback callback_p)
Specified by:
getView in interface com.wewebu.ow.server.app.OwDocumentImporter

init

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
Specified by:
init in interface com.wewebu.ow.server.app.OwDocumentImporter
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException

releaseAll

public void releaseAll()
Specified by:
releaseAll in interface com.wewebu.ow.server.app.OwDocumentImporter

setSingleFileImports

public void setSingleFileImports(boolean singleFileImports_p)
Specified by:
setSingleFileImports in interface com.wewebu.ow.server.app.OwDocumentImporter

getPostProcessView

public com.wewebu.ow.server.ui.OwView getPostProcessView(int importContext_p,
                                                         com.wewebu.ow.server.ecm.OwObject savedObj_p)
Specified by:
getPostProcessView in interface com.wewebu.ow.server.app.OwDocumentImporter

hasPostProcessView

public boolean hasPostProcessView(int importContext_p)
Specified by:
hasPostProcessView in interface com.wewebu.ow.server.app.OwDocumentImporter


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.