public static CmsSearchConfigurationSorting create ( final String sortParam , final List < I_CmsSearchConfigurationSortOption > options , final I_CmsSearchConfigurationSortOption defaultOption ) { return ( null != sortParam ) || ( ( null != options ) && ! options . isEmpty ( ) ) || ( null != defaultOption ) ? new CmsSearchConfigurationSorting ( sortParam , options , defaultOption ) : null ; }
Creates a sort configuration iff at least one of the parameters is not null and the options list is not empty .