/* * (non-Javadoc) * * @see org.openntf.domino.Replication#getCutoffDate() */ @Override public DateTime getCutoffDate() { try { return Factory.fromLotus(getDelegate().getCutoffDate(), DateTime.class, this); } catch (NotesException e) { DominoUtils.handleException(e); return null; } }
/* * (non-Javadoc) * * @see org.openntf.domino.Directory#createNavigator() */ @Override public DirectoryNavigator createNavigator() { try { return Factory.fromLotus(getDelegate().createNavigator(), DirectoryNavigator.class, this); } catch (NotesException e) { DominoUtils.handleException(e); return null; } }
protected Session getSession() { try { Session session = Factory.fromLotus(NotesFactory.createSession(), Session.class, null); return session; } catch (Throwable t) { DominoUtils.handleException(t); return null; } }
/* * (non-Javadoc) * * @see org.openntf.domino.Replication#getEntry(java.lang.String, java.lang.String) */ @Override public ReplicationEntry getEntry(final String source, final String destination) { try { return Factory.fromLotus( getDelegate().getEntry(source, destination), ReplicationEntry.class, this); } catch (NotesException e) { DominoUtils.handleException(e); return null; } }
/* * (non-Javadoc) * * @see org.openntf.domino.Directory#lookupNames(java.lang.String, java.lang.String, java.lang.String) */ @Override public DirectoryNavigator lookupNames(String view, String name, String item) { try { return Factory.fromLotus( getDelegate().lookupNames(view, name, item), DirectoryNavigator.class, this); } catch (NotesException e) { DominoUtils.handleException(e); return null; } }
/* * (non-Javadoc) * * @see org.openntf.domino.Directory#lookupAllNames(java.lang.String, java.util.Vector) */ @SuppressWarnings("unchecked") @Override public DirectoryNavigator lookupAllNames(String view, Vector items) { try { return Factory.fromLotus( getDelegate().lookupAllNames(view, items), DirectoryNavigator.class, this); } catch (NotesException e) { DominoUtils.handleException(e); return null; } }