|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.source.AbstractObjectDataProvider<TabularSource,lumis.service.wsrp.producer.RemoteConsumerRegistration> lumis.service.wsrp.producer.RegistrationManagementInterfaceDataProvider
public class RegistrationManagementInterfaceDataProvider
/**
IDataProvider
responsible for populating a TabularData
with
the RemoteConsumerRegistration
associated with the current producer.
Field Summary |
---|
Fields inherited from interface lumis.doui.source.IDataProvider |
---|
INTERFACE_INSTANCE_PROPERTY_FIELDS, INTERFACE_INSTANCE_PROPERTY_FILTERS, INTERFACE_INSTANCE_PROPERTY_MAX_ROWS, INTERFACE_INSTANCE_PROPERTY_ORDER_BY, MAX_NUM_ORDER_BY_FIELDS |
Constructor Summary | |
---|---|
RegistrationManagementInterfaceDataProvider()
Default constructor |
Method Summary | |
---|---|
protected int |
getTotalRows(SessionConfig sessionConfig,
TabularSource source,
ITransaction transaction)
Returns the total rows to be set on the generated tabular data. |
protected List<lumis.service.wsrp.producer.RemoteConsumerRegistration> |
loadObjects(SessionConfig sessionConfig,
TabularSource source,
ITransaction transaction)
Loads the objects. |
protected Object |
readProperty(lumis.service.wsrp.producer.RemoteConsumerRegistration object,
String propertyName)
Reads the property value of an object. |
Methods inherited from class lumis.doui.source.AbstractObjectDataProvider |
---|
loadData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistrationManagementInterfaceDataProvider()
Method Detail |
---|
protected List<lumis.service.wsrp.producer.RemoteConsumerRegistration> loadObjects(SessionConfig sessionConfig, TabularSource source, ITransaction transaction) throws PortalException
AbstractObjectDataProvider
loadObjects
in class AbstractObjectDataProvider<TabularSource,lumis.service.wsrp.producer.RemoteConsumerRegistration>
sessionConfig
- the user session information.source
- the source that will be populated.transaction
- the transaction for persistence access.
PortalException
#getTotalRows(SessionConfig, TabularSource, ITransaction)}
protected Object readProperty(lumis.service.wsrp.producer.RemoteConsumerRegistration object, String propertyName) throws UnexpectedException
AbstractObjectDataProvider
If the propertyName is propertyName
, this method tries to read
the value from methods named getPropertyName
or isPropertyName
,
with no parameters.
readProperty
in class AbstractObjectDataProvider<TabularSource,lumis.service.wsrp.producer.RemoteConsumerRegistration>
object
- the object instance.propertyName
- the property name.
UnexpectedException
- if there was an exception thrown by the accessor method.protected int getTotalRows(SessionConfig sessionConfig, TabularSource source, ITransaction transaction) throws PortalException
AbstractObjectDataProvider
If the value returned is a negative value, the total rows on the tabular data is not set. This is the default implementation.
getTotalRows
in class AbstractObjectDataProvider<TabularSource,lumis.service.wsrp.producer.RemoteConsumerRegistration>
sessionConfig
- the user session information.source
- the source that will be populated.transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |