No effective change - Code cleanup,remove unnecessary public modifier on interfaces

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:08:07 +12:00
1 parent efe4e69ed1
commit ede91ecf78
13 files changed
+35 -35

No files matched your search

@@ -26,17 +26,17 @@ public interface Bindable {
* For Updates including only changed properties add the Bindable to the
* list if it should be included in the 'update set'.
*/
public void addToUpdate(PersistRequestBean<?> request, List<Bindable> list);
void addToUpdate(PersistRequestBean<?> request, List<Bindable> list);
/**
* append sql to the buffer with prefix and suffix options.
*/
public void dmlAppend(GenerateDmlRequest request);
void dmlAppend(GenerateDmlRequest request);
/**
* Bind given the request and bean. The bean could be the oldValues bean
* when binding a update or delete where clause with ALL concurrency mode.
*/
public void dmlBind(BindableRequest request, EntityBean bean) throws SQLException;
void dmlBind(BindableRequest request, EntityBean bean) throws SQLException;
}
@@ -18,17 +18,17 @@ public interface BindableId extends Bindable {
/**
* Return true if there is no Id properties at all.
*/
public boolean isEmpty();
boolean isEmpty();
/**
* Return true if this is a concatenated key.
*/
public boolean isConcatenated();
boolean isConcatenated();
/**
* Return the DB Column to use with genGeneratedKeys.
*/
public String getIdentityColumn();
String getIdentityColumn();
/**
* Create the concatenated id for inserts with PFK relationships.
@@ -37,6 +37,6 @@ public interface BindableId extends Bindable {
* primary key and the values can be got from those.
* </p>
*/
public boolean deriveConcatenatedId(PersistRequestBean<?> persist);
boolean deriveConcatenatedId(PersistRequestBean<?> persist);
}
@@ -15,7 +15,7 @@ public interface BindableRequest {
/**
* Set the id for use with summary level logging.
*/
public void setIdValue(Object idValue);
void setIdValue(Object idValue);
/**
* Bind the value to a PreparedStatement.
@@ -27,34 +27,34 @@ public interface BindableRequest {
* logicalType to dbType.
* </p>
*/
public Object bind(Object value, BeanProperty prop) throws SQLException;
Object bind(Object value, BeanProperty prop) throws SQLException;
/**
* Bind a raw value. Used to bind the discriminator column.
*/
public Object bind(String propName, Object value, int sqlType) throws SQLException;
Object bind(String propName, Object value, int sqlType) throws SQLException;
/**
* Bind a raw value with a placeHolder to put into the transaction log.
*/
public Object bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException;
Object bindNoLog(Object value, int sqlType, String logPlaceHolder) throws SQLException;
/**
* Bind the value to the preparedStatement without logging.
*/
public Object bindNoLog(Object value, BeanProperty prop) throws SQLException;
Object bindNoLog(Object value, BeanProperty prop) throws SQLException;
/**
* Register the value from a update GeneratedValue. This can only be set to
* the bean property after the where clause has bean built.
*/
public void registerUpdateGenValue(BeanProperty prop, EntityBean bean, Object value);
void registerUpdateGenValue(BeanProperty prop, EntityBean bean, Object value);
/**
* Return the original PersistRequest.
*/
public PersistRequestBean<?> getPersistRequest();
PersistRequestBean<?> getPersistRequest();
public void registerDerivedRelationship(DerivedRelationshipData assocBean);
void registerDerivedRelationship(DerivedRelationshipData assocBean);
}