Package lumis.portal.commandpalette
Class CommandPaletteManager
- java.lang.Object
-
- lumis.portal.commandpalette.CommandPaletteManager
-
- All Implemented Interfaces:
ICommandPaletteManagerSPI
public class CommandPaletteManager extends java.lang.Object implements ICommandPaletteManagerSPI
Command palette manager.- Since:
- 10.3.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description CommandPaletteManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.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.
-
-
-
Method Detail
-
setDirty
public void setDirty(PageConfig page) throws PortalException
Description copied from interface:ICommandPaletteManagerSPI
Sets the given page dirty.- Specified by:
setDirty
in interfaceICommandPaletteManagerSPI
- Parameters:
page
- the page.- Throws:
PortalException
-
setDirty
public void setDirty(ChannelConfig channel) throws PortalException
Description copied from interface:ICommandPaletteManagerSPI
Sets the given channel dirty.- Specified by:
setDirty
in interfaceICommandPaletteManagerSPI
- Parameters:
channel
- the channel.- Throws:
PortalException
-
remove
public void remove(DirtyItem item) throws PortalException
Description copied from interface:ICommandPaletteManagerSPI
Removes the given dirty item.This method uses its own transaction.
- Specified by:
remove
in interfaceICommandPaletteManagerSPI
- Parameters:
item
- the dirty item.- Throws:
PortalException
-
getDirtyItems
public java.util.Collection<DirtyItem> getDirtyItems()
Description copied from interface:ICommandPaletteManagerSPI
Returns the existent dirty items.- Specified by:
getDirtyItems
in interfaceICommandPaletteManagerSPI
- Returns:
- the existent dirty items.
-
scheduleRebuildIndex
public IQueueTaskProcess scheduleRebuildIndex() throws PortalException
Description copied from interface:ICommandPaletteManagerSPI
Schedule a full index rebuild.- Specified by:
scheduleRebuildIndex
in interfaceICommandPaletteManagerSPI
- Returns:
- the process.
- Throws:
PortalException
-
scheduleReindexDirtyItems
public IQueueTaskProcess scheduleReindexDirtyItems() throws PortalException
Description copied from interface:ICommandPaletteManagerSPI
Schedule a reindex of dirty items.- Specified by:
scheduleReindexDirtyItems
in interfaceICommandPaletteManagerSPI
- Returns:
- the process.
- Throws:
PortalException
-
-