public class TrashRightPolicyFilter extends BasicRightPolicyFilter
REVISION
order
CTXT_CATEGORIES
Constructor and Description |
---|
TrashRightPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
callCanBeReadBy(PublicationCriteria pubCriteria)
|
boolean |
canBeReadBy(boolean isAuthorized,
Publication pub,
Member mbr,
boolean searchInGroups)
Called by
Publication.canBeReadBy(Member, boolean) . |
callCanBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canCreateContact, canCreateWorkspace, canDeleteOther, canDeleteOther, canManageCategory, canPublish, canUpdateOther, canUpdateOther, canUseCategory, canWorkOn, canWorkOn, checkAccess, checkAfterUpload, checkBeforeUpload, checkHtml, getWorkspaceSet, init, isAdmin, isWorker
compareTo, equals, getOrder, setOrder
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public boolean canBeReadBy(boolean isAuthorized, Publication pub, Member mbr, boolean searchInGroups)
RightPolicyFilter
Publication.canBeReadBy(Member, boolean)
. It checks if
a member can read the given publication.
WARNING: HIGHLY SENSIBLE, do not modify without being sure of what you do,
can dramatically impact performance and can break existing rights behaviour.canBeReadBy
in interface RightPolicyFilter
canBeReadBy
in class BasicRightPolicyFilter
isAuthorized
- true if internal JCMS control authorized the member to perform this actionpub
- the publication to checkmbr
- the member to checksearchInGroups
- if true check if one of the group this
member belongs to is authorized to read this publication.RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)
public boolean callCanBeReadBy(PublicationCriteria pubCriteria)
RightPolicyFilter
HibernateUtil.queryPublication(PublicationCriteria)
.
It checks if the method RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)
must be called on the results of the query.callCanBeReadBy
in interface RightPolicyFilter
callCanBeReadBy
in class BasicRightPolicyFilter
pubCriteria
- the criteria of the query.RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)
must be called.RightPolicyFilter.callCanBeReadBy(PublicationCriteria)
Copyright © 2001-2022 Jalios SA. All Rights Reserved.