in src/main/java/org/apache/directory/fortress/web/model/AuditBindListModel.java [89:116]
public SerializableList<Bind> getObject()
{
if ( binds != null )
{
LOG.debug( ".getObject count: " + binds.size() );
return binds;
}
// if caller did not set userId return an empty list:
if ( ( userAudit == null ) ||
(
!StringUtils.isNotEmpty( userAudit.getUserId() ) &&
( userAudit.getBeginDate() == null ) &&
( userAudit.getEndDate() == null )
)
)
{
LOG.debug(".getObject null");
binds = new SerializableList<>( new ArrayList<Bind>() );
}
else
{
// get the list of matching bind records from fortress:
binds = new SerializableList<>( getList(userAudit) );
}
return binds;
}