DirectorSubmissionDAO Class Reference
[Submission]

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

List of all members.

Public Member Functions

 _generateUserNameSearchSQL ($search, $searchMatch, $prefix, &$params)
_getUnfilteredDirectorSubmissions ($schedConfId, $trackId=0, $directorId=0, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $additionalWhereSql= '', $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
_returnDirectorSubmissionFromRow (&$row)
 DirectorSubmissionDAO ()
 getDirectorDecisions ($paperId, $stage=null)
getDirectorSubmission ($paperId)
getDirectorSubmissionsAccepted ($schedConfId, $trackId, $directorId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection="ASC")
getDirectorSubmissionsArchives ($schedConfId, $trackId, $directorId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection="ASC")
getDirectorSubmissionsCount ($schedConfId)
getDirectorSubmissionsInReview ($schedConfId, $trackId, $directorId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
getDirectorSubmissionsUnassigned ($schedConfId, $trackId, $directorId, $searchField=null, $searchMatch=null, $search=null, $dateField=null, $dateFrom=null, $dateTo=null, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 getInsertEditId ()
 getSortMapping ($heading)
getUsersNotAssignedToPaper ($schedConfId, $paperId, $roleId, $searchType=null, $search=null, $searchMatch=null, $rangeInfo=null)
 insertDirectorSubmission (&$directorSubmission)
 transferDirectorDecisions ($oldUserId, $newUserId)
 updateDirectorSubmission (&$directorSubmission)

Public Attributes

 $authorDao
 $editAssignmentDao
 $paperDao
 $userDao


Detailed Description

Operations for retrieving and modifying DirectorSubmission objects.

See also:
DirectorSubmission
$Id$

Definition at line 24 of file DirectorSubmissionDAO.inc.php.


Member Function Documentation

DirectorSubmissionDAO._generateUserNameSearchSQL ( search,
searchMatch,
prefix,
&$  params 
)

FIXME Move this into somewhere common (SubmissionDAO?) as this is used in several classes.

Definition at line 286 of file DirectorSubmissionDAO.inc.php.

Referenced by _getUnfilteredDirectorSubmissions().

& DirectorSubmissionDAO._getUnfilteredDirectorSubmissions ( schedConfId,
trackId = 0,
directorId = 0,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
additionalWhereSql = '',
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all unfiltered submissions for a scheduled conference.

Parameters:
$schedConfId int
$trackId int
$directorId 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
$additionalWhereSql string Extra SQL conditions to match
$rangeInfo object
Returns:
array result

Definition at line 180 of file DirectorSubmissionDAO.inc.php.

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

Referenced by getDirectorSubmissionsAccepted(), getDirectorSubmissionsArchives(), getDirectorSubmissionsInReview(), and getDirectorSubmissionsUnassigned().

& DirectorSubmissionDAO._returnDirectorSubmissionFromRow ( &$  row  ) 

Internal function to return a DirectorSubmission object from a row.

Parameters:
$row array
Returns:
DirectorSubmission

Definition at line 90 of file DirectorSubmissionDAO.inc.php.

References getDirectorDecisions().

Referenced by getDirectorSubmission(), getDirectorSubmissionsAccepted(), getDirectorSubmissionsArchives(), getDirectorSubmissionsInReview(), and getDirectorSubmissionsUnassigned().

DirectorSubmissionDAO.DirectorSubmissionDAO (  ) 

Constructor.

Definition at line 34 of file DirectorSubmissionDAO.inc.php.

DirectorSubmissionDAO.getDirectorDecisions ( paperId,
stage = null 
)

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

Parameters:
$paperId int
$stage int

Definition at line 465 of file DirectorSubmissionDAO.inc.php.

Referenced by _returnDirectorSubmissionFromRow().

& DirectorSubmissionDAO.getDirectorSubmission ( paperId  ) 

Retrieve a director submission by paper ID.

Parameters:
$paperId int
Returns:
DirectorSubmission

Definition at line 47 of file DirectorSubmissionDAO.inc.php.

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

& DirectorSubmissionDAO.getDirectorSubmissionsAccepted ( schedConfId,
trackId,
directorId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = "ASC" 
)

Get all submissions accepted for a scheduled conference.

Parameters:
$schedConfId int
$trackId int
$directorId 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 373 of file DirectorSubmissionDAO.inc.php.

References _getUnfilteredDirectorSubmissions(), and _returnDirectorSubmissionFromRow().

& DirectorSubmissionDAO.getDirectorSubmissionsArchives ( schedConfId,
trackId,
directorId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = "ASC" 
)

Get all submissions archived for a scheduled conference.

Parameters:
$schedConfId int
$trackId int
$directorId 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 399 of file DirectorSubmissionDAO.inc.php.

References _getUnfilteredDirectorSubmissions(), and _returnDirectorSubmissionFromRow().

& DirectorSubmissionDAO.getDirectorSubmissionsCount ( schedConfId  ) 

Function used for counting purposes for right nav bar

Definition at line 414 of file DirectorSubmissionDAO.inc.php.

& DirectorSubmissionDAO.getDirectorSubmissionsInReview ( schedConfId,
trackId,
directorId,
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 scheduled conference.

Parameters:
$schedConfId int
$trackId int
$directorId 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 347 of file DirectorSubmissionDAO.inc.php.

References _getUnfilteredDirectorSubmissions(), and _returnDirectorSubmissionFromRow().

& DirectorSubmissionDAO.getDirectorSubmissionsUnassigned ( schedConfId,
trackId,
directorId,
searchField = null,
searchMatch = null,
search = null,
dateField = null,
dateFrom = null,
dateTo = null,
rangeInfo = null,
sortBy = null,
sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions unassigned for a scheduled conference.

Parameters:
$schedConfId int
$trackId int
$directorId 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 321 of file DirectorSubmissionDAO.inc.php.

References _getUnfilteredDirectorSubmissions(), and _returnDirectorSubmissionFromRow().

DirectorSubmissionDAO.getInsertEditId (  ) 

Get the ID of the last inserted director assignment.

Returns:
int

Definition at line 589 of file DirectorSubmissionDAO.inc.php.

Referenced by insertDirectorSubmission().

DirectorSubmissionDAO.getSortMapping ( heading  ) 

Map a column heading value to a database value for sorting

Parameters:
string 
Returns:
string

Definition at line 598 of file DirectorSubmissionDAO.inc.php.

Referenced by _getUnfilteredDirectorSubmissions().

& DirectorSubmissionDAO.getUsersNotAssignedToPaper ( schedConfId,
paperId,
roleId,
searchType = null,
search = null,
searchMatch = null,
rangeInfo = null 
)

Retrieve a list of all users in the specified role not assigned as directors to the specified paper.

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

Definition at line 518 of file DirectorSubmissionDAO.inc.php.

DirectorSubmissionDAO.insertDirectorSubmission ( &$  directorSubmission  ) 

Insert a new DirectorSubmission.

Parameters:
$directorSubmission DirectorSubmission

Definition at line 124 of file DirectorSubmissionDAO.inc.php.

References getInsertEditId().

DirectorSubmissionDAO.transferDirectorDecisions ( oldUserId,
newUserId 
)

Get the director decisions for a director.

Parameters:
$userId int

Definition at line 504 of file DirectorSubmissionDAO.inc.php.

DirectorSubmissionDAO.updateDirectorSubmission ( &$  directorSubmission  ) 

Update an existing paper.

Parameters:
$paper Paper

Definition at line 153 of file DirectorSubmissionDAO.inc.php.


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