Class EntityPermissionChecker.StdRelatedRoleGetter
java.lang.Object
org.apache.ofbiz.entityext.permission.EntityPermissionChecker.StdRelatedRoleGetter
- All Implemented Interfaces:
EntityPermissionChecker.RelatedRoleGetter
- Enclosing class:
- EntityPermissionChecker
public static class EntityPermissionChecker.StdRelatedRoleGetter
extends Object
implements EntityPermissionChecker.RelatedRoleGetter
-
Constructor Summary
ConstructorDescriptionStdRelatedRoleGetter
(String entityName, String roleTypeFieldName, String roleEntityIdName, String partyFieldName, String ownerEntityFieldName, String roleEntityName) StdRelatedRoleGetter
(Element getterElement) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getList()
void
init
(Delegator delegator, String entityId, String partyId, GenericValue entity) void
initWithAncestors
(Delegator delegator, GenericValue entity, String partyId) boolean
isOwner
(GenericValue entity, String targetPartyId) void
-
Constructor Details
-
StdRelatedRoleGetter
public StdRelatedRoleGetter() -
StdRelatedRoleGetter
-
StdRelatedRoleGetter
-
-
Method Details
-
getList
- Specified by:
getList
in interfaceEntityPermissionChecker.RelatedRoleGetter
-
clearList
public void clearList()- Specified by:
clearList
in interfaceEntityPermissionChecker.RelatedRoleGetter
-
setList
- Specified by:
setList
in interfaceEntityPermissionChecker.RelatedRoleGetter
-
init
public void init(Delegator delegator, String entityId, String partyId, GenericValue entity) throws GenericEntityException - Specified by:
init
in interfaceEntityPermissionChecker.RelatedRoleGetter
- Throws:
GenericEntityException
-
initWithAncestors
public void initWithAncestors(Delegator delegator, GenericValue entity, String partyId) throws GenericEntityException - Specified by:
initWithAncestors
in interfaceEntityPermissionChecker.RelatedRoleGetter
- Throws:
GenericEntityException
-
isOwner
- Specified by:
isOwner
in interfaceEntityPermissionChecker.RelatedRoleGetter
-
dumpAsText
- Specified by:
dumpAsText
in interfaceEntityPermissionChecker.RelatedRoleGetter
-