@Component(value="cuba_ScreensLinkHandlerProcessor") public class ScreensLinkHandlerProcessor extends java.lang.Object implements LinkHandlerProcessor, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected AccessDeniedHandler |
accessDeniedHandler |
protected DataService |
dataService |
protected EntityAccessExceptionHandler |
entityAccessExceptionHandler |
protected Metadata |
metadata |
static java.lang.String |
NAME |
protected NoSuchScreenHandler |
noSuchScreenHandler |
protected ReferenceToEntitySupport |
referenceToEntitySupport |
protected ViewRepository |
viewRepository |
protected WindowConfig |
windowConfig |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
ScreensLinkHandlerProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(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(ExternalLinkContext linkContext)
Called to handle action.
|
protected Entity |
loadEntityInstance(EntityLoadInfo info) |
protected void |
openWindow(WindowInfo windowInfo,
ExternalLinkContext linkContext) |
public static final java.lang.String NAME
@Inject protected Metadata metadata
@Inject protected DataService dataService
@Inject protected WindowConfig windowConfig
@Inject protected ViewRepository viewRepository
@Inject protected EntityAccessExceptionHandler entityAccessExceptionHandler
@Inject protected NoSuchScreenHandler noSuchScreenHandler
@Inject protected ReferenceToEntitySupport referenceToEntitySupport
@Inject protected AccessDeniedHandler accessDeniedHandler
public boolean canHandle(ExternalLinkContext linkContext)
canHandle
in interface LinkHandlerProcessor
public void handle(ExternalLinkContext linkContext)
LinkHandlerProcessor
handle
in interface LinkHandlerProcessor
protected void openWindow(WindowInfo windowInfo, ExternalLinkContext linkContext)
protected java.util.Map<java.lang.String,java.lang.Object> getParamsMap(java.util.Map<java.lang.String,java.lang.String> requestParams)
protected Entity loadEntityInstance(EntityLoadInfo info)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered