public class UserExporter extends AbstractExporter<Person>
GenericService.StartCommand, GenericService.StopCommand
mLogger
CLASS_VERSION
state
Constructor and Description |
---|
UserExporter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(IOObject pObjectToExport,
ExportConfiguration pConfiguration)
Returns
true if the given object can be handled by this exporter. |
nu.xom.Element |
build(Person pPerson,
ExportConfiguration pConfiguration)
Creates an exportable representation of the provided object.
|
boolean |
isExportUserAssociatedWithPerson() |
void |
setExportUserAssociatedWithPerson(boolean pExportUserAssociatedWithPerson) |
createElement, createElement, startService, stopService
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
public boolean isExportUserAssociatedWithPerson()
public void setExportUserAssociatedWithPerson(boolean pExportUserAssociatedWithPerson)
public boolean accepts(IOObject pObjectToExport, ExportConfiguration pConfiguration)
Exporter
true
if the given object can be handled by this exporter.pObjectToExport
- the object to be exportedpConfiguration
- the configuration objecttrue
if the given object can be handled by this exporter. false
otherwisepublic nu.xom.Element build(Person pPerson, ExportConfiguration pConfiguration)
Exporter
Exporter.accepts(Object, Object)
)}
returns true
pPerson
- the object to exportpConfiguration
- the configuration object© 1998- 2021 Escenic AS