Interface TableMetaDataPersonalizerInterface
public interface TableMetaDataPersonalizerInterface
interface for objects that personalize TableMetaData for (user) actions.
e.g., to hide fields from a subset of users - as the query action passes the
table being queried through this class, so removing a field from the table
should effectively hide such a field's data.
An application's implementation class needs to be registered in a QInstance
via:
qInstance.addSupplementalCustomizer(TableMetaDataPersonalizerInterface.CUSTOMIZER_TYPE,
new QCodeReference(SomeImplementation.class));
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SupplementalCustomizerType
SupplementalCustomizerType reference used to refer to instances of this interface. -
Method Summary
Modifier and TypeMethodDescriptionexecute
(TableMetaDataPersonalizerInput tableMetaDataPersonalizerInput) It is vitally important that theQTableMetaData
returned is a clone if it has any changes, to avoid changing the meta data for the whole application!
-
Field Details
-
CUSTOMIZER_TYPE
SupplementalCustomizerType reference used to refer to instances of this interface.
-
-
Method Details
-
execute
QTableMetaData execute(TableMetaDataPersonalizerInput tableMetaDataPersonalizerInput) throws QException It is vitally important that theQTableMetaData
returned is a clone if it has any changes, to avoid changing the meta data for the whole application!- Throws:
QException
-