private void notifyPersistenSearchListener(Element element) {
PersistentSearchResult psr = (PersistentSearchResult) ((SearchOp) element.response
.getResponseOp()).getSearchResult();
// test error
if (psr.getResult() != null) {
psr.receiveNotificationHook(psr.getResult());
}
// notify listener
Control[] cs = element.response.getControls();
if (cs != null) {