Class EntityPermissionChecker.StdPermissionConditionGetter
- java.lang.Object
-
- org.apache.ofbiz.entityext.permission.EntityPermissionChecker.StdPermissionConditionGetter
-
- All Implemented Interfaces:
EntityPermissionChecker.PermissionConditionGetter
- Enclosing class:
- EntityPermissionChecker
public static class EntityPermissionChecker.StdPermissionConditionGetter extends java.lang.Object implements EntityPermissionChecker.PermissionConditionGetter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
auxiliaryFieldName
protected GenericValue
currentValue
protected java.util.List<GenericValue>
entityList
protected java.lang.String
entityName
protected java.util.ListIterator<GenericValue>
iter
protected java.lang.String
operationFieldName
protected java.util.List<java.lang.String>
operationList
protected java.lang.String
privilegeFieldName
protected java.lang.String
roleFieldName
protected java.lang.String
statusFieldName
-
Constructor Summary
Constructors Constructor Description StdPermissionConditionGetter()
StdPermissionConditionGetter(java.lang.String entityName, java.lang.String operationFieldName, java.lang.String roleFieldName, java.lang.String statusFieldName, java.lang.String auxiliaryFieldName, java.lang.String privilegeFieldName)
StdPermissionConditionGetter(org.w3c.dom.Element getterElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearList()
java.lang.String
dumpAsText()
java.lang.String
getAuxiliaryValue()
boolean
getNext()
java.util.List<java.lang.String>
getOperationList()
java.lang.String
getOperationValue()
int
getPrivilegeValue()
java.lang.String
getRoleValue()
java.lang.String
getStatusValue()
void
init(Delegator delegator)
void
restart()
void
setOperationList(java.lang.String operationIdString)
void
setOperationList(java.util.List<java.lang.String> operationList)
-
-
-
Field Detail
-
entityList
protected java.util.List<GenericValue> entityList
-
operationList
protected java.util.List<java.lang.String> operationList
-
iter
protected java.util.ListIterator<GenericValue> iter
-
currentValue
protected GenericValue currentValue
-
operationFieldName
protected java.lang.String operationFieldName
-
roleFieldName
protected java.lang.String roleFieldName
-
statusFieldName
protected java.lang.String statusFieldName
-
privilegeFieldName
protected java.lang.String privilegeFieldName
-
auxiliaryFieldName
protected java.lang.String auxiliaryFieldName
-
entityName
protected java.lang.String entityName
-
-
Constructor Detail
-
StdPermissionConditionGetter
public StdPermissionConditionGetter()
-
StdPermissionConditionGetter
public StdPermissionConditionGetter(java.lang.String entityName, java.lang.String operationFieldName, java.lang.String roleFieldName, java.lang.String statusFieldName, java.lang.String auxiliaryFieldName, java.lang.String privilegeFieldName)
-
StdPermissionConditionGetter
public StdPermissionConditionGetter(org.w3c.dom.Element getterElement)
-
-
Method Detail
-
getNext
public boolean getNext()
- Specified by:
getNext
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
getRoleValue
public java.lang.String getRoleValue()
- Specified by:
getRoleValue
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
getOperationValue
public java.lang.String getOperationValue()
- Specified by:
getOperationValue
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
getStatusValue
public java.lang.String getStatusValue()
- Specified by:
getStatusValue
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
getPrivilegeValue
public int getPrivilegeValue() throws GenericEntityException
- Specified by:
getPrivilegeValue
in interfaceEntityPermissionChecker.PermissionConditionGetter
- Throws:
GenericEntityException
-
getAuxiliaryValue
public java.lang.String getAuxiliaryValue()
- Specified by:
getAuxiliaryValue
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
setOperationList
public void setOperationList(java.lang.String operationIdString)
- Specified by:
setOperationList
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
setOperationList
public void setOperationList(java.util.List<java.lang.String> operationList)
- Specified by:
setOperationList
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
getOperationList
public java.util.List<java.lang.String> getOperationList()
- Specified by:
getOperationList
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
clearList
public void clearList()
- Specified by:
clearList
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
init
public void init(Delegator delegator) throws GenericEntityException
- Specified by:
init
in interfaceEntityPermissionChecker.PermissionConditionGetter
- Throws:
GenericEntityException
-
restart
public void restart()
- Specified by:
restart
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
dumpAsText
public java.lang.String dumpAsText()
- Specified by:
dumpAsText
in interfaceEntityPermissionChecker.PermissionConditionGetter
-
-