Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOJIRA: Merged Faculty Interventions for Pull Request #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 71 additions & 70 deletions scripts/timestamp-fields-1-1
Original file line number Diff line number Diff line change
@@ -1,70 +1,71 @@
appointment
appointment.start_time
appointment.end_time
campus
category
challenge
challenge_category
challenge_referral
child_care_arrangement
citizenship
confidentiality_disclosure_agreement
confidentiality_level
config
early_alert
early_alert_outcome
early_alert_outreach
early_alert_reason
early_alert_referral
early_alert_response
early_alert_routing
early_alert_suggestion
education_goal
education_level
ethnicity
funding_source
goal
journal_entry
journal_entry_detail
journal_source
journal_step
journal_step_detail
journal_step_journal_step_detail
journal_track
journal_track_journal_step
marital_status
message
message.sent_date
message_template
person.student_intake_request_date
person.student_intake_complete_date
person_challenge
person_confidentiality_disclosure_agreement
person_demographics
person_education_goal
person_education_level
person_education_plan
person_funding_source
person_program_status
person_program_status.effective_date
person_program_status.expiration_date
person_referral_source
person_service_reason
person_special_service_group
person_tool
program_status
program_status_change_reason
referral_source
self_help_guide
self_help_guide_group
self_help_guide_question
self_help_guide_question_response
self_help_guide_response
service_reason
special_service_group
student_status
student_type
task
task.completed_date
task.reminder_sent_date
veteran_status
appointment
appointment.start_time
appointment.end_time
campus
category
challenge
challenge_category
challenge_referral
child_care_arrangement
citizenship
confidentiality_disclosure_agreement
confidentiality_level
config
early_alert
early_alert_outcome
early_alert_outreach
early_alert_reason
early_alert_referral
early_alert_response
early_alert_routing
early_alert_suggestion
early_alert_intervention
education_goal
education_level
ethnicity
funding_source
goal
journal_entry
journal_entry_detail
journal_source
journal_step
journal_step_detail
journal_step_journal_step_detail
journal_track
journal_track_journal_step
marital_status
message
message.sent_date
message_template
person.student_intake_request_date
person.student_intake_complete_date
person_challenge
person_confidentiality_disclosure_agreement
person_demographics
person_education_goal
person_education_level
person_education_plan
person_funding_source
person_program_status
person_program_status.effective_date
person_program_status.expiration_date
person_referral_source
person_service_reason
person_special_service_group
person_tool
program_status
program_status_change_reason
referral_source
self_help_guide
self_help_guide_group
self_help_guide_question
self_help_guide_question_response
self_help_guide_response
service_reason
special_service_group
student_status
student_type
task
task.completed_date
task.reminder_sent_date
veteran_status
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a
* copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

/*
* IRSC CUSTOMIZATIONS
* 06/16/2014 - Jonathan Hart IRSC TAPS 20140039 - Created EarlyAlertInterventionDao.java for Paging/Sorting/CRUD
*/
package org.jasig.ssp.dao.reference;

import org.jasig.ssp.dao.AuditableCrudDao;
import org.jasig.ssp.model.ObjectStatus;
import org.jasig.ssp.model.reference.EarlyAlertIntervention;
import org.jasig.ssp.util.sort.PagingWrapper;
import org.jasig.ssp.util.sort.SortDirection;
import org.jasig.ssp.util.sort.SortingAndPaging;
import org.springframework.stereotype.Repository;

/**
* Data access class for the EarlyAlertIntervention reference entity.
*
* Based on EarlyAlertSuggestion implementation by @author jon.adams
*/
@Repository
public class EarlyAlertInterventionDao extends
AbstractReferenceAuditableCrudDao<EarlyAlertIntervention>
implements AuditableCrudDao<EarlyAlertIntervention> {

/**
* Constructor that initializes the instance with the specific type for use
* by the base class methods.
*/
public EarlyAlertInterventionDao() {
super(EarlyAlertIntervention.class);
}

@Override
public PagingWrapper<EarlyAlertIntervention> getAll(
final SortingAndPaging sAndP) {
SortingAndPaging sp = sAndP;
if (sp == null) {
sp = new SortingAndPaging(ObjectStatus.ACTIVE);
}

if (!sp.isSorted()) {
sp.appendSortField("name", SortDirection.ASC);
}

return super.getAll(sp);
}
}
Loading