Interface ConfigureFacade
- All Known Implementing Classes:
ConfigureFacadeImpl
@PublicApi
public interface ConfigureFacade
Service interface to access and manage Assets configuration
- Since:
- 2.13.1
- Author:
- Mathias Edblom
-
Method Summary
Modifier and TypeMethodDescriptioncreateIconBean
(IconBean iconBean) Creates aIconBean
createReferenceTypeBean
(ReferenceTypeBean referenceTypeBean) Creates aReferenceTypeBean
createStatusTypeBean
(StatusTypeBean statusTypeBean) Creates aStatusTypeBean
void
deleteGroupRoleActor
(String groupName) Deletes group from all Assets permissionsvoid
deleteIconBean
(int id) Delete aIconBean
domain object.void
deleteReferenceTypeBean
(int id) Delete aReferenceTypeBean
void
deleteStatusTypeBean
(int id) Delete aStatusTypeBean
exportObjectSchemaConfiguration
(int id) Deprecated.findAllIconBeans
(int objectSchemaId) Finds allIconBean
for a specificObjectSchemaBean
including all global ones.findAllReferenceTypeBeans
(int objectSchemaId) Finds allReferenceTypeBean
including global onesfindAllStatusTypeBeans
(int objectSchemaId) Finds allStatusTypeBean
including global onesFinds all globalIconBean
Finds all globalReferenceTypeBean
Finds all globalStatusTypeBean
findIconBeans
(int objectSchemaId) Finds allIconBean
specified for a specificObjectSchemaBean
(not global ones).findReferenceTypeBeans
(int objectSchemaId) Finds allReferenceTypeBean
for a specific ObjectSchema idFinds allRoleBean
findRoleBeansByObjectSchema
(int objectSchemaId) Finds allRoleBean
by Object SchemafindRoleBeansByObjectType
(int objectTypeId) Finds allRoleBean
by Object TypefindStatusTypeBeans
(int objectSchemaId) Finds allStatusTypeBean
for a specific ObjectSchema idloadIconBean
(int id) Loads a singleIconBean
loadIconBean
(int objectSchemaId, String name) Loads a singleIconBean
loadReferenceTypeBean
(int id) Loads a singleReferenceTypeBean
loadReferenceTypeBean
(int id, String name) Loads a singleReferenceTypeBean
loadRoleActorBean
(int id) Loads aRoleActorBean
loadRoleBean
(int id) Loads aRoleBean
loadStatusTypeBean
(int id) Loads a singleStatusTypeBean
loadStatusTypeBean
(int objectSchemaId, String name) Loads a singleStatusTypeBean
void
storeActorsForRoleBean
(Map<String, Set<String>> newRoleActorBeans, int roleBeanId) Stores actors for aRoleBean
updateIconBean
(IconBean iconBean) Update aIconBean
updateReferenceTypeBean
(ReferenceTypeBean referenceTypeBean) Updates aReferenceTypeBean
updateStatusTypeBean
(StatusTypeBean statusTypeBean) Updates aStatusTypeBean
-
Method Details
-
findRoleBeans
Finds allRoleBean
- Returns:
- a list of
RoleBean
@ - Throws:
InsightException
-
findRoleBeansByObjectSchema
Finds allRoleBean
by Object Schema- Parameters:
objectSchemaId
- theObjectSchemaBean
Id- Returns:
- a list of
RoleBean
@ - Throws:
InsightException
- if something goes wrong
-
findRoleBeansByObjectType
Finds allRoleBean
by Object Type- Parameters:
objectTypeId
- theObjectTypeBean
Id- Returns:
- a list of
RoleBean
@ - Throws:
InsightException
- if something goes wrong
-
loadRoleBean
Loads aRoleBean
- Returns:
- a
RoleBean
@ - Throws:
InsightException
- if something goes wrong
-
loadRoleActorBean
Loads aRoleActorBean
- Returns:
- a
RoleActorBean
@ - Throws:
InsightException
- if something goes wrong
-
storeActorsForRoleBean
void storeActorsForRoleBean(Map<String, Set<String>> newRoleActorBeans, int roleBeanId) throws InsightExceptionStores actors for aRoleBean
- Throws:
InsightException
- if something goes wrong
-
deleteGroupRoleActor
Deletes group from all Assets permissions- Throws:
InsightException
- if something goes wrong
-
createReferenceTypeBean
ReferenceTypeBean createReferenceTypeBean(ReferenceTypeBean referenceTypeBean) throws InsightException Creates aReferenceTypeBean
- Parameters:
referenceTypeBean
- aReferenceTypeBean
- Returns:
- the created
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
updateReferenceTypeBean
ReferenceTypeBean updateReferenceTypeBean(ReferenceTypeBean referenceTypeBean) throws InsightException Updates aReferenceTypeBean
- Parameters:
referenceTypeBean
- aReferenceTypeBean
- Returns:
- the updated
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
findGlobalReferenceTypeBeans
Finds all globalReferenceTypeBean
- Returns:
- all list of
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
findReferenceTypeBeans
Finds allReferenceTypeBean
for a specific ObjectSchema id- Returns:
- all list of
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
findAllReferenceTypeBeans
Finds allReferenceTypeBean
including global ones- Returns:
- a list of
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
loadReferenceTypeBean
Loads a singleReferenceTypeBean
- Returns:
- the loaded
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
loadReferenceTypeBean
Loads a singleReferenceTypeBean
- Returns:
- the loaded
ReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
deleteReferenceTypeBean
Delete aReferenceTypeBean
- Throws:
InsightException
- if something goes wrong
-
createStatusTypeBean
Creates aStatusTypeBean
- Parameters:
statusTypeBean
- aStatusTypeBean
- Returns:
- the created
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
updateStatusTypeBean
Updates aStatusTypeBean
- Parameters:
statusTypeBean
- aStatusTypeBean
- Returns:
- the updated
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
findGlobalStatusTypeBeans
Finds all globalStatusTypeBean
- Returns:
- all list of
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
findStatusTypeBeans
Finds allStatusTypeBean
for a specific ObjectSchema id- Returns:
- all list of
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
findAllStatusTypeBeans
Finds allStatusTypeBean
including global ones- Returns:
- a list of
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
loadStatusTypeBean
Loads a singleStatusTypeBean
- Returns:
- the loaded
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
loadStatusTypeBean
Loads a singleStatusTypeBean
- Returns:
- the loaded
StatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
deleteStatusTypeBean
Delete aStatusTypeBean
- Throws:
InsightException
- if something goes wrong
-
createIconBean
Creates aIconBean
- Parameters:
iconBean
- a IconBean- Returns:
- the created
IconBean
with an id. - Throws:
InsightException
- if something goes wrong
-
updateIconBean
Update aIconBean
- Parameters:
iconBean
- aIconBean
- Returns:
- the updated
IconBean
with an id. - Throws:
InsightException
- if something goes wrong
-
findGlobalIconBeans
Finds all globalIconBean
- Returns:
- all
IconBean
- Throws:
InsightException
- if something goes wrong
-
findAllIconBeans
Finds allIconBean
for a specificObjectSchemaBean
including all global ones.- Returns:
- a list of
IconBean
- Throws:
InsightException
- if something goes wrong
-
findIconBeans
Finds allIconBean
specified for a specificObjectSchemaBean
(not global ones).- Returns:
- a list of
IconBean
- Throws:
InsightException
- if something goes wrong
-
loadIconBean
Loads a singleIconBean
- Parameters:
id
- the id of theIconBean
to load- Returns:
- the loaded
IconBean
- Throws:
InsightException
- if something goes wrong
-
loadIconBean
Loads a singleIconBean
- Parameters:
name
- the name of theIconBean
to load- Returns:
- the loaded
IconBean
- Throws:
InsightException
- if something goes wrong
-
deleteIconBean
Delete aIconBean
domain object.- Throws:
InsightException
- if something goes wrong
-
exportObjectSchemaConfiguration
Deprecated.UseObjectSchemaExportService.streamSchemaToClient(ExportObjectSchemaDataBean)
instead.Due to being deprecated, this method will NOT support auditing. This method will be removed with Jira 6.0 platform release.- Parameters:
id
- Object Schema ID- Returns:
- a xml string
- Throws:
InsightException
- if something goes wrong
-
ObjectSchemaExportService.streamSchemaToClient(ExportObjectSchemaDataBean)
instead.