TrackDirectorSubmissionDAO Class Reference
[Submission]

Operations for retrieving and modifying TrackDirectorSubmission objects. More...

List of all members.

Public Member Functions

_getUnfilteredTrackDirectorSubmissions ($trackDirectorId, $schedConfId, $trackId=0, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $additionalWhereSql= '', $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
_returnReviewerUserFromRow (&$row)
_returnTrackDirectorSubmissionFromRow (&$row)
 createReviewStage ($paperId, $stage, $reviewRevision)
 deleteDecisionsByPaper ($paperId)
 deleteReviewStagesByPaper ($paperId)
 getDirectorDecisions ($paperId, $stage)
 getMaxReviewStage ($paperId)
getReviewersForPaper ($schedConfId, $paperId, $stage, $searchType=null, $search=null, $searchMatch=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
getReviewersNotAssignedToPaper ($schedConfId, $paperId)
 getReviewerStatistics ($schedConfId)
 getSortMapping ($heading)
getTrackDirectorSubmission ($paperId)
getTrackDirectorSubmissionsAccepted ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
getTrackDirectorSubmissionsArchives ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
getTrackDirectorSubmissionsCount ($trackDirectorId, $schedConfId)
getTrackDirectorSubmissionsInReview ($trackDirectorId, $schedConfId, $trackId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 reviewerExists ($paperId, $reviewerId, $stage)
 reviewStageExists ($paperId, $stage)
 TrackDirectorSubmissionDAO ()
 updateTrackDirectorSubmission (&$trackDirectorSubmission)

Public Attributes

 $authorDao
 $editAssignmentDao
 $galleyDao
 $paperCommentDao
 $paperDao
 $paperEmailLogDao
 $paperFileDao
 $reviewAssignmentDao
 $suppFileDao
 $userDao


Detailed Description

Operations for retrieving and modifying TrackDirectorSubmission objects.

See also:
TrackDirectorSubmission

Definition at line 27 of file TrackDirectorSubmissionDAO.inc.php.


Member Function Documentation

& TrackDirectorSubmissionDAO._getUnfilteredTrackDirectorSubmissions ( trackDirectorId,
schedConfId,
trackId = 0,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
additionalWhereSql = '',
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Retrieve unfiltered track director submissions

Definition at line 271 of file TrackDirectorSubmissionDAO.inc.php.

References AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

Referenced by getTrackDirectorSubmissionsAccepted(), getTrackDirectorSubmissionsArchives(), and getTrackDirectorSubmissionsInReview().

& TrackDirectorSubmissionDAO._returnTrackDirectorSubmissionFromRow ( &$  row  ) 

Internal function to return a TrackDirectorSubmission object from a row.

Parameters:
$row array
Returns:
TrackDirectorSubmission

Definition at line 106 of file TrackDirectorSubmissionDAO.inc.php.

References getDirectorDecisions().

Referenced by getTrackDirectorSubmission(), getTrackDirectorSubmissionsAccepted(), getTrackDirectorSubmissionsArchives(), and getTrackDirectorSubmissionsInReview().

TrackDirectorSubmissionDAO.deleteDecisionsByPaper ( paperId  ) 

Delete editorial decisions by paper.

Parameters:
$paperId int

Definition at line 525 of file TrackDirectorSubmissionDAO.inc.php.

TrackDirectorSubmissionDAO.deleteReviewStagesByPaper ( paperId  ) 

Delete review stages by paper.

Parameters:
$paperId int

Definition at line 536 of file TrackDirectorSubmissionDAO.inc.php.

TrackDirectorSubmissionDAO.getDirectorDecisions ( paperId,
stage 
)

Get the director decisions for a review stage of a paper.

Parameters:
$paperId int
$stage int

Definition at line 548 of file TrackDirectorSubmissionDAO.inc.php.

Referenced by _returnTrackDirectorSubmissionFromRow().

TrackDirectorSubmissionDAO.getMaxReviewStage ( paperId  ) 

Get the highest review stage.

Parameters:
$paperId int
Returns:
int

Definition at line 582 of file TrackDirectorSubmissionDAO.inc.php.

& TrackDirectorSubmissionDAO.getReviewersForPaper ( schedConfId,
paperId,
stage,
searchType = null,
search = null,
searchMatch = null,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Retrieve a list of all reviewers with respect to a submission's current round.

Parameters:
$schedConfId int
$paperId int
Returns:
DAOResultFactory containing matching Users

Definition at line 642 of file TrackDirectorSubmissionDAO.inc.php.

References _returnReviewerUserFromRow().

& TrackDirectorSubmissionDAO.getReviewersNotAssignedToPaper ( schedConfId,
paperId 
)

Retrieve a list of all reviewers not assigned to the specified paper.

Parameters:
$schedConfId int
$paperId int
Returns:
array matching Users

Definition at line 758 of file TrackDirectorSubmissionDAO.inc.php.

References RoleDAO.getRoleIdFromPath().

TrackDirectorSubmissionDAO.getReviewerStatistics ( schedConfId  ) 

Get the last assigned and last completed dates for all reviewers of the given conference.

Returns:
array

Definition at line 781 of file TrackDirectorSubmissionDAO.inc.php.

TrackDirectorSubmissionDAO.getSortMapping ( heading  ) 

Map a column heading value to a database value for sorting

Parameters:
string 
Returns:
string

Definition at line 840 of file TrackDirectorSubmissionDAO.inc.php.

& TrackDirectorSubmissionDAO.getTrackDirectorSubmission ( paperId  ) 

Retrieve a track director submission by paper ID.

Parameters:
$paperId int
Returns:
DirectorSubmission

Definition at line 61 of file TrackDirectorSubmissionDAO.inc.php.

References _returnTrackDirectorSubmissionFromRow(), AppLocale.getLocale(), and AppLocale.getPrimaryLocale().

& TrackDirectorSubmissionDAO.getTrackDirectorSubmissionsAccepted ( trackDirectorId,
schedConfId,
trackId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions accepted to a conference.

Parameters:
$trackDirectorId int
$schedConfId int
$trackId int
$searchField int Symbolic SUBMISSION_FIELD_... identifier
$searchMatch string "is" or "contains" or "startsWith"
$search String to look in $searchField for
$dateField int Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFrom String date to search from
$dateTo String date to search to
$rangeInfo object
Returns:
array DirectorSubmission

Definition at line 435 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), and _returnTrackDirectorSubmissionFromRow().

& TrackDirectorSubmissionDAO.getTrackDirectorSubmissionsArchives ( trackDirectorId,
schedConfId,
trackId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions in archives for a conference.

Parameters:
$trackDirectorId int
$schedConfId int
$trackId int
$searchField int Symbolic SUBMISSION_FIELD_... identifier
$searchMatch string "is" or "contains" or "startsWith"
$search String to look in $searchField for
$dateField int Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFrom String date to search from
$dateTo String date to search to
$rangeInfo object
Returns:
array DirectorSubmission

Definition at line 462 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), and _returnTrackDirectorSubmissionFromRow().

& TrackDirectorSubmissionDAO.getTrackDirectorSubmissionsCount ( trackDirectorId,
schedConfId 
)

Function used for counting purposes for right nav bar

Definition at line 478 of file TrackDirectorSubmissionDAO.inc.php.

& TrackDirectorSubmissionDAO.getTrackDirectorSubmissionsInReview ( trackDirectorId,
schedConfId,
trackId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions in review for a conference.

Parameters:
$trackDirectorId int
$schedConfId int
$trackId int
$searchField int Symbolic SUBMISSION_FIELD_... identifier
$searchMatch string "is" or "contains" or "startsWith"
$search String to look in $searchField for
$dateField int Symbolic SUBMISSION_FIELD_DATE_... identifier
$dateFrom String date to search from
$dateTo String date to search to
$rangeInfo object
Returns:
array DirectorSubmission

Definition at line 407 of file TrackDirectorSubmissionDAO.inc.php.

References _getUnfilteredTrackDirectorSubmissions(), and _returnTrackDirectorSubmissionFromRow().

TrackDirectorSubmissionDAO.reviewerExists ( paperId,
reviewerId,
stage 
)

Check if a reviewer is assigned to a specified paper.

Parameters:
$paperId int
$reviewerId int
Returns:
boolean

Definition at line 618 of file TrackDirectorSubmissionDAO.inc.php.

TrackDirectorSubmissionDAO.reviewStageExists ( paperId,
stage 
)

Check if a review stage exists for a specified paper.

Parameters:
$paperId int
$stage int
Returns:
boolean

Definition at line 600 of file TrackDirectorSubmissionDAO.inc.php.

Referenced by updateTrackDirectorSubmission().

TrackDirectorSubmissionDAO.TrackDirectorSubmissionDAO (  ) 

Constructor.

Definition at line 42 of file TrackDirectorSubmissionDAO.inc.php.

TrackDirectorSubmissionDAO.updateTrackDirectorSubmission ( &$  trackDirectorSubmission  ) 

Update an existing track director submission.

Parameters:
$trackDirectorSubmission TrackDirectorSubmission

Definition at line 155 of file TrackDirectorSubmissionDAO.inc.php.

References createReviewStage(), and reviewStageExists().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7