public class CommandPaletteManager extends Object implements ICommandPaletteManagerSPI
Constructor and Description |
---|
CommandPaletteManager() |
Modifier and Type | Method and Description |
---|---|
Collection<DirtyItem> |
getDirtyItems()
Returns the existent dirty items.
|
void |
remove(DirtyItem item)
Removes the given dirty item.
|
IQueueTaskProcess |
scheduleRebuildIndex()
Schedule a full index rebuild.
|
IQueueTaskProcess |
scheduleReindexDirtyItems()
Schedule a reindex of dirty items.
|
void |
setDirty(ChannelConfig channel)
Sets the given channel dirty.
|
void |
setDirty(PageConfig page)
Sets the given page dirty.
|
public void setDirty(PageConfig page) throws PortalException
ICommandPaletteManagerSPI
setDirty
in interface ICommandPaletteManagerSPI
page
- the page.PortalException
public void setDirty(ChannelConfig channel) throws PortalException
ICommandPaletteManagerSPI
setDirty
in interface ICommandPaletteManagerSPI
channel
- the channel.PortalException
public void remove(DirtyItem item) throws PortalException
ICommandPaletteManagerSPI
This method uses its own transaction.
remove
in interface ICommandPaletteManagerSPI
item
- the dirty item.PortalException
public Collection<DirtyItem> getDirtyItems()
ICommandPaletteManagerSPI
getDirtyItems
in interface ICommandPaletteManagerSPI
public IQueueTaskProcess scheduleRebuildIndex() throws PortalException
ICommandPaletteManagerSPI
scheduleRebuildIndex
in interface ICommandPaletteManagerSPI
PortalException
public IQueueTaskProcess scheduleReindexDirtyItems() throws PortalException
ICommandPaletteManagerSPI
scheduleReindexDirtyItems
in interface ICommandPaletteManagerSPI
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.