com.atlassian.jira.security.plugin
Class GlobalPermissionEntityFactory
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<GlobalPermissionEntry>
com.atlassian.jira.security.plugin.GlobalPermissionEntityFactory
- All Implemented Interfaces:
- EntityBuilder<GlobalPermissionEntry>, EntityFactory<GlobalPermissionEntry>, NamedEntityBuilder<GlobalPermissionEntry>
public class GlobalPermissionEntityFactory
- extends AbstractEntityFactory<GlobalPermissionEntry>
PERMISSION
public static final String PERMISSION
- See Also:
- Constant Field Values
GROUP
public static final String GROUP
- See Also:
- Constant Field Values
GlobalPermissionEntityFactory
public GlobalPermissionEntityFactory()
getEntityName
public String getEntityName()
- Description copied from interface:
NamedEntityBuilder
- The name of the Entity as defined in the entitymodel.xml file.
- Returns:
- the name of the Entity.
fieldMapFrom
public Map<String,Object> fieldMapFrom(GlobalPermissionEntry value)
- Description copied from interface:
EntityFactory
- Builds a FieldMap from an entity Object.
The FieldMap is the data held by a GenericValue, so this basically is the reverse operation of turning an object
into a GenericValue.
- Parameters:
value
- the Entity value
- Returns:
- Map of field values
build
public GlobalPermissionEntry build(org.ofbiz.core.entity.GenericValue gV)
- Description copied from interface:
EntityBuilder
- Builds an instance of this Entity from the given GenericValue.
- Parameters:
gV
- GenericValue for the entity
- Returns:
- the entity Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.