Previous Topic

Book Contents

Book Index

Next Topic

Setting Read Limit

To set a read limit:

Application.setReadLimit(boolean aCurrentClient, boolean aCurrentUser, int aLimitType, int aLimit)

It sets read limit according to the parameters.

The call of the method may look as follows:

Application.setReadLimit(FALSE,TRUE,LIMIT_CATALOG,20)

which sets a read for the current user, limiting the number of items displayed in catalogs to 20.

To set read limit for business objects:

Application.setReadLimit(boolean aCurrentClient, boolean aCurrentUser, int aLimitType, boolean aForTechnicalType, int aLimit)

It differs from the first mentioned method only in aForTechnicalType parameter:

See also Getting Read Limit.

See Also

Read Limit on Catalogues and Collections

Getting Read Limit

Parameters