/** * Creates a new instance of LookupOperationContext. * * @param session The session to use */ public LookupOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.LOOKUP ) ); } }
/** * Creates a new instance of LookupOperationContext. * * @param session The session to use * @param dn The Entry's Dn we are looking for */ public LookupOperationContext( CoreSession session, Dn dn ) { super( session, dn ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.LOOKUP ) ); } }
/** * Creates a new instance of LookupOperationContext. * * @param session The session to use * @param returningAttributes The attributes to return */ public LookupOperationContext( CoreSession session, String... returningAttributes ) { super( session, returningAttributes ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.LOOKUP ) ); } }
/** * Creates a new instance of LookupOperationContext. * * @param session The session to use * @param dn The Entry's Dn we are looking for * @param returningAttributes The attributes to return */ public LookupOperationContext( CoreSession session, Dn dn, String... returningAttributes ) { super( session, dn, returningAttributes ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.LOOKUP ) ); } }