Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kurt Zeilenga
committed
Apr 23, 2004
1 parent
560ee9f
commit f6428fe
Showing
22 changed files
with
3,729 additions
and
3,729 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
612 changes: 306 additions & 306 deletions
612
com/novell/ldap/events/edir/EdirEventIntermediateResponse.java
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,88 @@ | ||
/* ************************************************************************** | ||
* $OpenLDAP$ | ||
* | ||
* Copyright (C) 1999-2002 Novell, Inc. All Rights Reserved. | ||
* | ||
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND | ||
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT | ||
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS | ||
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" | ||
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION | ||
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP | ||
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT | ||
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. | ||
******************************************************************************/ | ||
package com.novell.ldap.events.edir; | ||
|
||
/** | ||
* This class is a bean for Specifying the Edirectory Events | ||
* classification ,events type and event filterstring. These parameter | ||
* are used for registering for edirectory events. | ||
* | ||
* <p> | ||
* <b>Note:</b> The filterString argument is used only by | ||
* <i>registerforFilterEvent()</i> request and the simple register | ||
* request <i>registerforEvent()</i> ignores the same. | ||
* </p> | ||
* | ||
* @see EdirEventSource#registerforEvent | ||
* @see EdirEventSource#registerforFilterEvent | ||
*/ | ||
public class EdirEventSpecifier { | ||
private final int eventClassfication; | ||
private final int eventType; | ||
private final String filter; | ||
|
||
/** | ||
* Constructor of the EdirEventSpecifier with Classification and Type | ||
* specified. | ||
* | ||
* @param classification The Edirectory Event Classification. | ||
* @param type The Edirectory Event Types. | ||
*/ | ||
public EdirEventSpecifier(final int classification, final int type) { | ||
this(classification, type, null); | ||
} | ||
|
||
/** | ||
* Default Constructor for this class with all the input parameter. | ||
* | ||
* @param classification The Edirectory Event Classification. | ||
* @param type The Edirectory Event Types. | ||
* @param afilter The search Filter for filtering the events. | ||
*/ | ||
public EdirEventSpecifier( | ||
final int classification, final int type, final String afilter | ||
) { | ||
eventClassfication = classification; | ||
eventType = type; | ||
filter = afilter; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Classification Specified for this Event. | ||
* | ||
* @return Event Classification as int. | ||
*/ | ||
public int getEventclassfication() { | ||
return eventClassfication; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Type Specified for this Event. | ||
* | ||
* @return Event Type as int. | ||
*/ | ||
public int getEventtype() { | ||
return eventType; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Filter Specified for this Event. | ||
* | ||
* @return Filter as String. | ||
*/ | ||
public String getFilter() { | ||
return filter; | ||
} | ||
} | ||
/* ************************************************************************** | ||
* $OpenLDAP$ | ||
* | ||
* Copyright (C) 1999-2002 Novell, Inc. All Rights Reserved. | ||
* | ||
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND | ||
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT | ||
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS | ||
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" | ||
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION | ||
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP | ||
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT | ||
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. | ||
******************************************************************************/ | ||
package com.novell.ldap.events.edir; | ||
|
||
/** | ||
* This class is a bean for Specifying the Edirectory Events | ||
* classification ,events type and event filterstring. These parameter | ||
* are used for registering for edirectory events. | ||
* | ||
* <p> | ||
* <b>Note:</b> The filterString argument is used only by | ||
* <i>registerforFilterEvent()</i> request and the simple register | ||
* request <i>registerforEvent()</i> ignores the same. | ||
* </p> | ||
* | ||
* @see EdirEventSource#registerforEvent | ||
* @see EdirEventSource#registerforFilterEvent | ||
*/ | ||
public class EdirEventSpecifier { | ||
private final int eventClassfication; | ||
private final int eventType; | ||
private final String filter; | ||
|
||
/** | ||
* Constructor of the EdirEventSpecifier with Classification and Type | ||
* specified. | ||
* | ||
* @param classification The Edirectory Event Classification. | ||
* @param type The Edirectory Event Types. | ||
*/ | ||
public EdirEventSpecifier(final int classification, final int type) { | ||
this(classification, type, null); | ||
} | ||
|
||
/** | ||
* Default Constructor for this class with all the input parameter. | ||
* | ||
* @param classification The Edirectory Event Classification. | ||
* @param type The Edirectory Event Types. | ||
* @param afilter The search Filter for filtering the events. | ||
*/ | ||
public EdirEventSpecifier( | ||
final int classification, final int type, final String afilter | ||
) { | ||
eventClassfication = classification; | ||
eventType = type; | ||
filter = afilter; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Classification Specified for this Event. | ||
* | ||
* @return Event Classification as int. | ||
*/ | ||
public int getEventclassfication() { | ||
return eventClassfication; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Type Specified for this Event. | ||
* | ||
* @return Event Type as int. | ||
*/ | ||
public int getEventtype() { | ||
return eventType; | ||
} | ||
|
||
/** | ||
* The Edirectory Event Filter Specified for this Event. | ||
* | ||
* @return Filter as String. | ||
*/ | ||
public String getFilter() { | ||
return filter; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
/* ************************************************************************** | ||
* $OpenLDAP$ | ||
* | ||
* Copyright (C) 1999-2002 Novell, Inc. All Rights Reserved. | ||
* | ||
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND | ||
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT | ||
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS | ||
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" | ||
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION | ||
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP | ||
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT | ||
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. | ||
******************************************************************************/ | ||
package com.novell.ldap.events.edir; | ||
|
||
/** | ||
* This interface act as the placeholder used by all the Events Data as a | ||
* common base interface. | ||
* The interface is used as a come point for all the Data classes returned by | ||
* the various events. | ||
*/ | ||
public interface EventResponseData { | ||
} | ||
/* ************************************************************************** | ||
* $OpenLDAP$ | ||
* | ||
* Copyright (C) 1999-2002 Novell, Inc. All Rights Reserved. | ||
* | ||
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND | ||
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT | ||
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS | ||
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" | ||
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION | ||
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP | ||
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT | ||
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. | ||
******************************************************************************/ | ||
package com.novell.ldap.events.edir; | ||
|
||
/** | ||
* This interface act as the placeholder used by all the Events Data as a | ||
* common base interface. | ||
* The interface is used as a come point for all the Data classes returned by | ||
* the various events. | ||
*/ | ||
public interface EventResponseData { | ||
} |
Oops, something went wrong.