@Override public List<String> getInterceptors(OperationEnum operation) { return wrapped.getInterceptors(operation); }
/** * Creates a new instance of MoveAndRenameOperationContext. * * @param session The session to use */ public MoveAndRenameOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.MOVE_AND_RENAME ) ); } }
/** * Creates a new instance of MoveOperationContext. * * @param session The session to use */ public MoveOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.MOVE ) ); } }
/** * Creates a new instance of RenameOperationContext. * * @param session The session to use */ public RenameOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.RENAME ) ); } }
/** * Creates a new instance of BindOperationContext. * * @param session The session to use */ public BindOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.BIND ) ); } }
/** * Creates a new instance of AddOperationContext. * * @param session the current Session */ public AddOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.ADD ) ); } }
/** * Creates a new instance of GetRootDseOperationContext. * * @param session The session to use * @param dn The entry Dn used to get the rootDse */ public GetRootDseOperationContext( CoreSession session, Dn dn ) { super( session, dn ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.GET_ROOT_DSE ) ); } }
/** * Creates a new instance of CompareOperationContext. * * @param session The session to use */ public CompareOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.COMPARE ) ); } }
/** * 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 HasEntryOperationContext. * * @param session The session to use */ public HasEntryOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.HAS_ENTRY ) ); } }
/** * 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 ModifyOperationContext. * * @param session The session to use */ public ModifyOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.MODIFY ) ); } }
/** * Creates a new instance of SearchOperationContext. * * @param session The session to use */ public SearchOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.SEARCH ) ); } }
/** * Creates a new instance of GetRootDseOperationContext. * * @param session The session to use */ public GetRootDseOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.GET_ROOT_DSE ) ); } }
/** * Creates a new instance of DeleteOperationContext. * * @param session The session to use */ public DeleteOperationContext( CoreSession session ) { super( session ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.DELETE ) ); } }
/** * Creates a new instance of CompareOperationContext. * * @param session The session to use * @param dn The Dn of teh entry to compare with */ public CompareOperationContext( CoreSession session, Dn dn ) { super( session, dn ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.COMPARE ) ); } }
/** * Creates a new instance of DeleteOperationContext. * * @param session The session to use * @param deleteDn The entry Dn to delete */ public DeleteOperationContext( CoreSession session, Dn deleteDn ) { super( session, deleteDn ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.DELETE ) ); } }
/** * Creates a new instance of UnbindOperationContext. * * @param session The session to use */ public UnbindOperationContext( CoreSession session ) { super( session, session.getEffectivePrincipal().getDn() ); setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.UNBIND ) ); }
/** * Creates a new instance of AddOperationContext. * * @param session the current Session * @param entry the entry being added */ public AddOperationContext( CoreSession session, Entry entry ) { super( session, entry.getDn() ); this.entry = new ClonedServerEntry( entry ); if ( session != null ) { setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.ADD ) ); } }
/** * Creates a new instance of UnbindOperationContext. * * @param session The session to use * @param unbindRequest The UnbindRequest to process */ public UnbindOperationContext( CoreSession session, UnbindRequest unbindRequest ) { super( session, session.getEffectivePrincipal().getDn() ); setRequestControls( unbindRequest.getControls() ); setInterceptors( session.getDirectoryService().getInterceptors( OperationEnum.UNBIND ) ); }