public class OwObjectListViewEXTJSGrid extends OwObjectListViewPluginCache implements OwFieldProvider
Object list view based on YUI-EXT Grid view. Displays the results of searches.
Use setObjectList and setColumnInfo to set the objects and columns to display.
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
Modifier and Type | Class and Description |
---|---|
protected static class |
OwObjectListViewEXTJSGrid.OwAjaxColumnEntry
Helper class for column handling.
|
static class |
OwObjectListViewEXTJSGrid.OwColumnInfoBagValue
String-bag-value encoder/decoder for header based column information.
|
OwObjectListViewPluginCache.OwPluginStatus, OwObjectListViewPluginCache.OwPluginStatusCachingUtility
OwObjectListView.OwFilter, OwObjectListView.OwFilterEntry, OwObjectListView.OwHtmlAlignmentMap, OwObjectListView.OwIcon, OwObjectListView.OwObjectListViewEventListner, OwObjectListView.OwPluginEntry
Modifier and Type | Field and Description |
---|---|
protected static String |
AJAX_PARAM_COLUMN
URL/HTTP parameter for column
|
protected static String |
AJAX_PARAM_ROW
URL/HTTP parameter for row
|
protected static String |
COLUMNS_ID_ATTR_BAG
the attribute bag id.
|
static int |
DATATYPE_BOOLEAN
Data type for Boolean values
|
static int |
DATATYPE_DATE
Data type for Date values
|
static int |
DATATYPE_DOUBLE
Data type for Double values
|
static int |
DATATYPE_ENUM
Data type for String enumeration types
|
static int |
DATATYPE_INTEGER
Data type for Integer values
|
static int |
DATATYPE_NOTE
Helper Data type to associate as Note property
|
static int |
DATATYPE_STRING
Data type for String values
|
static int |
DATATYPE_UNKNOWN
Data type for unknown/unsupported types
|
protected static int |
DEFAULT_COLUMN_WIDTH
Default column width
|
static String |
END_ACTION_ID |
static String |
FIRST_PAGE_ACTION_ID |
protected static int |
ICON_WIDTH
Icon width constant
|
static String |
LAST_PAGE_ACTION_ID |
protected HashMap |
m_AjaxColnameToPropertyMap
maps AJAX column names to property names.
|
protected OwFieldManager |
m_FieldManager
Deprecated.
since 4.2.0.0 use set-/
OwPageableListView.getFieldManager() instead |
protected boolean |
m_isNoteEditable
flag that allow to edit notes
|
protected OwObjectCollection |
m_ObjectList
Deprecated.
use
OwPageableListView.getDisplayedPage() instead for rendering |
protected boolean |
m_useTransparentIcon
use transparent icon for not present icons
|
protected static int |
MAX_COLUMN_WIDTH
Max column width
|
protected static int |
MIN_COLUMN_WIDTH
Min column width
|
protected static String |
OBJECT_INDEX_KEY
This definition overrides the OwObjectListView.OBJECT_INDEX_KEY constant because of
AJAX framework integration.
|
protected HashSet |
occuringObjectTypes
occurring object types in list
|
protected static String |
PLUG_INDEX_KEY
query string key for the plugin index.
|
protected boolean |
pluginCacheCreated
flag regarding the plugin cache creation
|
static String |
POS1_ACTION_ID |
static String |
READ_ONLY_COLUMNS_NODE_NAME
XML node name for the list of columns,
which should be read-only in INLINE editing mode.
|
protected static char[] |
SPECIAL_CHARS |
static String |
TOOLTIP_BLOCK_TOKEN_PROPERTY_END |
static char |
TOOLTIP_BLOCK_TOKEN_PROPERTY_END_CHAR
tooltip block (property dependent HLTL sequence) end token
|
static String |
TOOLTIP_BLOCK_TOKEN_PROPERTY_START
tooltip block (property dependent HLTL sequence) start token
|
static String |
VIEWER_SERVLET_REPLACE_TOKEN_BASEURL
token in the viewer servlet to be replaced by the base URL of the server with application context
|
static String |
VIEWER_SERVLET_REPLACE_TOKEN_DMSID
token in the viewer servlet to be replaced by the DMSID
|
static char |
VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_ENCODE_CHAR
char to indicate HTML encoding of given property
|
static String |
VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_END
token in the viewer servlet to be replaced by the property end delimiter
|
static char |
VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_JSENCODE_CHAR
char to indicate JavaScript encoding of given property
|
static char |
VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_NOENCODE_CHAR
char to indicate NO encoding of given property
|
static String |
VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_START
token in the viewer servlet to be replaced by the property following the :
|
static String |
VIEWER_SERVLET_REPLACE_TOKEN_SERVERURL
token in the viewer servlet to be replaced by the base URL of the server
|
m_HtmlAlignments, m_isStickyFooterInUse, m_pageSelectorComponent, m_pagingNode, MULTISELECT_COMOBO_MENU_NAME, QUERY_KEY_PAGE, SELECT_DESELECT_NONCONSECUTIVE_OBJECTS_ACTION_ID, SORT_PROPERTY_KEY, VIEW_MASK_INLINE_EDITING, VIEW_MASK_INSTANCE_PLUGINS, VIEW_MASK_MULTI_SELECTION, VIEW_MASK_NO_PAGE_BUTTONS, VIEW_MASK_SINGLE_SELECTION, VIEW_MASK_USE_DOCUMENT_PLUGINS, VIEW_MASK_USE_SELECT_BUTTON
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL
EMPTY_STRING
Constructor and Description |
---|
OwObjectListViewEXTJSGrid()
construct a object list view
with default view mask (0).
|
OwObjectListViewEXTJSGrid(int iViewMask_p)
construct a object list view
|
Modifier and Type | Method and Description |
---|---|
protected int |
computeEndIndex()
Deprecated.
since 4.2.0.0 use
OwPageableListView.getCurrentPage() and OwPageableListView.getPageSize() |
static String |
convertDateFormat(String javaSimpleDateFormat_p)
Java and ExtJS use different date format markup strings.
|
protected OwMimeManager |
createMimeManager()
(overridable) factory method the instantiate the MimeManager
|
void |
detach()
remove view and all subviews from context
|
protected String |
encodeJsonString(String in_p)
replace all JavaScript Special characters with their escape sequence
|
protected ArrayList |
getAjaxColumns() |
protected int |
getColumnDataType(OwPropertyClass propertyClass_p)
Returning an int representing the data type of the property.
|
String |
getDateFormat()
Get the date format for current context/instance.
|
protected String |
getDateInTransportFormat(Date dateVal_p)
Transform a Date into the defined transport format.
|
char |
getDecimalSeparator()
Character which represents the decimal separator.
|
protected String |
getDefaultActionString(OwObject obj)
Get a string which represents the default action for provided object.
|
protected String |
getDocumentInstanceFunctionPluginLinks(OwObject obj_p,
int iIndex_p,
Collection instancePluginsList_p)
insert the document function plugins for the requested row index and object
|
protected String |
getEncodedPropertyValue(OwObjectListViewEXTJSGrid.OwAjaxColumnEntry ace_p,
OwProperty prop_p)
Encode the value of the given property depending on data type of the property.
|
OwField |
getField(String strFieldClassName_p)
Methods for OwFieldProvider interface **
|
String |
getFieldProviderName()
get a name that identifies the field provider, e.g.
|
Object |
getFieldProviderSource()
get the source object that originally provided the fields.
|
int |
getFieldProviderType()
get the type of field provider can be one or more of TYPE_...
|
Collection |
getFields()
get all the properties in the form
|
String |
getIcon()
get the icon URL for this view to be displayed
|
String |
getLoadingMessage()
Returns the localized loading message.
|
protected String |
getLockedStateIcon(OwObject obj)
Return a String which contains the Icon for representing the lock status of provide object.
|
protected OwMimeManager |
getMimeManager()
Get the instance of the MIME manager used to open the objects
|
Collection |
getObjectInstancePluginList()
Returns a list of all supported plugins shown next to object instance.
|
protected List |
getReadOnlyColumns()
Returns the definitions of read only columns,
List of String's which represent the ID/symbolic name
of properties which should be read-only marked.
|
Collection |
getRetrievalPropertyNames()
get a collection of property names that are needed to display the Objects in the list
i.e.
|
protected String |
getRowClassName(int iIndex_p,
OwObject obj_p)
overridable get the style class name for the row
|
Object |
getSafeFieldValue(String sName_p,
Object defaultvalue_p)
retrieve the value of a Field
|
boolean |
getShowPaging()
Deprecated.
since 4.2.0.0 use
OwObjectListView.hasPaging() instead |
int |
getStartRow()
Returns the current start row.
|
String |
getTitle()
overridable title of the view
|
protected String |
getToolTipPattern()
Return the configured tool tip pattern, or null
if no pattern was defined.
|
protected String |
getTooltipUrl(OwObject obj_p)
Returns the Tooltip URL
|
protected String |
getVersionRepresentation(OwObject obj)
Return a String representing the Version of provided obj.
|
protected String |
getVersionStateIcon(OwObject obj)
Return an icon representation of the version state for provided object.
|
boolean |
hasToolTipPattern()
Method returning boolean value, depending
on the existence of a tool tip pattern.
|
protected void |
init()
init this view after the context has been set
|
protected boolean |
isConfiguredAsReadOnly(String property_p)
Check if the given property name was configured as read only.
|
boolean |
isMultiSelectionEnabled()
Check if multiple row selection is enabled.
|
boolean |
isNoteEditable()
Check if the note can be edited.
|
boolean |
isNoteProperty(String propName_p)
Return flag, which indicates if the given property is defined as Note property.
|
static boolean |
isPhpSpecialChar(char testChar_p)
Check if the character has a meaning as a PHP date format pattern.
|
protected boolean |
isPropertyEditable(OwPropertyClass propertyClass_p)
Check if the given property is editable, for inline editing in the UI.
|
void |
onAjaxgetColumnInfo(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon AJAX request "getColumnInfo"
|
void |
onAjaxgetContextmenu(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon AJAX request "getColumnInfo"
|
void |
onAjaxgetEnumInfo(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon getEnumInfo AJAX call.
encodes the enumeration entries with the following format : [[value,display_text],display_text] |
void |
onAjaxPersistSelection(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
Called upon AJAX request "PersistSelection"
|
void |
onAjaxReadList(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon AJAX request "ReadList"
|
void |
onAjaxsetCellData(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon AJAX request "getColumnInfo"
|
void |
onAjaxsetColumnInfo(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
called upon AJAX request "setColumnInfo"
|
void |
onPluginEvent(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked on a plugin link of an object entry in the list
|
void |
onRender(Writer w_p)
render the view
|
protected void |
processOccurred(OwObject obj)
Process occurred object types, for
quicker handling of document functions.
|
protected void |
processSortDefinition(javax.servlet.http.HttpServletRequest req)
Process entering request for changes in sorting and notify listener of changes.
|
protected void |
renderMainRegion(Writer w_p)
(overridable) render the JSP page
|
void |
setColumnInfo(Collection columnInfo_p)
set the list of column info to be used by this list view
|
void |
setConfigNode(Node node_p)
optional use the default constructor and set a config node to configure the view with XML
This may override the settings in the ViewMaks, see setViewMask
|
void |
setField(String sName_p,
Object value_p)
modify a Field value, but does not save the value right away
|
void |
setNoteEditable(boolean isNoteEditable_p)
Set the editable note property.
|
void |
setObjectIterable(OwIterable<OwObject> iterable,
OwObject parentObject_p)
set a pageable interface for retrieval of items to display.
|
void |
setObjectList(OwObjectCollection objectList_p,
OwObject parentObject_p)
set the list of objects to be displayed by this list view
|
void |
setRefreshContext(OwClientRefreshContext eventlister_p)
register an event listener with this view to receive notifications
|
protected boolean |
showsContextMenuPlugin(OwDocumentFunction docFunction_p) |
createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, getPluginCache, setPluginCache
canPageNext, canPagePrev, getColumnInfo, getCurrentPage, getDisplayedPage, getFieldManager, getObjectIterable, getObjectList, getPageAbsolutEventURL, getPageCount, getPageNextEventURL, getPagePrevEventURL, getPageSize, getRefreshContext, getSort, isCollectionComplete, isPagingEnabled, onClientRefreshContextUpdate, onPageAbsolut, onPageNext, onPagePrev, pageAbsolut, setFieldManager, setSort
addAjaxPersistenceService, addViewMask, clearViewMask, copy, createFilter, createFilter, createFilter, createPageSelector, getContextMenuFunction, getCount, getDocumentFunction, getDocumentFunctionPluginList, getEventListner, getFilter, getFilterOperators, getFilterSearch, getListViewID, getObjectByIndex, getParentObject, getPluginEntries, hasPaging, hasViewMask, isEmptyPluginColumnRendered, isObjectSelectionPersisted, isObjectTypeSupportedByPlugin, isShowMaximized, isStickyFooterInUse, persistAjaxTriggeredSelection, persistAjaxTriggeredSelection, persistObjectSelectionState, renderContextMenu, resetPersistedSelectionState, setCurrentPage, setDocumentFunctionPluginList, setEventListner, setFilter, setParentObject, setRenderEmptyPluginColumn, setStickyFooterInUse, setViewMask
activate, addView, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext
getBreadcrumbPart, isNamedRegion, isRegion, render, renderNamedRegion, renderRegion
protected static final char[] SPECIAL_CHARS
protected static final int ICON_WIDTH
protected static final int DEFAULT_COLUMN_WIDTH
protected static final int MAX_COLUMN_WIDTH
protected static final int MIN_COLUMN_WIDTH
protected static final String COLUMNS_ID_ATTR_BAG
protected static final String OBJECT_INDEX_KEY
protected static final String PLUG_INDEX_KEY
public static final String READ_ONLY_COLUMNS_NODE_NAME
public static final String VIEWER_SERVLET_REPLACE_TOKEN_DMSID
public static final String VIEWER_SERVLET_REPLACE_TOKEN_SERVERURL
public static final String VIEWER_SERVLET_REPLACE_TOKEN_BASEURL
public static final String VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_START
public static final char VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_ENCODE_CHAR
public static final char VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_JSENCODE_CHAR
public static final char VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_NOENCODE_CHAR
public static final String VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_END
public static final char TOOLTIP_BLOCK_TOKEN_PROPERTY_END_CHAR
public static final String TOOLTIP_BLOCK_TOKEN_PROPERTY_END
public static final String TOOLTIP_BLOCK_TOKEN_PROPERTY_START
public static final int DATATYPE_UNKNOWN
public static final int DATATYPE_STRING
public static final int DATATYPE_INTEGER
public static final int DATATYPE_BOOLEAN
public static final int DATATYPE_DATE
public static final int DATATYPE_DOUBLE
public static final int DATATYPE_ENUM
public static final int DATATYPE_NOTE
protected static final String AJAX_PARAM_COLUMN
protected static final String AJAX_PARAM_ROW
public static String FIRST_PAGE_ACTION_ID
public static String LAST_PAGE_ACTION_ID
public static String POS1_ACTION_ID
public static String END_ACTION_ID
protected OwObjectCollection m_ObjectList
OwPageableListView.getDisplayedPage()
instead for renderingprotected boolean pluginCacheCreated
protected OwFieldManager m_FieldManager
OwPageableListView.getFieldManager()
insteadprotected HashMap m_AjaxColnameToPropertyMap
protected HashSet occuringObjectTypes
protected boolean m_useTransparentIcon
protected boolean m_isNoteEditable
public OwObjectListViewEXTJSGrid(int iViewMask_p)
iViewMask_p
- int combination of VIEW_MASK_... defined flagspublic OwObjectListViewEXTJSGrid()
protected void init() throws Exception
init
in class OwObjectListView
Exception
protected OwMimeManager createMimeManager()
public void detach()
detach
in class OwPageableListView
public void setConfigNode(Node node_p) throws Exception
setConfigNode
in class OwObjectListView
node_p
- XML node with configuration informationException
protected String getDocumentInstanceFunctionPluginLinks(OwObject obj_p, int iIndex_p, Collection instancePluginsList_p) throws Exception
obj_p
- OwObject to create Function plugin foriIndex_p
- the row / object indexinstancePluginsList_p
- Collection of plugins that are visible (have there own column) together with the global indexException
protected void renderMainRegion(Writer w_p) throws Exception
w_p
- Writer to write toException
public int getStartRow()
public void onAjaxReadList(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
protected void processSortDefinition(javax.servlet.http.HttpServletRequest req) throws Exception
req
- HttpServletRequestException
protected String getVersionStateIcon(OwObject obj) throws Exception
obj
- OwObjectException
protected String getVersionRepresentation(OwObject obj) throws Exception
obj
- OwObjectException
protected String getLockedStateIcon(OwObject obj) throws Exception
obj
- OwObject.Exception
protected String getDefaultActionString(OwObject obj) throws Exception
obj
- OwObjectnull
in case no open command existException
protected String getTooltipUrl(OwObject obj_p)
obj_p
- public void onAjaxPersistSelection(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
public void onAjaxgetEnumInfo(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
[[value,display_text],display_text]
request_p
- response_p
- Exception
public void onAjaxgetColumnInfo(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
public void onAjaxsetColumnInfo(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
protected boolean showsContextMenuPlugin(OwDocumentFunction docFunction_p)
docFunction_p
- true
if this AJAX grid list view should display the given document functionpublic void onAjaxgetContextmenu(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
public void onAjaxsetCellData(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
public void onPluginEvent(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
protected String encodeJsonString(String in_p)
in_p
- String input to be encodedpublic String getDateFormat()
convertDateFormat(String)
public char getDecimalSeparator()
public static String convertDateFormat(String javaSimpleDateFormat_p)
javaSimpleDateFormat_p
- String to search and replacepublic static boolean isPhpSpecialChar(char testChar_p)
testChar_p
- char character to testpublic String getTitle()
getTitle
in interface OwBaseView
getTitle
in class OwView
public Collection getRetrievalPropertyNames() throws Exception
getRetrievalPropertyNames
in class OwPageableListView
Exception
protected String getRowClassName(int iIndex_p, OwObject obj_p)
iIndex_p
- int row indexobj_p
- current OwObjectpublic void setColumnInfo(Collection columnInfo_p)
setColumnInfo
in class OwPageableListView
columnInfo_p
- List of OwFieldColumnInfo'spublic void setObjectList(OwObjectCollection objectList_p, OwObject parentObject_p) throws Exception
setObjectList
in class OwPageableListView
objectList_p
- OwObjectCollection, can be nullparentObject_p
- OwObject parent which created the object list, can be null if no parent is specifiedException
public void setObjectIterable(OwIterable<OwObject> iterable, OwObject parentObject_p) throws Exception
OwObjectListView
setObjectIterable
in class OwPageableListView
iterable
- OwIterable returning OwObjectsparentObject_p
- OwObjectException
@Deprecated public boolean getShowPaging() throws Exception
OwObjectListView.hasPaging()
insteadtrue
if paging component should be displayed.Exception
public void setRefreshContext(OwClientRefreshContext eventlister_p)
setRefreshContext
in class OwPageableListView
eventlister_p
- OwClientRefreshContext interfacepublic OwField getField(String strFieldClassName_p) throws Exception, OwObjectNotFoundException
getField
in interface OwFieldProvider
strFieldClassName_p
- String class name of requested fieldsException
OwObjectNotFoundException
public String getFieldProviderName()
OwFieldProvider
getFieldProviderName
in interface OwFieldProvider
public Object getFieldProviderSource()
OwFieldProvider
getFieldProviderSource
in interface OwFieldProvider
public int getFieldProviderType()
OwFieldProvider
getFieldProviderType
in interface OwFieldProvider
public Collection getFields() throws Exception
getFields
in interface OwFieldProvider
Exception
public Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
getSafeFieldValue
in interface OwFieldProvider
sName_p
- defaultvalue_p
- public void setField(String sName_p, Object value_p) throws Exception, OwObjectNotFoundException
setField
in interface OwFieldProvider
sName_p
- value_p
- Exception
OwObjectNotFoundException
public Collection getObjectInstancePluginList()
protected void processOccurred(OwObject obj)
obj
- OwObjectpublic boolean isNoteEditable()
true
if the notes are editablepublic void setNoteEditable(boolean isNoteEditable_p)
isNoteEditable_p
- @Deprecated protected int computeEndIndex()
OwPageableListView.getCurrentPage()
and OwPageableListView.getPageSize()
protected OwMimeManager getMimeManager()
protected int getColumnDataType(OwPropertyClass propertyClass_p) throws Exception
-1 = unknown/unsupported (DATATYPE_UNKNOWN
) 0 = String (DATATYPE_STRING
) 1 = Integer (DATATYPE_INTEGER
) 2 = Boolean (DATATYPE_BOOLEAN
) 3 = Date (DATATYPE_DATE
) 4 = Double (DATATYPE_DOUBLE
) 5 = Enumeration (any kind of) (DATATYPE_ENUM
) 6 = Note property handling (DATATYPE_NOTE
)
propertyClass_p
- OwPropertyClass from which to retrieve the data typeException
- if cannot retrieve information from property classpublic boolean isNoteProperty(String propName_p)
propName_p
- String representing the property symbolic or unique nameprotected boolean isPropertyEditable(OwPropertyClass propertyClass_p) throws Exception
propertyClass_p
- OwPropertyClass to check for editing (non-null)Exception
- if can not request information from given property classpublic boolean hasToolTipPattern()
protected String getToolTipPattern()
protected String getDateInTransportFormat(Date dateVal_p)
dateVal_p
- Date (non-null)protected String getEncodedPropertyValue(OwObjectListViewEXTJSGrid.OwAjaxColumnEntry ace_p, OwProperty prop_p) throws Exception
ATTENTION: Neither the given property nor the property value
should be null
, otherwise it will lead to a NullpointerException
.
ace_p
- OwAjaxColumnEntry represents the column for which to render the columnprop_p
- OwProperty to be used for value retrievingException
protected List getReadOnlyColumns()
protected boolean isConfiguredAsReadOnly(String property_p)
property_p
- String ID/symbolic name of propertygetReadOnlyColumns()
getReadOnlyColumns()
public boolean isMultiSelectionEnabled()
public String getLoadingMessage()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.