@Component(value="cuba_FoldersLinkHandlerProcessor") public class FoldersLinkHandlerProcessor extends java.lang.Object implements LinkHandlerProcessor, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected DataService |
dataService |
protected Folders |
folders |
static java.lang.String |
NAME |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
FoldersLinkHandlerProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(ExternalLinkContext linkContext) |
int |
getOrder() |
void |
handle(ExternalLinkContext linkContext)
Called to handle action.
|
protected AbstractSearchFolder |
loadFolder(java.util.UUID folderId) |
public static final java.lang.String NAME
@Inject protected DataService dataService
@Inject protected Folders folders
public boolean canHandle(ExternalLinkContext linkContext)
canHandle
in interface LinkHandlerProcessor
public void handle(ExternalLinkContext linkContext)
LinkHandlerProcessor
handle
in interface LinkHandlerProcessor
@Nullable protected AbstractSearchFolder loadFolder(java.util.UUID folderId)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered