Java Code Examples for org.apache.directory.api.ldap.model.message.ResultCodeEnum#NO_SUCH_OPERATION

The following examples show how to use org.apache.directory.api.ldap.model.message.ResultCodeEnum#NO_SUCH_OPERATION . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImmutableAttributeTypeRegistry.java    From directory-ldap-api with Apache License 2.0 5 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public AttributeType unregister( String numericOid ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION,
        I18n.err( I18n.ERR_13701_CANNOT_MODIFY_AT_REGISTRY_COPY ) );
}
 
Example 2
Source File: ImmutableAttributeTypeRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregisterDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13701_CANNOT_MODIFY_AT_REGISTRY_COPY ) );
}
 
Example 3
Source File: ImmutableNameFormRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public NameForm unregister( NameForm schemaObject ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13708_CANNOT_MODIFY_NF_REGISTRY_COPY ) );
}
 
Example 4
Source File: ImmutableDitStructureRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregister( int ruleId ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13704_CANNOT_MODIFY_DITSR_REGISTRY_COPY ) );
}
 
Example 5
Source File: ImmutableDitContentRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public DitContentRule unregister( DitContentRule schemaObject ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13703_CANNOT_MODIFY_DITCR_REGISTRY_COPY ) );
}
 
Example 6
Source File: ImmutableAttributeTypeRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void registerDescendants( AttributeType attributeType, AttributeType ancestor ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13701_CANNOT_MODIFY_AT_REGISTRY_COPY ) );
}
 
Example 7
Source File: ImmutableDitStructureRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void clear() throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13704_CANNOT_MODIFY_DITSR_REGISTRY_COPY ) );
}
 
Example 8
Source File: ImmutableDitContentRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregisterSchemaElements( String schemaName ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13703_CANNOT_MODIFY_DITCR_REGISTRY_COPY ) );
}
 
Example 9
Source File: ImmutableDitContentRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public DitContentRule unregister( String numericOid ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13703_CANNOT_MODIFY_DITCR_REGISTRY_COPY ) );
}
 
Example 10
Source File: ImmutableMatchingRuleUseRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void clear() throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13707_CANNOT_MODIFY_MRU_REGISTRY_COPY ) );
}
 
Example 11
Source File: ImmutableMatchingRuleRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregisterSchemaElements( String schemaName ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13706_CANNOT_MODIFY_MR_REGISTRY_COPY ) );
}
 
Example 12
Source File: ImmutableNormalizerRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 *  {@inheritDoc}
 */
@Override
public void unregisterSchemaElements( String schemaName ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13709_CANNOT_MODIFY_NORM_REGISTRY_COPY ) );
}
 
Example 13
Source File: ImmutableNormalizerRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public Normalizer unregister( Normalizer schemaObject ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13709_CANNOT_MODIFY_NORM_REGISTRY_COPY ) );
}
 
Example 14
Source File: ImmutableObjectClassRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13710_CANNOT_MODIFY_OC_REGISTRY_COPY ) );
}
 
Example 15
Source File: ImmutableObjectClassRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregisterDescendants( ObjectClass attributeType, List<ObjectClass> ancestors ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13710_CANNOT_MODIFY_OC_REGISTRY_COPY ) );
}
 
Example 16
Source File: ImmutableObjectClassRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void registerDescendants( ObjectClass objectClass, List<ObjectClass> ancestors ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13710_CANNOT_MODIFY_OC_REGISTRY_COPY ) );
}
 
Example 17
Source File: ImmutableComparatorRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void unregisterSchemaElements( String schemaName ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13702_CANNOT_MODIFY_CMP_REGISTRY_COPY ) );
}
 
Example 18
Source File: ImmutableNormalizerRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 *  {@inheritDoc}
 */
@Override
public Normalizer unregister( String numericOid ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13709_CANNOT_MODIFY_NORM_REGISTRY_COPY ) );
}
 
Example 19
Source File: ImmutableAttributeTypeRegistry.java    From directory-ldap-api with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public AttributeType unregister( AttributeType schemaObject ) throws LdapException
{
    throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_13701_CANNOT_MODIFY_AT_REGISTRY_COPY ) );
}
 
Example 20
Source File: LdapNoSuchOperationException.java    From directory-ldap-api with Apache License 2.0 2 votes vote down vote up
/**
 * 
 * Creates a new instance of LdapNoSuchOperationException.
 *
 */
public LdapNoSuchOperationException()
{
    super( ResultCodeEnum.NO_SUCH_OPERATION, null );
}