com.centrasite.control.logged.action
Class AbstractLoggedAction
java.lang.Object
com.centrasite.control.logged.action.AbstractLoggedAction
- All Implemented Interfaces:
- ItemsProvider, ILoggedAction
- Direct Known Subclasses:
- LoggedItemsImport, LoggedItemsVersionCreate, LoggedSchemaImport, LoggedWebserviceImport, LoggedXMLServiceImport
public abstract class AbstractLoggedAction
- extends java.lang.Object
- implements ILoggedAction
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLoggedAction
public AbstractLoggedAction(ActionContext actionContext)
AbstractLoggedAction
public AbstractLoggedAction(ActionContext actionContext,
java.util.Collection<RegistryObjectItem> registryObjectItem)
cleanUp
public void cleanUp()
- Specified by:
cleanUp
in interface ILoggedAction
getItems
public java.util.Collection getItems()
- Description copied from interface:
ItemsProvider
- Provide items to be rendered
- Specified by:
getItems
in interface ItemsProvider
- Specified by:
getItems
in interface ILoggedAction
getRegistryObjects
public java.util.Collection getRegistryObjects()
supportsDelayedRead
public boolean supportsDelayedRead()
- Specified by:
supportsDelayedRead
in interface ItemsProvider
- Returns:
- true, if methods prepareItems() and getItem(Object) are supported
for lazy reading / cursoring
prepareItems
public java.util.Collection prepareItems()
throws java.lang.Exception
- Prepare items to get them in subsequent calls to getItem(Object object)
- Specified by:
prepareItems
in interface ItemsProvider
- Throws:
java.lang.Exception
getItem
public Item getItem(java.lang.Object object)
throws java.lang.Exception
- Provide an item to be rendered
- Specified by:
getItem
in interface ItemsProvider
- Throws:
java.lang.Exception
getValidCount
public int getValidCount()
- Specified by:
getValidCount
in interface ILoggedAction
getWarningCount
public int getWarningCount()
- Specified by:
getWarningCount
in interface ILoggedAction
getErrorCount
public int getErrorCount()
- Specified by:
getErrorCount
in interface ILoggedAction
getActionContext
public ActionContext getActionContext()
- Specified by:
getActionContext
in interface ILoggedAction
getEventCallback
public LoggedEventCallback getEventCallback()
setEventCallback
public void setEventCallback(LoggedEventCallback eventCallback_)