Package com.atlassian.jira.scheme
Class AbstractSchemeManager
java.lang.Object
com.atlassian.jira.scheme.AbstractSchemeManager
- All Implemented Interfaces:
InitializingComponent,SchemeManager
- Direct Known Subclasses:
DefaultNotificationSchemeManager,DefaultPermissionSchemeManager,DefaultWorkflowSchemeManager,EagerWorkflowSchemeManager,IssueSecuritySchemeManagerImpl
public abstract class AbstractSchemeManager
extends Object
implements SchemeManager, InitializingComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.atlassian.cache.CacheManagerprotected final com.atlassian.event.api.EventPublisherprotected final GroupManagerprotected final ProjectManagerprotected final SchemeFactoryprotected final SecurityTypeManagerFields inherited from interface com.atlassian.jira.scheme.SchemeManager
PROJECT_ASSOCIATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSchemeManager(ProjectManager projectManager, SecurityTypeManager securityTypeManager, PermissionContextFactory permissionContextFactory, SchemeFactory schemeFactory, NodeAssociationStore nodeAssociationStore, OfBizDelegator ofBizDelegator, GroupManager groupManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheManager cacheManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultSchemeToProject(Project project) Adds the default scheme to a particular projectvoidaddDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project) Adds the default scheme to a particular projectvoidaddSchemeToProject(Project project, Scheme scheme) Adds a scheme to a particular projectvoidaddSchemeToProject(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue scheme) Deprecated.voidCalled after all the beans are constructed and the ApplicationContext is fully populated.copyScheme(Scheme oldScheme) Copys a scheme, giving the new scheme the same entities as the original oneorg.ofbiz.core.entity.GenericValuecopyScheme(org.ofbiz.core.entity.GenericValue oldScheme) Copys a scheme, giving the new scheme the same entities as the original oneorg.ofbiz.core.entity.GenericValueCreates a default scheme, with an id of 0org.ofbiz.core.entity.GenericValuecreateScheme(String name, String description) Creates a new schemeprotected abstract AbstractSchemeAddedToProjectEventcreateSchemeAddedToProjectEvent(Scheme scheme, Project project) createSchemeAndEntities(Scheme scheme) protected abstract AbstractSchemeCopiedEventcreateSchemeCopiedEvent(Scheme oldScheme, Scheme newScheme) protected abstract AbstractSchemeEventcreateSchemeCreatedEvent(Scheme scheme) protected abstract ObjectcreateSchemeEntityDeletedEvent(org.ofbiz.core.entity.GenericValue entity) protected abstract org.ofbiz.core.entity.GenericValuecreateSchemeEntityNoEvent(org.ofbiz.core.entity.GenericValue scheme, SchemeEntity schemeEntity) protected org.ofbiz.core.entity.GenericValuecreateSchemeGenericValue(Map<String, Object> values) protected org.ofbiz.core.entity.GenericValuecreateSchemeNoEvent(String name, String description) createSchemeObject(String name, String description) Creates a new schemeprotected abstract AbstractSchemeRemovedFromProjectEventcreateSchemeRemovedFromProjectEvent(Scheme scheme, Project project) protected abstract AbstractSchemeUpdatedEventcreateSchemeUpdatedEvent(Scheme scheme, Scheme originalScheme) voiddeleteEntities(Iterable<Long> ids) Deletes a collection of entities from the database.voiddeleteEntity(Long id) Deletes an entity with the given id from the database.voiddeleteScheme(Long id) Deletes a scheme from the databaseprotected voidprotected I18nHelpergetAssociatedSchemes(boolean withEntitiesComparable) Gets all schemes of this type in the database taht are associated with at least one project.Deprecated.Just assume all schemes are project association schemes.abstract Stringabstract Stringorg.ofbiz.core.entity.GenericValueGets the default scheme.Gets the default scheme.List<org.ofbiz.core.entity.GenericValue> getEntities(String type, String parameter) Get all entity records with a particular parameterList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme) Get all Scheme entity records for a particular schemeList<org.ofbiz.core.entity.GenericValue> getEntitiesByIds(List<Long> ids) Get all entity records for a list of idsorg.ofbiz.core.entity.GenericValueGets a scheme entity based on the id of the entityabstract StringCollection<com.atlassian.crowd.embedded.api.Group> Collection<com.atlassian.crowd.embedded.api.Group> getNameForCopy(String originalName, Integer abbreviateTo) getProjects(Scheme scheme) Gets all projects that are associated with that schemeorg.ofbiz.core.entity.GenericValueGets a scheme based on the Id of the schemeorg.ofbiz.core.entity.GenericValueGets a scheme by name from the database.abstract Stringabstract StringgetSchemeFor(Project project) Get the scheme of this type attached to the given project.getSchemeIdFor(Project project) Get the scheme of this type attached to the given project.getSchemeObject(Long id) Gets a scheme by id from the database.getSchemeObject(String name) Gets a scheme by name from the database.Gets all scheme objects in the database.List<org.ofbiz.core.entity.GenericValue> Gets all the Schemes (of the type defined by the subclass) from the database.List<org.ofbiz.core.entity.GenericValue> getSchemes(org.ofbiz.core.entity.GenericValue project) Get all schemes of this type attached to the given project.Will return all @link Scheme objects that are not currently associated with any projects.getUsers(Long permissionId, PermissionContext ctx) protected abstract SchemeEntitymakeSchemeEntity(org.ofbiz.core.entity.GenericValue schemeEntityGV) voidonClearCache(ClearCacheEvent event) booleanremoveEntities(String type, String parameter) Removes all scheme entities with this parameter and typebooleanremoveEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId) Retrieves all the entites for this permission and then removes them.Collection<org.ofbiz.core.entity.GenericValue> removeEntitiesReturningAffectedEntities(String type, String parameter) Removes all scheme entities with this parameter and typevoidremoveSchemesFromProject(Project project) Removes all schemes from a projectvoidremoveSchemesFromProject(org.ofbiz.core.entity.GenericValue project) Deprecated.booleanschemeExists(String name) Determine if the given scheme name exists.voidswapParameterForEntitiesOfType(String type, String parameter, String resultingParameter) Swaps all parameters of entities with the given type scheme to the given resulting parametervoidupdateScheme(Scheme scheme) Updates any changes to the scheme object.voidupdateScheme(org.ofbiz.core.entity.GenericValue entity) Updates any changes to the given schemeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.scheme.SchemeManager
createSchemeEntity, getEntities, getEntities, getEntities, getEntities
-
Field Details
-
projectManager
-
securityTypeManager
-
schemeFactory
-
groupManager
-
eventPublisher
protected final com.atlassian.event.api.EventPublisher eventPublisher -
cacheManager
protected final com.atlassian.cache.CacheManager cacheManager
-
-
Constructor Details
-
AbstractSchemeManager
protected AbstractSchemeManager(ProjectManager projectManager, SecurityTypeManager securityTypeManager, PermissionContextFactory permissionContextFactory, SchemeFactory schemeFactory, NodeAssociationStore nodeAssociationStore, OfBizDelegator ofBizDelegator, GroupManager groupManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheManager cacheManager)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponentCalled after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
onClearCache
-
getSchemeEntityName
-
getEntityName
-
getSchemeDesc
-
getDefaultNameKey
-
getDefaultDescriptionKey
-
getAssociationType
Deprecated.Just assume all schemes are project association schemes.Identifies whether this scheme manager makes its schemes associated withprojectsor something else. This is here for historic reasons as schemes are now always associated with projects. This means you should not override this.- Returns:
- @{link SchemeManager#PROJECT_ASSOCIATION}
-
createSchemeEntityNoEvent
protected abstract org.ofbiz.core.entity.GenericValue createSchemeEntityNoEvent(org.ofbiz.core.entity.GenericValue scheme, SchemeEntity schemeEntity) throws org.ofbiz.core.entity.GenericEntityException - Throws:
org.ofbiz.core.entity.GenericEntityException
-
getScheme
Description copied from interface:SchemeManagerGets a scheme based on the Id of the scheme- Specified by:
getSchemein interfaceSchemeManager- Parameters:
id- Id of the scheme- Returns:
- The scheme
-
getSchemeObject
Description copied from interface:SchemeManagerGets a scheme by id from the database.- Specified by:
getSchemeObjectin interfaceSchemeManager- Parameters:
id- the id of the scheme to get.- Returns:
- the Scheme
- Throws:
DataAccessException- if there is trouble retrieving from the database.
-
getSchemeObject
Description copied from interface:SchemeManagerGets a scheme by name from the database.- Specified by:
getSchemeObjectin interfaceSchemeManager- Parameters:
name- the name of the scheme to get.- Returns:
- the Scheme
- Throws:
DataAccessException- if there is trouble retrieving from the database.
-
getScheme
Description copied from interface:SchemeManagerGets a scheme by name from the database.- Specified by:
getSchemein interfaceSchemeManager- Parameters:
name- the name of the scheme to get.- Returns:
- the Scheme
- Throws:
DataAccessException
-
getSchemes
Description copied from interface:SchemeManagerGets all the Schemes (of the type defined by the subclass) from the database.- Specified by:
getSchemesin interfaceSchemeManager- Returns:
- the schemes.
- Throws:
DataAccessException
-
getSchemeObjects
Description copied from interface:SchemeManagerGets all scheme objects in the database.- Specified by:
getSchemeObjectsin interfaceSchemeManager- Returns:
- the schemes.
- Throws:
DataAccessException- if the database is down or equivalent.
-
getAssociatedSchemes
Description copied from interface:SchemeManagerGets all schemes of this type in the database taht are associated with at least one project.- Specified by:
getAssociatedSchemesin interfaceSchemeManager- Parameters:
withEntitiesComparable- if true then the scheme entites will be logically comparable (they will not include database specific information such as the pk id). Otherwise the object will be a full representation of the row stored in the database.- Returns:
- List of associated schemes
- Throws:
DataAccessException
-
getUnassociatedSchemes
Description copied from interface:SchemeManagerWill return all @link Scheme objects that are not currently associated with any projects.- Specified by:
getUnassociatedSchemesin interfaceSchemeManager- Returns:
- list of @link Scheme objects
- Throws:
DataAccessException- if the database is down or equivalent.
-
getSchemes
public List<org.ofbiz.core.entity.GenericValue> getSchemes(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerGet all schemes of this type attached to the given project.- Specified by:
getSchemesin interfaceSchemeManager- Parameters:
project- The project that the schemes are attached to- Returns:
- List of schemes
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
getSchemeFor
Description copied from interface:SchemeManagerGet the scheme of this type attached to the given project.- Specified by:
getSchemeForin interfaceSchemeManager- Parameters:
project- The project- Returns:
- The scheme associated with this project.
- See Also:
-
getSchemeIdFor
Description copied from interface:SchemeManagerGet the scheme of this type attached to the given project.- Specified by:
getSchemeIdForin interfaceSchemeManager- Parameters:
project- The project- Returns:
- The ID of the scheme associated with this project.
- See Also:
-
getEntity
Description copied from interface:SchemeManagerGets a scheme entity based on the id of the entity- Specified by:
getEntityin interfaceSchemeManager- Parameters:
id- The id of the entity- Returns:
- The scheme entity object
-
getEntities
public List<org.ofbiz.core.entity.GenericValue> getEntities(String type, String parameter) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerGet all entity records with a particular parameter- Specified by:
getEntitiesin interfaceSchemeManager- Parameters:
type- The type of entity you wish to retrieve, eg 'user', 'group', 'projectrole'parameter- The parameter in the entity- Returns:
- List of (GenericValue) entities
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
getEntitiesByIds
Description copied from interface:SchemeManagerGet all entity records for a list of ids- Specified by:
getEntitiesByIdsin interfaceSchemeManager- Parameters:
ids- a collection of entity ids that should be retrieved- Returns:
- List of (GenericValue) entities - can be an empty list if no entities match the given ids
-
getEntities
public List<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerGet all Scheme entity records for a particular scheme- Specified by:
getEntitiesin interfaceSchemeManager- Parameters:
scheme- The scheme that the entities belong to- Returns:
- List of (GenericValue) entities
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
schemeExists
Description copied from interface:SchemeManagerDetermine if the given scheme name exists.- Specified by:
schemeExistsin interfaceSchemeManager- Parameters:
name- The name of the scheme- Returns:
- true is the schem exists.
-
createScheme
public org.ofbiz.core.entity.GenericValue createScheme(String name, String description) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerCreates a new scheme- Specified by:
createSchemein interfaceSchemeManager- Parameters:
name- The name of the new schemedescription- The description of the new scheme- Returns:
- The new scheme object
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
createSchemeNoEvent
protected org.ofbiz.core.entity.GenericValue createSchemeNoEvent(String name, String description) throws org.ofbiz.core.entity.GenericEntityException - Throws:
org.ofbiz.core.entity.GenericEntityException
-
createSchemeCreatedEvent
-
createSchemeObject
Description copied from interface:SchemeManagerCreates a new scheme- Specified by:
createSchemeObjectin interfaceSchemeManager- Parameters:
name- The name of the new schemedescription- The description of the new scheme- Returns:
- The new scheme object
-
createSchemeAndEntities
- Specified by:
createSchemeAndEntitiesin interfaceSchemeManager- Throws:
DataAccessException
-
createSchemeUpdatedEvent
protected abstract AbstractSchemeUpdatedEvent createSchemeUpdatedEvent(Scheme scheme, Scheme originalScheme) -
updateScheme
public void updateScheme(org.ofbiz.core.entity.GenericValue entity) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerUpdates any changes to the given scheme- Specified by:
updateSchemein interfaceSchemeManager- Parameters:
entity- The modified scheme- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
updateScheme
Description copied from interface:SchemeManagerUpdates any changes to the scheme object. This does not include changes to the scheme entities.- Specified by:
updateSchemein interfaceSchemeManager- Parameters:
scheme- The modified scheme object- Throws:
DataAccessException
-
deleteScheme
Description copied from interface:SchemeManagerDeletes a scheme from the database- Specified by:
deleteSchemein interfaceSchemeManager- Parameters:
id- Id of the scheme to be deleted- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
addSchemeToProject
@Deprecated public void addSchemeToProject(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException Deprecated.Description copied from interface:SchemeManagerAdds a scheme to a particular project- Specified by:
addSchemeToProjectin interfaceSchemeManager- Parameters:
project- The project that the scheme is to be added toscheme- The scheme to be added- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
addSchemeToProject
Description copied from interface:SchemeManagerAdds a scheme to a particular project- Specified by:
addSchemeToProjectin interfaceSchemeManager- Parameters:
project- The project that the scheme is to be added toscheme- The scheme to be added- Throws:
DataAccessException
-
createSchemeAddedToProjectEvent
@Nonnull protected abstract AbstractSchemeAddedToProjectEvent createSchemeAddedToProjectEvent(Scheme scheme, Project project) -
removeSchemesFromProject
Description copied from interface:SchemeManagerRemoves all schemes from a project- Specified by:
removeSchemesFromProjectin interfaceSchemeManager- Parameters:
project- The project that all schemes are to be deleted from- Throws:
DataAccessException
-
removeSchemesFromProject
@Deprecated public void removeSchemesFromProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException Deprecated.Description copied from interface:SchemeManagerRemoves all schemes from a project- Specified by:
removeSchemesFromProjectin interfaceSchemeManager- Parameters:
project- The project that all schemes are to be deleted from- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
createSchemeRemovedFromProjectEvent
@Nonnull protected abstract AbstractSchemeRemovedFromProjectEvent createSchemeRemovedFromProjectEvent(Scheme scheme, Project project) -
deleteEntity
Description copied from interface:SchemeManagerDeletes an entity with the given id from the database.- Specified by:
deleteEntityin interfaceSchemeManager- Parameters:
id- The id of the entity to be deleted- Throws:
DataAccessException
-
deleteEntities
Description copied from interface:SchemeManagerDeletes a collection of entities from the database.- Specified by:
deleteEntitiesin interfaceSchemeManager- Parameters:
ids- a collection entity ids to be deleted.- Throws:
DataAccessException
-
swapParameterForEntitiesOfType
public void swapParameterForEntitiesOfType(String type, String parameter, String resultingParameter) Description copied from interface:SchemeManagerSwaps all parameters of entities with the given type scheme to the given resulting parameter- Specified by:
swapParameterForEntitiesOfTypein interfaceSchemeManager- Parameters:
type- the 'type' of entity you are swapping, eg 'group', 'user', 'projectrole'parameter- must NOT be null
-
makeSchemeEntity
-
createSchemeEntityDeletedEvent
@Nullable protected abstract Object createSchemeEntityDeletedEvent(org.ofbiz.core.entity.GenericValue entity) -
getProjects
Description copied from interface:SchemeManagerGets all projects that are associated with that scheme- Specified by:
getProjectsin interfaceSchemeManager- Parameters:
scheme- The scheme used to get all projects- Returns:
- List of
Project's - Throws:
DataAccessException
-
createDefaultScheme
public org.ofbiz.core.entity.GenericValue createDefaultScheme() throws org.ofbiz.core.entity.GenericEntityExceptionDescription copied from interface:SchemeManagerCreates a default scheme, with an id of 0- Specified by:
createDefaultSchemein interfaceSchemeManager- Returns:
- The new permission scheme object
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
removeEntities
Description copied from interface:SchemeManagerRemoves all scheme entities with this parameter and type- Specified by:
removeEntitiesin interfaceSchemeManager- Parameters:
type- the 'type' of entity you are deleting, eg 'group', 'user', 'projectrole'parameter- must NOT be null- Returns:
- true always (legacy)
- Throws:
RemoveException- if the delete fails (DB error)
-
removeEntitiesReturningAffectedEntities
public Collection<org.ofbiz.core.entity.GenericValue> removeEntitiesReturningAffectedEntities(String type, String parameter) throws RemoveException Description copied from interface:SchemeManagerRemoves all scheme entities with this parameter and type- Specified by:
removeEntitiesReturningAffectedEntitiesin interfaceSchemeManager- Parameters:
type- the 'type' of entity you are deleting, eg 'group', 'user', 'projectrole'parameter- must NOT be null- Returns:
- a collection of the entities that were removed
- Throws:
RemoveException- if the delete fails (DB error)
-
removeEntities
public boolean removeEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId) throws RemoveException Description copied from interface:SchemeManagerRetrieves all the entites for this permission and then removes them.- Specified by:
removeEntitiesin interfaceSchemeManager- Parameters:
scheme- to remove entites from must NOT be nullentityTypeId- to remove- Returns:
- True all the time (legacy)
- Throws:
RemoveException- if the delete fails (DB error)
-
getDefaultScheme
public org.ofbiz.core.entity.GenericValue getDefaultScheme() throws org.ofbiz.core.entity.GenericEntityExceptionDescription copied from interface:SchemeManagerGets the default scheme. This should have an id of 0This does not work for the Default Notification scheme as it does not have an id of 0.
- Specified by:
getDefaultSchemein interfaceSchemeManager- Returns:
- The default scheme
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
getDefaultSchemeObject
Description copied from interface:SchemeManagerGets the default scheme. This should have an id of 0This does not work for the Default Notification scheme as it does not have an id of 0.
- Specified by:
getDefaultSchemeObjectin interfaceSchemeManager- Returns:
- The default scheme
-
addDefaultSchemeToProject
public void addDefaultSchemeToProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerAdds the default scheme to a particular project- Specified by:
addDefaultSchemeToProjectin interfaceSchemeManager- Parameters:
project- The project that the scheme is to be added to- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
addDefaultSchemeToProject
Description copied from interface:SchemeManagerAdds the default scheme to a particular project- Specified by:
addDefaultSchemeToProjectin interfaceSchemeManager- Parameters:
project- The project that the scheme is to be added to- Throws:
DataAccessException
-
copyScheme
public org.ofbiz.core.entity.GenericValue copyScheme(org.ofbiz.core.entity.GenericValue oldScheme) throws org.ofbiz.core.entity.GenericEntityException Description copied from interface:SchemeManagerCopys a scheme, giving the new scheme the same entities as the original one- Specified by:
copySchemein interfaceSchemeManager- Parameters:
oldScheme- The permission scheme to be copied- Returns:
- The new permission scheme
- Throws:
org.ofbiz.core.entity.GenericEntityException- If a DB error occurs
-
getNameForCopy
-
createSchemeCopiedEvent
@Nonnull protected abstract AbstractSchemeCopiedEvent createSchemeCopiedEvent(@Nonnull Scheme oldScheme, @Nonnull Scheme newScheme) -
copyScheme
Description copied from interface:SchemeManagerCopys a scheme, giving the new scheme the same entities as the original one- Specified by:
copySchemein interfaceSchemeManager- Parameters:
oldScheme- The permission scheme to be copied- Returns:
- The new permission scheme
-
flushProjectSchemes
protected void flushProjectSchemes() -
getGroups
public Collection<com.atlassian.crowd.embedded.api.Group> getGroups(Long entityTypeId, Project project) - Specified by:
getGroupsin interfaceSchemeManager
-
getGroups
public Collection<com.atlassian.crowd.embedded.api.Group> getGroups(Long entityTypeId, org.ofbiz.core.entity.GenericValue project) - Specified by:
getGroupsin interfaceSchemeManager
-
getUsers
public Collection<ApplicationUser> getUsers(Long permissionId, org.ofbiz.core.entity.GenericValue projectOrIssue) - Specified by:
getUsersin interfaceSchemeManager
-
getUsers
- Specified by:
getUsersin interfaceSchemeManager
-
getUsers
- Specified by:
getUsersin interfaceSchemeManager
-
getUsers
- Specified by:
getUsersin interfaceSchemeManager
-
createSchemeGenericValue
protected org.ofbiz.core.entity.GenericValue createSchemeGenericValue(Map<String, Object> values) throws org.ofbiz.core.entity.GenericEntityException- Throws:
org.ofbiz.core.entity.GenericEntityException
-
getApplicationI18n
-