Java Code Examples for org.springframework.util.StringUtils#sortStringArray()

The following examples show how to use org.springframework.util.StringUtils#sortStringArray() . 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: SQLErrorCodes.java    From java-technology-stack with MIT License 4 votes vote down vote up
public void setBadSqlGrammarCodes(String... badSqlGrammarCodes) {
	this.badSqlGrammarCodes = StringUtils.sortStringArray(badSqlGrammarCodes);
}
 
Example 2
Source File: CustomSQLErrorCodesTranslation.java    From effectivejava with Apache License 2.0 4 votes vote down vote up
/**
 * Set the SQL error codes to match.
 */
public void setErrorCodes(String[] errorCodes) {
	this.errorCodes = StringUtils.sortStringArray(errorCodes);
}
 
Example 3
Source File: CustomSQLErrorCodesTranslation.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Set the SQL error codes to match.
 */
public void setErrorCodes(String... errorCodes) {
	this.errorCodes = StringUtils.sortStringArray(errorCodes);
}
 
Example 4
Source File: SQLErrorCodes.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
public void setInvalidResultSetAccessCodes(String... invalidResultSetAccessCodes) {
	this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes);
}
 
Example 5
Source File: SQLErrorCodes.java    From java-technology-stack with MIT License 4 votes vote down vote up
public void setCannotAcquireLockCodes(String... cannotAcquireLockCodes) {
	this.cannotAcquireLockCodes = StringUtils.sortStringArray(cannotAcquireLockCodes);
}
 
Example 6
Source File: SQLErrorCodes.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
public void setDeadlockLoserCodes(String... deadlockLoserCodes) {
	this.deadlockLoserCodes = StringUtils.sortStringArray(deadlockLoserCodes);
}
 
Example 7
Source File: SQLErrorCodes.java    From java-technology-stack with MIT License 4 votes vote down vote up
public void setDataAccessResourceFailureCodes(String... dataAccessResourceFailureCodes) {
	this.dataAccessResourceFailureCodes = StringUtils.sortStringArray(dataAccessResourceFailureCodes);
}
 
Example 8
Source File: SQLErrorCodes.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public void setInvalidResultSetAccessCodes(String... invalidResultSetAccessCodes) {
	this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes);
}
 
Example 9
Source File: SQLErrorCodes.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
public void setCannotAcquireLockCodes(String... cannotAcquireLockCodes) {
	this.cannotAcquireLockCodes = StringUtils.sortStringArray(cannotAcquireLockCodes);
}
 
Example 10
Source File: SQLErrorCodes.java    From java-technology-stack with MIT License 4 votes vote down vote up
public void setInvalidResultSetAccessCodes(String... invalidResultSetAccessCodes) {
	this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes);
}
 
Example 11
Source File: SQLErrorCodes.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public void setPermissionDeniedCodes(String... permissionDeniedCodes) {
	this.permissionDeniedCodes = StringUtils.sortStringArray(permissionDeniedCodes);
}
 
Example 12
Source File: CustomSQLErrorCodesTranslation.java    From spring-analysis-note with MIT License 4 votes vote down vote up
/**
 * Set the SQL error codes to match.
 */
public void setErrorCodes(String... errorCodes) {
	this.errorCodes = StringUtils.sortStringArray(errorCodes);
}
 
Example 13
Source File: SQLErrorCodes.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
public void setTransientDataAccessResourceCodes(String... transientDataAccessResourceCodes) {
	this.transientDataAccessResourceCodes = StringUtils.sortStringArray(transientDataAccessResourceCodes);
}
 
Example 14
Source File: SQLErrorCodes.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
public void setPermissionDeniedCodes(String... permissionDeniedCodes) {
	this.permissionDeniedCodes = StringUtils.sortStringArray(permissionDeniedCodes);
}
 
Example 15
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setCannotAcquireLockCodes(String... cannotAcquireLockCodes) {
	this.cannotAcquireLockCodes = StringUtils.sortStringArray(cannotAcquireLockCodes);
}
 
Example 16
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setTransientDataAccessResourceCodes(String... transientDataAccessResourceCodes) {
	this.transientDataAccessResourceCodes = StringUtils.sortStringArray(transientDataAccessResourceCodes);
}
 
Example 17
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setDataAccessResourceFailureCodes(String... dataAccessResourceFailureCodes) {
	this.dataAccessResourceFailureCodes = StringUtils.sortStringArray(dataAccessResourceFailureCodes);
}
 
Example 18
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setPermissionDeniedCodes(String... permissionDeniedCodes) {
	this.permissionDeniedCodes = StringUtils.sortStringArray(permissionDeniedCodes);
}
 
Example 19
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setDataIntegrityViolationCodes(String... dataIntegrityViolationCodes) {
	this.dataIntegrityViolationCodes = StringUtils.sortStringArray(dataIntegrityViolationCodes);
}
 
Example 20
Source File: SQLErrorCodes.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public void setInvalidResultSetAccessCodes(String... invalidResultSetAccessCodes) {
	this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes);
}