@Component(value="cuba_ScreensLinkHandlerProcessor")
public class ScreensLinkHandlerProcessor
extends java.lang.Object
implements io.jmix.ui.sys.linkhandling.LinkHandlerProcessor, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected AccessDeniedHandler |
accessDeniedHandler |
protected io.jmix.core.DataManager |
dataService |
protected EntityAccessExceptionHandler |
entityAccessExceptionHandler |
protected io.jmix.core.Metadata |
metadata |
static java.lang.String |
NAME |
protected NoSuchScreenHandler |
noSuchScreenHandler |
protected io.jmix.core.ReferenceToEntitySupport |
referenceToEntitySupport |
protected io.jmix.core.FetchPlanRepository |
viewRepository |
protected io.jmix.ui.WindowConfig |
windowConfig |
Constructor and Description |
---|
ScreensLinkHandlerProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext) |
int |
getOrder() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getParamsMap(java.util.Map<java.lang.String,java.lang.String> requestParams) |
void |
handle(io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext) |
protected io.jmix.core.Entity |
loadEntityInstance(EntityLoadInfo info) |
protected void |
openWindow(io.jmix.ui.WindowInfo windowInfo,
io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext) |
public static final java.lang.String NAME
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.core.DataManager dataService
@Autowired protected io.jmix.ui.WindowConfig windowConfig
@Autowired protected io.jmix.core.FetchPlanRepository viewRepository
@Autowired protected EntityAccessExceptionHandler entityAccessExceptionHandler
@Autowired protected AccessDeniedHandler accessDeniedHandler
@Autowired protected NoSuchScreenHandler noSuchScreenHandler
@Autowired protected io.jmix.core.ReferenceToEntitySupport referenceToEntitySupport
public boolean canHandle(io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext)
canHandle
in interface io.jmix.ui.sys.linkhandling.LinkHandlerProcessor
public void handle(io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext)
handle
in interface io.jmix.ui.sys.linkhandling.LinkHandlerProcessor
protected void openWindow(io.jmix.ui.WindowInfo windowInfo, io.jmix.ui.sys.linkhandling.ExternalLinkContext linkContext)
protected java.util.Map<java.lang.String,java.lang.Object> getParamsMap(java.util.Map<java.lang.String,java.lang.String> requestParams)
protected io.jmix.core.Entity loadEntityInstance(EntityLoadInfo info)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered