| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api.plugin; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import org.opends.server.types.SearchResultReference; |
| | | import org.opends.server.types.operation.*; |
| | | |
| | | import static org.opends.server.messages.MessageHandler.*; |
| | | import static org.opends.server.messages.PluginMessages.*; |
| | | |
| | | import static org.opends.messages.PluginMessages.*; |
| | | |
| | | |
| | | /** |
| | |
| | | * for this plugin, or {@code false} if not. |
| | | */ |
| | | public boolean isConfigurationAcceptable(PluginCfg configuration, |
| | | List<String> unacceptableReasons) |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | // This default implementation does not perform any special |
| | | // validation. It should be overridden by plugin implementations |
| | |
| | | */ |
| | | public StartupPluginResult doStartup() |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.STARTUP.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.STARTUP.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | * |
| | | * @param reason The human-readable reason for the shutdown. |
| | | */ |
| | | public void doShutdown(String reason) |
| | | public void doShutdown(Message reason) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.SHUTDOWN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.SHUTDOWN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostConnectPluginResult doPostConnect(ClientConnection |
| | | clientConnection) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_CONNECT.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.POST_CONNECT.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | * @param clientConnection The client connection that has been |
| | | * closed. |
| | | * @param disconnectReason The disconnect reason for the closure. |
| | | * @param messageID The message ID for an additional |
| | | * message for the closure, or a negative |
| | | * value if there was no closure message. |
| | | * @param message A message providing additional |
| | | * information about the closure, or |
| | | * <CODE>null</CODE> if there is none. |
| | |
| | | public PostDisconnectPluginResult |
| | | doPostDisconnect(ClientConnection clientConnection, |
| | | DisconnectReason disconnectReason, |
| | | int messageID, String message) |
| | | Message message) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String msg = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_DISCONNECT.getName()); |
| | | throw new UnsupportedOperationException(msg); |
| | | Message msg = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_DISCONNECT.getName()); |
| | | throw new UnsupportedOperationException(msg.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public LDIFPluginResult doLDIFImport(LDIFImportConfig importConfig, |
| | | Entry entry) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.LDIF_IMPORT.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.LDIF_IMPORT.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public LDIFPluginResult doLDIFExport(LDIFExportConfig exportConfig, |
| | | Entry entry) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.LDIF_EXPORT.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.LDIF_EXPORT.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseAbandonOperation abandonOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_ABANDON.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_ABANDON.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationAbandonOperation abandonOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_ABANDON.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_ABANDON.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseAddOperation addOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_ADD.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), PluginType.PRE_PARSE_ADD.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationAddOperation addOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_ADD.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_ADD.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationAddOperation addOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_ADD.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_ADD.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseAddOperation addOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_ADD.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_ADD.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseBindOperation bindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_BIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_BIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationBindOperation bindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_BIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_BIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationBindOperation bindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_BIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_BIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseBindOperation bindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_BIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_BIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseCompareOperation compareOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationCompareOperation compareOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationCompareOperation compareOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseCompareOperation compareOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_COMPARE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseDeleteOperation deleteOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationDeleteOperation deleteOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationDeleteOperation deleteOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseDeleteOperation deleteOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_DELETE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseExtendedOperation extendedOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationExtendedOperation extendedOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | doPostOperation(PostOperationExtendedOperation |
| | | extendedOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseExtendedOperation extendedOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_EXTENDED.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseModifyOperation modifyOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationModifyOperation modifyOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationModifyOperation modifyOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseModifyOperation modifyOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_MODIFY.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseModifyDNOperation modifyDNOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationModifyDNOperation modifyDNOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | Entry oldEntry, Entry newEntry, |
| | | List<Modification> modifications) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.SUBORDINATE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get( |
| | | String.valueOf(pluginDN), |
| | | PluginType.SUBORDINATE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | doPostOperation(PostOperationModifyDNOperation |
| | | modifyDNOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseModifyDNOperation modifyDNOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_MODIFY_DN.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseSearchOperation searchOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreOperationPluginResult |
| | | doPreOperation(PreOperationSearchOperation searchOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_OPERATION_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | processSearchEntry(SearchEntrySearchOperation searchOperation, |
| | | SearchResultEntry searchEntry) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.SEARCH_RESULT_ENTRY.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.SEARCH_RESULT_ENTRY.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | searchOperation, |
| | | SearchResultReference searchReference) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = |
| | | getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.SEARCH_RESULT_REFERENCE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.SEARCH_RESULT_REFERENCE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationSearchOperation searchOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostResponsePluginResult |
| | | doPostResponse(PostResponseSearchOperation searchOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_RESPONSE_SEARCH.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PreParsePluginResult |
| | | doPreParse(PreParseUnbindOperation unbindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_UNBIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.PRE_PARSE_UNBIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult |
| | | doPostOperation(PostOperationUnbindOperation unbindOperation) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_UNBIND.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.POST_OPERATION_UNBIND.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | |
| | | |
| | |
| | | processIntermediateResponse( |
| | | IntermediateResponse intermediateResponse) |
| | | { |
| | | int msgID = MSGID_PLUGIN_TYPE_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(pluginDN), |
| | | PluginType.INTERMEDIATE_RESPONSE.getName()); |
| | | throw new UnsupportedOperationException(message); |
| | | Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED. |
| | | get(String.valueOf(pluginDN), |
| | | PluginType.INTERMEDIATE_RESPONSE.getName()); |
| | | throw new UnsupportedOperationException(message.toString()); |
| | | } |
| | | } |
| | | |