Package org.exbin.xbup.catalog.update
Class XBCatalogServiceUpdateHandler
- java.lang.Object
-
- org.exbin.xbup.catalog.update.XBCatalogServiceUpdateHandler
-
- All Implemented Interfaces:
org.exbin.xbup.client.update.XBCUpdateHandler
@ParametersAreNonnullByDefault public class XBCatalogServiceUpdateHandler extends java.lang.Object implements org.exbin.xbup.client.update.XBCUpdateHandler
Catalog service update handler.
-
-
Constructor Summary
Constructors Constructor Description XBCatalogServiceUpdateHandler(XBAECatalog catalog, org.exbin.xbup.client.XBCatalogNetServiceClient serviceClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUpdateListener(org.exbin.xbup.client.update.XBCUpdateListener listener)
void
fireUsageEvent(boolean usage)
java.util.Date
getMainLastUpdate()
void
init()
void
performUpdate()
void
performUpdateMain()
void
removeUpdateListener(org.exbin.xbup.client.update.XBCUpdateListener listener)
-
-
-
Constructor Detail
-
XBCatalogServiceUpdateHandler
public XBCatalogServiceUpdateHandler(XBAECatalog catalog, org.exbin.xbup.client.XBCatalogNetServiceClient serviceClient)
-
-
Method Detail
-
init
public void init()
- Specified by:
init
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
getMainLastUpdate
@Nonnull public java.util.Date getMainLastUpdate()
- Specified by:
getMainLastUpdate
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
performUpdateMain
public void performUpdateMain()
- Specified by:
performUpdateMain
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
performUpdate
public void performUpdate()
- Specified by:
performUpdate
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
addUpdateListener
public void addUpdateListener(org.exbin.xbup.client.update.XBCUpdateListener listener)
- Specified by:
addUpdateListener
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
removeUpdateListener
public void removeUpdateListener(org.exbin.xbup.client.update.XBCUpdateListener listener)
- Specified by:
removeUpdateListener
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
fireUsageEvent
public void fireUsageEvent(boolean usage)
- Specified by:
fireUsageEvent
in interfaceorg.exbin.xbup.client.update.XBCUpdateHandler
-
-