public EntryAttribute put( String upId, AttributeType attributeType, Value<?>... values ) throws LdapException { return clonedEntry.put( upId, attributeType, values ); }
public List<EntryAttribute> put( EntryAttribute... attributes ) throws LdapException { return clonedEntry.put( attributes ); }
public EntryAttribute put( AttributeType attributeType, byte[]... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public EntryAttribute put( AttributeType attributeType, Value<?>... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public EntryAttribute put( String upId, byte[]... values ) { return clonedEntry.put( upId, values ); }
public EntryAttribute put( String upId, AttributeType attributeType, byte[]... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public EntryAttribute put( String upId, AttributeType attributeType, String... values ) throws LdapException { return clonedEntry.put( upId, attributeType, values ); }
public EntryAttribute put( String upId, String... values ) { return clonedEntry.put( upId, values ); }
public EntryAttribute put( AttributeType attributeType, String... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public EntryAttribute put( String upId, Value<?>... values ) { return clonedEntry.put( upId, values ); }
public ServerEntry getAttributes( String oid, LdapComparator<? super Object> comparator, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, MetaSchemaConstants.META_COMPARATOR_OC ); entry.put( MetaSchemaConstants.M_OID_AT, oid ); entry.put( MetaSchemaConstants.M_FQCN_AT, comparator.getClass().getName() ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( String oid, Normalizer normalizer, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, MetaSchemaConstants.META_NORMALIZER_OC ); entry.put( MetaSchemaConstants.M_OID_AT, oid ); entry.put( MetaSchemaConstants.M_FQCN_AT, normalizer.getClass().getName() ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( SyntaxChecker syntaxChecker, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, MetaSchemaConstants.META_SYNTAX_CHECKER_OC ); entry.put( MetaSchemaConstants.M_OID_AT, syntaxChecker.getOid() ); entry.put( MetaSchemaConstants.M_FQCN_AT, syntaxChecker.getClass().getName() ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( MatchingRuleUse matchingRuleUse, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, "" ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( DITStructureRule dITStructureRule, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, "" ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( DITContentRule dITContentRule, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, "" ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( NameForm nameForm, Schema schema, SchemaManager schemaManager ) { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, "" ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); return entry; }
public ServerEntry getAttributes( LdapSyntax syntax, Schema schema, SchemaManager schemaManager ) throws LdapException { ServerEntry entry = new DefaultServerEntry( schemaManager ); entry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC, MetaSchemaConstants.META_SYNTAX_OC ); entry.put( MetaSchemaConstants.X_HUMAN_READABLE_AT, getBoolean( syntax.isHumanReadable() ) ); entry.put( SchemaConstants.CREATORS_NAME_AT, schema.getOwner() ); entry.put( SchemaConstants.CREATE_TIMESTAMP_AT, DateUtils.getGeneralizedTime() ); injectCommon( syntax, entry, schemaManager ); return entry; }
/** * Creates new entry addition dialog. * * @param parent the parent frame * @param modal whether or not to go modal on the dialog */ public AddEntryDialog(Frame parent, boolean modal, SchemaManager schemaManager ) { super( parent, modal ); childEntry = new DefaultServerEntry( schemaManager ); childEntry.put( SchemaConstants.OBJECT_CLASS_AT, SchemaConstants.TOP_OC ); initGUI(); }
private final void injectCommon( SchemaObject object, ServerEntry entry, SchemaManager schemaManager ) throws LdapException { injectNames( object.getNames(), entry, schemaManager ); entry.put( MetaSchemaConstants.M_OBSOLETE_AT, getBoolean( object.isObsolete() ) ); entry.put( MetaSchemaConstants.M_OID_AT, object.getOid() ); if ( object.getDescription() != null ) { entry.put( MetaSchemaConstants.M_DESCRIPTION_AT, object.getDescription() ); } }