submissions.managers.submission module¶
-
class
submissions.managers.submission.
SubmissionQuerySet
(model=None, query=None, using=None, hints=None)[source]¶ Bases:
django.db.models.query.QuerySet
-
user_filter
(user)[source]¶ Filter on basic conflict of interests.
Prevent conflict of interest by filtering submissions possibly related to user. This filter should be inherited by other filters.
-
pool_editable
(user)[source]¶ Return the editable pool for a certain user.
This is similar to the regular pool, however it also contains submissions that are hidden in the regular pool, but should still be able to be opened by for example the Editor-in-charge.
-
filter_for_eic
(user)[source]¶ Return the set of Submissions the user is Editor-in-charge for.
If user is an Editorial Administrator: return the full pool.
Return the set of Submissions for which the user is a registered author.
-
public_listed
()[source]¶ List all public Submissions if not published and submitted.
- Implement: Use this filter to also determine, using a optional user argument,
if the query should be filtered or not as a logged in EdCol Admin should be able to view all submissions.
-
public_newest
()[source]¶ This query contains set of public() submissions, filtered to only the newest available version.
-
originally_submitted
(from_date, until_date)[source]¶ Returns the submissions originally received between from_date and until_date (including subsequent resubmissions, even if those came in later).
-
awaiting_puboffer_acceptance
()[source]¶ Return Submissions for which an outstanding publication offer exists.
-
revision_requested
()[source]¶ Return Submissions with a fixed EICRecommendation: minor or major revision.
-
reports_needed
()[source]¶ Return Submissions for which the nr of Reports is less than required by target Journal.
-
has_editor_invitations_to_be_sent
()[source]¶ Return Submissions that have EditorialAssignments that still need to be sent.
-
-
class
submissions.managers.submission.
SubmissionEventQuerySet
(model=None, query=None, using=None, hints=None)[source]¶ Bases:
django.db.models.query.QuerySet
Return all events that are visible to author(s) of a submission.