Package ch.agent.crnickl.impl

Examples of ch.agent.crnickl.impl.UpdateEventImpl


  @Override
  public void deleteProperty(UpdatableProperty<?> property) throws T2DBException {
    getWriteMethodsForProperty().deleteProperty(property, getSchemaUpdatePolicy());
    String comment = property.getName();
    publish(new UpdateEventImpl(UpdateEventOperation.DELETE, property).withComment(comment));
  }
View Full Code Here


  }

  @Override
  public void update(UpdatableProperty<?> property) throws T2DBException {
    getWriteMethodsForProperty().updateProperty(property, getSchemaUpdatePolicy());
    publish(new UpdateEventImpl(UpdateEventOperation.MODIFY, property));
  }
View Full Code Here


  @Override
  public <T>void create(UpdatableValueType<T> valueType) throws T2DBException {
    getWriteMethodsForValueType().createValueType(valueType);
    publish(new UpdateEventImpl(UpdateEventOperation.CREATE, valueType));
  }
View Full Code Here

  @Override
  public void deleteValueType(UpdatableValueType<?> valueType) throws T2DBException {
    getWriteMethodsForValueType().deleteValueType(valueType, getSchemaUpdatePolicy());
    String comment = valueType.getName();
    publish(new UpdateEventImpl(UpdateEventOperation.DELETE, valueType).withComment(comment));
  }
View Full Code Here

  }

  @Override
  public void update(UpdatableValueType<?> valueType) throws T2DBException {
    getWriteMethodsForValueType().updateValueType(valueType, getSchemaUpdatePolicy());
    publish(new UpdateEventImpl(UpdateEventOperation.MODIFY, valueType));
  }
View Full Code Here

  }

  @Override
  public void create(UpdatableSchema schema) throws T2DBException {
    getWriteMethodsForSchema().createSchema(schema);
    publish(new UpdateEventImpl(UpdateEventOperation.CREATE, schema));
  }
View Full Code Here

  }

  @Override
  public void update(UpdatableSchema schema) throws T2DBException {
    getWriteMethodsForSchema().updateSchema(schema, getSchemaUpdatePolicy());
    ((UpdateEventPublisherImpl)getUpdateEventPublisher()).publish(new UpdateEventImpl(UpdateEventOperation.MODIFY, schema), false);
  }
View Full Code Here

  @Override
  public void deleteSchema(UpdatableSchema schema) throws T2DBException {
    getWriteMethodsForSchema().deleteSchema(schema, getSchemaUpdatePolicy());
    String comment = schema.getName();
    publish(new UpdateEventImpl(UpdateEventOperation.DELETE, schema).withComment(comment));
  }
View Full Code Here

  }
 
  @Override
  public void create(UpdatableChronicle entity) throws T2DBException {
    getWriteMethodsForChroniclesAndSeries().createChronicle(entity);
    publish(new UpdateEventImpl(UpdateEventOperation.CREATE, entity).withComment(entity.getDescription(false)));
  }
View Full Code Here

  }
 
  @Override
  public void update(UpdatableChronicle entity) throws T2DBException {
    getWriteMethodsForChroniclesAndSeries().updateChronicle(entity, getChronicleUpdatePolicy());
    publish(new UpdateEventImpl(UpdateEventOperation.MODIFY, entity));
  }
View Full Code Here

TOP

Related Classes of ch.agent.crnickl.impl.UpdateEventImpl

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.