Package ru.bgcrm.model.process.queue
Class Queue
java.lang.Object
org.bgerp.model.base.Id
org.bgerp.model.base.IdTitle
ru.bgcrm.model.process.queue.Queue
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
void
getMediaColumnList
(String media) getMediaColumnList
(List<String> columnIds) getProcessor
(int id) Selects a processor by ID.Selects a processor by a page URL.getProcessors
(String iface) Processors for interface.void
replaceRowsForMedia
(DynActionForm form, String media, List<Object[]> list) void
replaceRowsForMediaColumns
(DynActionForm form, List<Object[]> list, List<MediaColumn> mediaColumns, boolean isHtmlMedia) Replaces initial rows with cells ordered by configured columns to rows ordered by media columns.void
void
setLastModify
(LastModify lastModify) void
setProcessTypeIds
(Set<Integer> processTypes)
-
Field Details
-
MEDIA_HTML
- See Also:
-
MEDIA_HTML_OPEN
- See Also:
-
MEDIA_PRINT
- See Also:
-
MEDIA_XLS
- See Also:
-
-
Constructor Details
-
Queue
public Queue() -
Queue
-
-
Method Details
-
getConfig
-
clone
-
getMediaColumnList
- Throws:
javassist.NotFoundException
-
getMediaColumnList
public List<MediaColumn> getMediaColumnList(List<String> columnIds) throws javassist.NotFoundException - Throws:
javassist.NotFoundException
-
replaceRowsForMedia
public void replaceRowsForMedia(DynActionForm form, String media, List<Object[]> list) throws SQLException, javassist.NotFoundException - Throws:
SQLException
javassist.NotFoundException
-
replaceRowsForMediaColumns
public void replaceRowsForMediaColumns(DynActionForm form, List<Object[]> list, List<MediaColumn> mediaColumns, boolean isHtmlMedia) throws SQLException Replaces initial rows with cells ordered by configured columns to rows ordered by media columns. During that also extracted additional cell data for some cases.- Parameters:
form
- user HTTP request form.list
- initial rows, ordered by configured columns.mediaColumns
- media columns, ordered by displaying.isHtmlMedia
- is the target media HTML.- Throws:
SQLException
-
getConfigMap
-
setConfig
-
getProcessTypeIds
-
setProcessTypeIds
-
getColumnList
-
getColumnMap
-
getFilterList
-
getProcessor
Selects a processor by ID.- Parameters:
id
- the ID.- Returns:
- the found processor or
null
.
-
getProcessors
Processors for interface.- Parameters:
iface
- value fromInterface
.- Returns:
- list of processors.
-
getProcessorByPageUrl
Selects a processor by a page URL.- Parameters:
url
- the page URL.- Returns:
- the found processor or
null
.
-
getSortSet
-
getActionList
-
getCreateAllowedProcessList
- Returns:
- list of process types, allowed to be created in 'usermob' interface.
-
getLastModify
-
setLastModify
-
getOpenUrl
-
extractFiltersAndSorts
- Throws:
Exception
-