public static class OwMimeManager.OwOpenCommand extends Object
Identifies a open command URL or script.
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
Constructor and Description |
---|
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) |
OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p,
OwObjectReference obj_p,
String additionalParams_p) |
OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p,
OwObjectReference obj_p,
String additionalParams_p,
int page_p) |
OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p,
OwObjectReference obj_p,
String additionalParams_p,
int page_p,
boolean handleEditTag_p) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGetScript()
check if a script can be generated out of the given command
|
boolean |
canGetURL()
check if a script can generated out of the given command
|
String |
getScript(int iViewerMode_p,
OwWindowPositions windowpos_p,
boolean fPreviewMode_p)
get the pure script command if a script is defined by this command
|
String |
getURL()
get the command URL if a pure URL is defined by this command
|
int |
getViewerMode()
get the defined viewer mode to use
|
public OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String additionalParams_p, int page_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMainAppContext context_p, OwObjectReference obj_p, String mimeContext_p, String additionalParams_p, int page_p, boolean handleEditTag_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p, OwObjectReference obj_p, String additionalParams_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p, OwObjectReference obj_p, String additionalParams_p, int page_p) throws Exception
Exception
public OwMimeManager.OwOpenCommand(OwMimeManager mimemanager_p, OwObjectReference obj_p, String additionalParams_p, int page_p, boolean handleEditTag_p) throws Exception
Exception
public int getViewerMode()
public boolean canGetScript()
public String getScript(int iViewerMode_p, OwWindowPositions windowpos_p, boolean fPreviewMode_p) throws Exception
iViewerMode_p
- int override viewer mode or use VIEWER_MODE_DEFAULTwindowpos_p
- OwWindowPositionsfPreviewMode_p
- boolean true = try to open object in a fast preview mode (i.e. do no fancy scripting or open integrated), false = open exactly as defined in the mimetableException
public boolean canGetURL()
public String getURL() throws OwInvalidOperationException
OwInvalidOperationException
- if command is no URLCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.