Package org.apache.directory.ldapstudio.browser.core.jobs

Examples of org.apache.directory.ldapstudio.browser.core.jobs.CreateValuesJob


                attributeDescriptions[v] = attributeDescription;
                rawValues[v] = values[v].getRawValue();
            }
            IEntry entry = getSelectedAttributeHierarchies()[0].getAttribute().getEntry();

            new CreateValuesJob( entry, attributeDescriptions, rawValues ).execute();
        }
    }
View Full Code Here


                else
                {
                    newValue = LdifUtils.utf8encode( ( String ) newRawValue );
                }

                new CreateValuesJob( attribute, newValue ).execute();
            }
        }
    }
View Full Code Here

        if ( attribute != null && newRawValue != null && newRawValue instanceof String )
        {
            if ( attribute.getValueSize() == 0 )
            {
                String newValue = ( String ) newRawValue;
                new CreateValuesJob( attribute, newValue ).execute();
            }
            else if ( attribute.getValueSize() == 1 )
            {
                this.modifyValue( attribute.getValues()[0], newRawValue );
            }
View Full Code Here

                if ( oldValue.isEmpty() )
                {
                    EventRegistry.suspendEventFireingInCurrentThread();
                    attribute.deleteEmptyValue();
                    EventRegistry.resumeEventFireingInCurrentThread();
                    new CreateValuesJob( attribute, newValue ).execute();
                }
                else
                {
                    new ModifyValueJob( attribute, oldValue, newValue ).execute();
                }
View Full Code Here

                else
                {
                    newValue = ( byte[] ) newRawValue;
                }

                new CreateValuesJob( attribute, newValue ).execute();
            }
        }
    }
View Full Code Here

        if ( attribute != null && newRawValue != null && newRawValue instanceof byte[] )
        {
            if ( attribute.getValueSize() == 0 )
            {
                byte[] newValue = ( byte[] ) newRawValue;
                new CreateValuesJob( attribute, newValue ).execute();
            }
            else if ( attribute.getValueSize() == 1 )
            {
                this.modifyValue( attribute.getValues()[0], newRawValue );
            }
View Full Code Here

                if ( oldValue.isEmpty() )
                {
                    EventRegistry.suspendEventFireingInCurrentThread();
                    attribute.deleteEmptyValue();
                    EventRegistry.resumeEventFireingInCurrentThread();
                    new CreateValuesJob( attribute, newValue ).execute();
                }
                else
                {
                    new ModifyValueJob( attribute, oldValue, newValue ).execute();
                }
View Full Code Here

            for ( int v = 0; v < values.length; v++ )
            {
                attributeNames[v] = values[v].getAttribute().getDescription();
                rawValues[v] = values[v].getRawValue();
            }
            new CreateValuesJob( entry, attributeNames, rawValues ).execute();
        }
    }
View Full Code Here

                else
                {
                    newValue = LdifUtils.utf8encode( ( String ) newRawValue );
                }

                new CreateValuesJob( attribute, newValue ).execute();
            }
        }
    }
View Full Code Here

        if ( attribute != null && newRawValue != null && newRawValue instanceof String )
        {
            if ( attribute.getValueSize() == 0 )
            {
                String newValue = ( String ) newRawValue;
                new CreateValuesJob( attribute, newValue ).execute();
            }
            else if ( attribute.getValueSize() == 1 )
            {
                this.modifyValue( attribute.getValues()[0], newRawValue );
            }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.jobs.CreateValuesJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.