| | |
| | | '\1', |
| | | ] |
| | | } |
| | | |
| | | ## Replacements for Schema |
| | | SDK_SCHEMA = { |
| | | :dirs => JAVA_DIRS, |
| | | :extensions => ["java"], |
| | | :replacements => |
| | | [ |
| | | /import org.opends.server.types.Schema;/, |
| | | 'import org.forgerock.opendj.ldap.schema.Schema;', |
| | | ] |
| | | } |
| | | |
| | | ############################### List of replacements to run ################################# |
| | | |
| | | REPLACEMENTS = [ NEW_CONFIG ] |
| | | REPLACEMENTS = [ SDK_SCHEMA ] |
| | | |
| | | ################################### Processing methods ######################################## |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.util.ConfigFromConnection; |
| | | import org.opends.quicksetup.UserData; |
| | | import org.opends.server.tools.tasks.TaskEntry; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | import com.forgerock.opendj.util.OperatingSystem; |
| | | |
| | |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.Modification; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.LDIFReader; |
| | | import org.opends.server.util.LDIFWriter; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.ui.ProgressDialog; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * The task that is in charge of modifying an attribute definition (and all |
| | |
| | | import org.opends.guitools.controlpanel.ui.nodes.BasicNode; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.AdminToolMessages; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The task that is called when we must modify an entry. */ |
| | | public class ModifyEntryTask extends Task |
| | |
| | | import org.forgerock.opendj.ldap.schema.ObjectClass; |
| | | import org.forgerock.opendj.ldap.schema.SchemaBuilder; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * The task that is in charge of modifying an object class definition (and all |
| | |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.HostPort; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.SetupUtils; |
| | | |
| | | import com.forgerock.opendj.cli.CommandBuilder; |
| | |
| | | import org.opends.server.types.LDAPException; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.RawFilter; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * Abstract class used to re-factor some code between the classes that are used |
| | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.opendj.ldap.schema.Syntax; |
| | | import org.forgerock.opendj.ldap.schema.AttributeType; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** Panel containing information about an attribute syntax. */ |
| | | public class AttributeSyntaxPanel extends SchemaElementPanel |
| | |
| | | import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent; |
| | | import org.opends.guitools.controlpanel.util.BackgroundTask; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * Panel that is displayed in the dialog where the user can specify the value |
| | |
| | | import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent; |
| | | import org.opends.guitools.controlpanel.util.BackgroundTask; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The panel used to display a binary value. */ |
| | | public class BinaryValuePanel extends StatusGenericPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.nodes.DndBrowserNodes; |
| | | import org.opends.guitools.controlpanel.util.LDAPEntryReader; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | |
| | | /** |
| | |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.guitools.controlpanel.util.ViewPositions; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The pane that is displayed when the user clicks on 'Browse Schema'. */ |
| | | class BrowseSchemaPanel extends StatusGenericPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.renderer.SchemaElementComboBoxCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.ui.components.TitlePanel; |
| | | import org.opends.guitools.controlpanel.ui.renderer.SchemaElementComboBoxCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.forgerock.opendj.ldap.schema.Syntax; |
| | | import org.forgerock.opendj.ldap.schema.AttributeType; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.config.ConfigConstants; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent; |
| | | import org.opends.guitools.controlpanel.task.Task; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** Panel that appears when the user defines a new index. */ |
| | | public class NewIndexPanel extends AbstractIndexPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.renderer.SchemaElementComboBoxCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.config.ConfigConstants; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent; |
| | | import org.opends.guitools.controlpanel.ui.components.AddRemovePanel; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * This is the class used to edit the object class of a given entry, it displays |
| | |
| | | import org.forgerock.opendj.ldap.schema.MatchingRule; |
| | | import org.forgerock.opendj.ldap.schema.AttributeType; |
| | | import org.forgerock.opendj.ldap.schema.ObjectClass; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The panel on the right of the 'Manage Schema' panel. */ |
| | | public class SchemaBrowserRightPanel extends StatusGenericPanel |
| | |
| | | import org.forgerock.opendj.ldap.schema.ObjectClass; |
| | | import org.opends.guitools.controlpanel.event.SchemaElementSelectionEvent; |
| | | import org.opends.guitools.controlpanel.event.SchemaElementSelectionListener; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * Abstract class used to re-factor some code among the panels that display the |
| | |
| | | import org.opends.guitools.controlpanel.ui.renderer. |
| | | SchemaElementComboBoxCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** |
| | | * This is a class where the user can choose from a list of available object |
| | |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.schema.SchemaConstants; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The panel displaying a simplified view of an entry. */ |
| | | class SimplifiedViewEntryPanel extends ViewEntryPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.components.TitlePanel; |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The panel that displays a standard attribute definition. */ |
| | | class StandardAttributePanel extends SchemaElementPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.components.TitlePanel; |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The panel that displays a standard object class definition. */ |
| | | public class StandardObjectClassPanel extends SchemaElementPanel |
| | |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.quicksetup.ui.CustomHTMLEditorKit; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | |
| | | import org.opends.guitools.controlpanel.ui.renderer.LDAPEntryTableCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.ServerConstants; |
| | | |
| | | /** The panel displaying a table view of an LDAP entry. */ |
| | |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.schema.SchemaConstants; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | /** |
| | |
| | | import org.opends.guitools.controlpanel.ui.renderer.SchemaElementComboBoxCellRenderer; |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** A panel that can be used to select one (or several) object classes. */ |
| | | public class SuperiorObjectClassesEditor extends JPanel |
| | |
| | | import org.opends.guitools.controlpanel.ui.components.BinaryCellPanel; |
| | | import org.opends.guitools.controlpanel.ui.components.ObjectClassCellPanel; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** The renderer used by the table in the 'Attribute View' of the LDAP entry browser. */ |
| | | public class LDAPEntryTableCellRenderer extends SelectableTableCellRenderer |
| | |
| | | import org.opends.server.schema.SchemaConstants; |
| | | import org.opends.server.types.HostPort; |
| | | import org.opends.server.types.OpenDsException; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.SchemaUtils; |
| | | import org.opends.server.util.SchemaUtils.PasswordType; |
| | | import org.opends.server.util.ServerConstants; |
| | |
| | | import org.opends.server.types.Operation; |
| | | import org.opends.server.types.Privilege; |
| | | import org.opends.server.types.RestoreConfig; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | import org.opends.server.types.WritabilityMode; |
| | | import org.opends.server.util.ActivateOnceSDKSchemaIsUsed; |
| | |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.Modification; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.types.Schema.SchemaUpdater; |
| | | |
| | | import static org.forgerock.opendj.ldap.schema.SchemaValidationPolicy.*; |
| | |
| | | import org.opends.server.loggers.CommonAudit; |
| | | import org.opends.server.types.CryptoManager; |
| | | import org.opends.server.types.DirectoryEnvironmentConfig; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | |
| | | /** Context for the server, giving access to global properties of the server. */ |
| | | public interface ServerContext |
| | |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.Attributes; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.Modification; |
| | | import org.opends.server.types.RawFilter; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.types.operation.PostOperationExtendedOperation; |
| | | import org.opends.server.types.operation.PreOperationModifyOperation; |
| | | |
| | |
| | | import org.opends.server.types.Operation; |
| | | import org.opends.server.types.OperationType; |
| | | import org.opends.server.types.RawModification; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchResultEntry; |
| | | import org.opends.server.types.SearchResultReference; |
| | |
| | | import org.opends.server.types.FilePermission; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.BuildVersion; |
| | | import org.opends.server.util.EmbeddedUtils; |
| | | import org.opends.server.util.LDIFReader; |
| | |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.Schema; |
| | | import org.forgerock.opendj.ldap.schema.Schema; |
| | | import org.opends.server.util.LDIFReader; |
| | | import org.testng.annotations.BeforeClass; |
| | | import org.testng.annotations.Test; |