Uses of Class
com.wewebu.ow.server.app.OwMainAppContext

Packages that use OwMainAppContext
com.wewebu.ow.server.app   
com.wewebu.ow.server.command   
com.wewebu.ow.server.dmsdialogs   
com.wewebu.ow.server.dmsdialogs.views   
com.wewebu.ow.server.servlets   
com.wewebu.ow.server.settingsimpl   
com.wewebu.ow.server.util.paramcodec   
 

Uses of OwMainAppContext in com.wewebu.ow.server.app
 

Fields in com.wewebu.ow.server.app declared as OwMainAppContext
protected  OwMainAppContext OwContextBasedUOListenerFactory.context
          the context
protected  OwMainAppContext OwEditablePropertyDate.m_context
          reference to the app context
protected  OwMainAppContext OwBaseComboboxRenderer.m_context
          the context
protected  OwMainAppContext OwAbstractToolExtension.m_context
          the application context
protected  OwMainAppContext OwSettings.m_Context
          reference to the application context, used to read and write Configuration.
protected  OwMainAppContext OwConfiguration.m_Context
          reference to the application context, used to read and write Configuration.
protected  OwMainAppContext OwSubLayout.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwMimeManager.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwMainLayout.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwLoginView.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwFunction.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwFieldManager.m_MainContext
          reference to the cast AppContext
 

Methods in com.wewebu.ow.server.app that return OwMainAppContext
protected  OwMainAppContext OwFunction.getContext()
          get a reference to the app context
protected  OwMainAppContext OwBaseComboboxRenderer.getContext()
          Get the context.
 

Methods in com.wewebu.ow.server.app with parameters of type OwMainAppContext
static String OwMimeManager.createAutoViewerRestoreMainWindowScript(OwMainAppContext context_p, int viewermode_p)
          create a script that closes the autoviewer and rearrange the browser.
static OwObject OwEcmUtil.createObjectFromString(OwMainAppContext context_p, String strObject_p)
          creates a OwObject from a string.
static OwObject OwEcmUtil.createSafeSubFolder(OwMainAppContext context_p, OwObject baseFolder_p, String strName_p)
          creates a simple subfolder using the default folder class from bootstrap checks if folder exits already
protected static void OwMimeManager.delegateToMasterPlugin(OwMainAppContext context_p, OwMasterDocument masterPlugin_p, OwObjectReference obj_p, String subpath_p)
          overridable handler function
static OwMimeManager.OwOpenCommand OwMimeManager.editObject(OwMainAppContext context_p, OwObjectReference obj_p)
          Creates an OwOpenCommand handling the <editservlet> tag from MIME node, if it exist or else an OwInvalidOperationException is thrown.
static OwMimeManager.OwOpenCommand OwMimeManager.editObject(OwMainAppContext context_p, OwObjectReference obj_p, int page_p)
          Creates an OwOpenCommand handling the <editservlet> tag from MIME node, if it exist or else an OwInvalidOperationException is thrown.
static OwMimeManager.OwOpenCommand OwMimeManager.editObject(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p, int page_p)
          Creates an OwOpenCommand handling the <editservlet> tag from MIME node, if it exist or else an OwInvalidOperationException is thrown.
static OwMimeManager.OwOpenCommand OwMimeManager.editObject(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p)
          Creates an OwOpenCommand handling the <editservlet> tag from MIME node, if it exist or else an OwInvalidOperationException is thrown.
static String OwMimeManager.getAutoViewerScript(OwMainAppContext context_p, String strOpenURL_p, int viewermode_p, String id_p, String sDmsID_p, int iPage_p)
          create a script that opens the URL in a viewer and automatically arranges the browser and the viewer the script can be applied with the addFinalScript() method.
static String OwMimeManager.getAutoViewerScript(OwMainAppContext context_p, String strOpenURL_p, int viewermode_p, String id_p, String sDmsID_p, int iPage_p, OwWindowPositions windowpos_p)
          create a script that opens the URL in a viewer and automatically arranges the browser and the viewer the script can be applied with the addFinalScript() method.
protected static String OwMimeManager.getDefaultDownloadURL(OwMainAppContext context_p, OwObjectReference obj_p, int iContentType_p, int iPage_p)
          create a default download URL where the content of the specified object, contenttype and page can be found
static String OwMimeManager.getDownloadLink(OwMainAppContext context_p, String strDisplayName_p, OwObjectReference obj_p)
          get a link to save/download the given OwObjectReference to the local hard drive
static String OwMimeManager.getDownloadURL(OwMainAppContext context_p, OwObjectReference obj_p, int iContentType_p, int iPage_p)
          create a download URL where the content of the specified object, contenttype and page can be found
static String OwMimeManager.getDownloadURL(OwMainAppContext context_p, OwObjectReference obj_p, int iContentType_p, int iPage_p, OwXMLUtil mimeNode_p)
          create a download URL where the content of the specified object, contenttype and page can be found
static OwDocumentFunction OwMimeManager.getHandlerDocumentPlugin(OwMainAppContext context_p, OwObjectReference obj_p)
          get the handler document plugin for the given object reference if defined.
static OwMasterDocument OwMimeManager.getHandlerMasterPlugin(OwMainAppContext context_p, OwObjectReference obj_p)
          get the handler master plugin for the given object reference if defined.
static String OwMimeManager.getMimeIcon(OwMainAppContext context_p, OwObjectReference obj_p)
          get the icon path for the mimetype
static OwMimeManager.OwOpenCommand OwMimeManager.getOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p)
          Create URL or script command to open the object according to MIME settings.
static OwMimeManager.OwOpenCommand OwMimeManager.getOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p)
          Create an URL or script to open the object according to MIME settings.
static OwMimeManager.OwOpenCommand OwMimeManager.getOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p, int page_p)
          Create an URL or script to open the referenced object, according to the defined MIME settings.
static OwMimeManager.OwOpenCommand OwMimeManager.getOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p)
          Create an URL or script to open the object according to MIME settings.
static OwMimeManager.OwOpenCommand OwMimeManager.getOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p)
          Create an URL or script to open the referenced object, according to the defined MIME settings.
protected abstract  String OwMimeManager.OwReplaceScanner.getReplacement(OwMainAppContext context_p, OwObjectReference obj_p, OwXMLUtil mimeNode_p)
          override with your replacement function
static String OwMimeManager.getSaveDownloadURL(OwMainAppContext context_p, OwObjectReference obj_p)
          get a URL to save / download the given OwObjectReference to the local hard drive
protected static String OwMimeManager.getServletReplacedTokenString(String servletURL_p, OwMainAppContext currentContext_p, OwObjectReference obj_p, OwXMLUtil mimeNode_p, int page_p)
          Calls the OwMimeManager.getServletReplacedTokenString(String, OwMainAppContext, OwObjectReference, OwXMLUtil, int, int) method with following parameters
protected static String OwMimeManager.getServletReplacedTokenString(String servletURL_p, OwMainAppContext currentContext_p, OwObjectReference obj_p, OwXMLUtil mimeNode_p, int page_p, int contentType_p)
          This method is a Helper and replace the most used placeholder in a URL string.
 void OwConfiguration.init(OwMainAppContext context_p)
          Init called before login, creates a new instance of OwConfiguration optionally set a prefix to distinguish several different applications.
 void OwClipboard.init(OwMainAppContext owMainAppContext_p)
          Initialize the clipboard
 void OwDocumentImporter.init(OwMainAppContext context_p, OwXMLUtil config_p)
          Initialize this document importer from the XML fragment in the OwXMLUtil.
 void OwToolExtension.init(OwXMLUtil confignode_p, OwMainAppContext context_p)
          Initializes the extension.
 void OwRecordFunction.init(OwXMLUtil node_p, OwMainAppContext context_p)
          set the plugin description node
 void OwFunction.init(OwXMLUtil node_p, OwMainAppContext context_p)
          set the plugin description node
 void OwDocumentFunction.init(OwXMLUtil node_p, OwMainAppContext context_p)
          set the plugin description node
 void OwAbstractToolExtension.init(OwXMLUtil confignode_p, OwMainAppContext context_p)
           
static void OwEditablePropertyDate.insertEditHTML(OwMainAppContext context_p, Locale locale_p, Writer w_p, Date date_p, String strID_p, boolean fUseJS_Control_p, boolean fEmptyDataPossible_p, String sDateFormat_p)
          render the date control with all sub controls
static void OwEditablePropertyDate.insertEditHTML(OwMainAppContext context_p, Locale locale_p, Writer w_p, Date date_p, String strID_p, boolean fUseJS_Control_p, boolean fEmptyDataPossible_p, String sDateFormat_p, String timeFormat)
          render the date control with all sub controls
static void OwEditablePropertyDate.insertJSControl(OwMainAppContext context_p, Locale locale_p, Writer w_p, Date date_p, String strID_p, boolean fEmptyDataPossible_p, String sDateFormat_p)
          Renders the JavaScript version of this control.
static void OwEditablePropertyDate.insertNonJSControl(OwMainAppContext context_p, Locale locale_p, Writer w_p, Date date_p, String strID_p, boolean fEmptyDataPossible_p, String timerFormat)
          Renders the Non Javascript version of the DateTime control.
static boolean OwMimeManager.isObjectDownloadable(OwMainAppContext context_p, OwObjectReference obj_p)
          check if given object can be downloaded to hard drive
static boolean OwMimeManager.isObjectDownloadable(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p)
          check if given object can be downloaded to hard drive
static void OwMimeManager.openFilePreview(OwMainAppContext context_p, String mimeType_p, String path_p)
          open the given file according to MIME settings for preview
static void OwMimeManager.openFilePreview(OwMainAppContext context_p, String mimeType_p, String path_p, String fileName_p)
          open the given file according to the MIME settings for preview, Changes the file name to the given parameter fileName_p.
static void OwMimeManager.openObject(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p)
          open the given object according to MIME settings
static void OwMimeManager.openObject(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p, int iPage_p, OwWindowPositions windowpos_p, Collection objects_p)
          open the given object according to MIME settings
static void OwMimeManager.openObject(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p, int iPage_p, OwWindowPositions windowpos_p, Collection objects_p, String additionalParams_p)
          open the given object according to the MIME settings, and add also the additional params to the caller URL.
static void OwMimeManager.openObject(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p, int iPage_p, OwWindowPositions windowpos_p, Collection objects_p, String additionalParams_p, String mimeContext_p)
          open the given object according to the MIME settings, and add also the additional params to the caller URL.
static void OwMimeManager.openObject(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p, String mimeContext_p)
          open the given object according to MIME settings
static void OwMimeManager.openObjectPreview(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p)
          open the given object according to MIME settings
static void OwMimeManager.openObjectPreview(OwMainAppContext context_p, OwObjectReference obj_p, OwObject parent_p, int iViewerMode_p, OwClientRefreshContext refreshCtx_p, int iPage_p, OwWindowPositions windowpos_p, Collection objects_p)
          open the given object according to MIME settings
 String OwMimeManager.OwReplaceScanner.replace(OwMainAppContext context_p, OwObjectReference obj_p, String strIn_p, String strPattern_p, OwXMLUtil mimeNode_p)
          replace a string with the token from the overridden getReplacement method
protected static String OwMimeManager.replaceProperties(OwMainAppContext context_p, String strIn_p, OwObjectReference obj_p)
          replace a object property placeholder
 void OwComboboxRenderer.setContext(OwMainAppContext context_p)
          Set the context.
 void OwBaseComboboxRenderer.setContext(OwMainAppContext context_p)
           
 

Constructors in com.wewebu.ow.server.app with parameters of type OwMainAppContext
OwContextBasedUOListenerFactory(OwMainAppContext context_p)
          constructor
OwDbUserOperationListenerFactory(OwMainAppContext context_p)
          constructor
OwEditablePropertyDate(OwMainAppContext context_p)
          construct a date property with context, use default date format
OwEditablePropertyDate(OwMainAppContext context_p, String sDateFormat_p)
          construct a date property with context
OwEditablePropertyDate(OwMainAppContext context_p, String sDateFormat_p, boolean ignoreTime)
           
OwLogUserOperationListenerFactory(OwMainAppContext context_p)
          constructor
OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p)
           
OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p, int page_p)
           
OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p)
           
OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p, boolean handleEditTag_p)
           
OwMultipleSelectionCall(OwDocumentFunction documentFunction_p, Collection objects_p, OwObject parent_p, OwClientRefreshContext refreshCtx_p, OwMainAppContext context_p)
          Constructor.
OwSettings(OwMainAppContext context_p)
          Creates a new instance of OwSettings, must be called after login
 

Uses of OwMainAppContext in com.wewebu.ow.server.command
 

Fields in com.wewebu.ow.server.command declared as OwMainAppContext
protected  OwMainAppContext OwCommand.m_appContext
          the application context
 

Constructors in com.wewebu.ow.server.command with parameters of type OwMainAppContext
OwCommand(Collection objects_p, OwMainAppContext appContext_p)
          Constructs a command where all given object are processable.
OwCommand(Collection objects_p, OwMainAppContext appContext_p, OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructs a command where all given object are verified if they can be processed by this command, using processableStrategy_p.
OwCommand(OwObject object_p, OwMainAppContext appContext_p, OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructs a command where the given object is verified if it can be processed by this command, using processableStrategy_p.
 

Uses of OwMainAppContext in com.wewebu.ow.server.dmsdialogs
 

Constructors in com.wewebu.ow.server.dmsdialogs with parameters of type OwMainAppContext
OwGroupPropertiesConfiguration(OwXMLUtil node_p, OwMainAppContext context_p)
          Constructor
 

Uses of OwMainAppContext in com.wewebu.ow.server.dmsdialogs.views
 

Fields in com.wewebu.ow.server.dmsdialogs.views declared as OwMainAppContext
protected  OwMainAppContext OwObjectListViewThumbnails.m_MainContext
          reference to the cast AppContext
protected  OwMainAppContext OwObjectListViewRow.m_MainContext
          reference to the cast AppContext
 

Methods in com.wewebu.ow.server.dmsdialogs.views with parameters of type OwMainAppContext
 void OwStandardCheckInHandler.renderCheckInModes(Writer w_p, OwMainAppContext context_p)
           
 void OwCheckInHandler.renderCheckInModes(Writer w_p, OwMainAppContext context_p)
          Render the check in modes.
 void OwStandardCheckInHandler.renderCheckInOptions(Writer w_p, OwMainAppContext context_p)
           
 void OwCheckInHandler.renderCheckInOptions(Writer w_p, OwMainAppContext context_p)
          Render the check in option (checkbox for creating a released version)
protected static String OwObjectListViewThumbnails.replaceProperties(OwMainAppContext context_p, String strIn_p, OwObjectReference obj_p)
          replace a object property placeholder
 

Constructors in com.wewebu.ow.server.dmsdialogs.views with parameters of type OwMainAppContext
OwStandardPasteMetadataHandler(OwMainAppContext context_p, boolean isSystemPropertiesView_p, boolean hasPasteMetadataEnabled_p)
          Constructor
 

Uses of OwMainAppContext in com.wewebu.ow.server.servlets
 

Methods in com.wewebu.ow.server.servlets with parameters of type OwMainAppContext
protected  OwMultifileDownload.OwFolderArchiveEntry OwMultifileDownload.createContentArchive(List<OwObject> objectsToZip_p, OwMainAppContext context_p)
          (overridable) Creates the archive that will be served by OwMultifileDownload.processRequest(HttpServletRequest, HttpServletResponse)
 

Uses of OwMainAppContext in com.wewebu.ow.server.settingsimpl
 

Methods in com.wewebu.ow.server.settingsimpl with parameters of type OwMainAppContext
 void OwSettingsPropertyLanguageString.setLocaleFromContext(OwMainAppContext mainContext_p)
          set locale from context
 

Uses of OwMainAppContext in com.wewebu.ow.server.util.paramcodec
 

Methods in com.wewebu.ow.server.util.paramcodec with parameters of type OwMainAppContext
static OwTransientCodec OwTransientCodec.createConfiguredCodec(OwMainAppContext context_p)
          Creates a new OwTransientCodec based on the bootstrap configuration that is accessed through the given OwMainAppContext.
The expected XML structure of the URLParameterCodec tag element is the following : URLLifeTimeTime - tag Configures the amount of time an encoded URL parameter map is valid.
static OwNetworkAttributeBagCodec OwNetworkAttributeBagCodec.createConfiguredCodec(OwMainAppContext context_p)
          Creates a new OwNetworkAttributeBagCodec based on the bootstrap configuration that is
accessed through the given OwMainAppContext.
The expected XML structure of the URLParameterCodec tag element is the following :

URLLifeTime - tag
Configures the amount of time an encoded URL parameter map is valid.
After that the parameter map is considered expired and links that relay
on are considered out of date / expired and will not produce the desired response.

Attributes :
days = days until the parameter map expires considering the URL parameter map encoding time
hours = hours until the parameter map expires considering the URL parameter map encoding time
minutes = minutes until the parameter map expires considering the URL parameter map encoding time
seconds = seconds until the parameter map expires considering the URL parameter map encoding time


AttributeBags - tag
Configures the attribute bag storage name for the parameters maps.
In order to prevent name conflicts in attribute bags usage unique bag names prefixes should
be specified here.

Attributes :
codecprefix = a string prefix to be used in codec internal bag names
cookieprefix = a string prefix to be used in codec internal bag names that will store
cookie based parameter maps
user = user to be used when storing codec attribute bags

CookieParameter - tag
The parameter map codec encodes a parameter map into another parameter map containing
one cookie defining parameter.
 



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.