public class ConfigureFacadeImpl extends Object implements ConfigureFacade
| Constructor and Description |
|---|
ConfigureFacadeImpl(com.riadalabs.jira.plugins.insight.services.core.ConfigureService configureService,
com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportService objectSchemaExportService,
com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator errorMessageTranslator) |
public ConfigureFacadeImpl(com.riadalabs.jira.plugins.insight.services.core.ConfigureService configureService,
com.riadalabs.jira.plugins.insight.services.imports.schema.ObjectSchemaExportService objectSchemaExportService,
com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator errorMessageTranslator)
public List<RoleBean> findRoleBeans() throws InsightException
ConfigureFacadeRoleBeanfindRoleBeans in interface ConfigureFacadeRoleBean @InsightExceptionpublic List<RoleBean> findRoleBeansByObjectSchema(int objectSchemaId) throws InsightException
ConfigureFacadeRoleBean by Object SchemafindRoleBeansByObjectSchema in interface ConfigureFacadeobjectSchemaId - the ObjectSchemaBean IdRoleBean @InsightException - if something goes wrongpublic List<RoleBean> findRoleBeansByObjectType(int objectTypeId) throws InsightException
ConfigureFacadeRoleBean by Object TypefindRoleBeansByObjectType in interface ConfigureFacadeobjectTypeId - the ObjectTypeBean IdRoleBean @InsightException - if something goes wrongpublic RoleBean loadRoleBean(int id) throws InsightException
ConfigureFacadeRoleBeanloadRoleBean in interface ConfigureFacadeRoleBean @InsightException - if something goes wrongpublic RoleActorBean loadRoleActorBean(int id) throws InsightException
ConfigureFacadeRoleActorBeanloadRoleActorBean in interface ConfigureFacadeRoleActorBean @InsightException - if something goes wrongpublic void storeActorsForRoleBean(Map<String,Set<String>> newRoleActorBeans, int roleBeanId) throws InsightException
ConfigureFacadeRoleBeanstoreActorsForRoleBean in interface ConfigureFacadeInsightException - if something goes wrongpublic void deleteGroupRoleActor(String groupName) throws InsightException
ConfigureFacadedeleteGroupRoleActor in interface ConfigureFacadeInsightException - if something goes wrongpublic ReferenceTypeBean createReferenceTypeBean(ReferenceTypeBean referenceTypeBean) throws InsightException
ConfigureFacadeReferenceTypeBeancreateReferenceTypeBean in interface ConfigureFacadereferenceTypeBean - a ReferenceTypeBeanReferenceTypeBeanInsightException - if something goes wrongpublic ReferenceTypeBean updateReferenceTypeBean(ReferenceTypeBean referenceTypeBean) throws InsightException
ConfigureFacadeReferenceTypeBeanupdateReferenceTypeBean in interface ConfigureFacadereferenceTypeBean - a ReferenceTypeBeanReferenceTypeBeanInsightException - if something goes wrongpublic List<ReferenceTypeBean> findGlobalReferenceTypeBeans() throws InsightException
ConfigureFacadeReferenceTypeBeanfindGlobalReferenceTypeBeans in interface ConfigureFacadeReferenceTypeBeanInsightException - if something goes wrongpublic List<ReferenceTypeBean> findReferenceTypeBeans(int objectSchemaId) throws InsightException
ConfigureFacadeReferenceTypeBean for a specific ObjectSchema idfindReferenceTypeBeans in interface ConfigureFacadeReferenceTypeBeanInsightException - if something goes wrongpublic List<ReferenceTypeBean> findAllReferenceTypeBeans(int objectSchemaId) throws InsightException
ConfigureFacadeReferenceTypeBean including global onesfindAllReferenceTypeBeans in interface ConfigureFacadeReferenceTypeBeanInsightException - if something goes wrongpublic ReferenceTypeBean loadReferenceTypeBean(int id) throws InsightException
ConfigureFacadeReferenceTypeBeanloadReferenceTypeBean in interface ConfigureFacadeReferenceTypeBeanInsightException - if something goes wrongpublic ReferenceTypeBean loadReferenceTypeBean(int id, String name) throws InsightException
ConfigureFacadeReferenceTypeBeanloadReferenceTypeBean in interface ConfigureFacadeReferenceTypeBeanInsightException - if something goes wrongpublic void deleteReferenceTypeBean(int id)
throws InsightException
ConfigureFacadeReferenceTypeBeandeleteReferenceTypeBean in interface ConfigureFacadeInsightException - if something goes wrongpublic StatusTypeBean createStatusTypeBean(StatusTypeBean statusTypeBean) throws InsightException
ConfigureFacadeStatusTypeBeancreateStatusTypeBean in interface ConfigureFacadestatusTypeBean - a StatusTypeBeanStatusTypeBeanInsightException - if something goes wrongpublic StatusTypeBean updateStatusTypeBean(StatusTypeBean statusTypeBean) throws InsightException
ConfigureFacadeStatusTypeBeanupdateStatusTypeBean in interface ConfigureFacadestatusTypeBean - a StatusTypeBeanStatusTypeBeanInsightException - if something goes wrongpublic List<StatusTypeBean> findGlobalStatusTypeBeans() throws InsightException
ConfigureFacadeStatusTypeBeanfindGlobalStatusTypeBeans in interface ConfigureFacadeStatusTypeBeanInsightException - if something goes wrongpublic List<StatusTypeBean> findStatusTypeBeans(int objectSchemaId) throws InsightException
ConfigureFacadeStatusTypeBean for a specific ObjectSchema idfindStatusTypeBeans in interface ConfigureFacadeStatusTypeBeanInsightException - if something goes wrongpublic List<StatusTypeBean> findAllStatusTypeBeans(int objectSchemaId) throws InsightException
ConfigureFacadeStatusTypeBean including global onesfindAllStatusTypeBeans in interface ConfigureFacadeStatusTypeBeanInsightException - if something goes wrongpublic StatusTypeBean loadStatusTypeBean(int id) throws InsightException
ConfigureFacadeStatusTypeBeanloadStatusTypeBean in interface ConfigureFacadeStatusTypeBeanInsightException - if something goes wrongpublic StatusTypeBean loadStatusTypeBean(int objectSchemaId, String name) throws InsightException
ConfigureFacadeStatusTypeBeanloadStatusTypeBean in interface ConfigureFacadeStatusTypeBeanInsightException - if something goes wrongpublic void deleteStatusTypeBean(int id)
throws InsightException
ConfigureFacadeStatusTypeBeandeleteStatusTypeBean in interface ConfigureFacadeInsightException - if something goes wrongpublic IconBean createIconBean(IconBean iconBean) throws InsightException
ConfigureFacadeIconBeancreateIconBean in interface ConfigureFacadeiconBean - a IconBeanIconBean with an id.InsightException - if something goes wrongpublic IconBean updateIconBean(IconBean iconBean) throws InsightException
ConfigureFacadeIconBeanupdateIconBean in interface ConfigureFacadeiconBean - a IconBeanIconBean with an id.InsightException - if something goes wrongpublic List<IconBean> findGlobalIconBeans() throws InsightException
ConfigureFacadeIconBeanfindGlobalIconBeans in interface ConfigureFacadeIconBeanInsightException - if something goes wrongpublic List<IconBean> findAllIconBeans(int objectSchemaId) throws InsightException
ConfigureFacadeIconBean for a specific ObjectSchemaBean including all global ones.findAllIconBeans in interface ConfigureFacadeIconBeanInsightException - if something goes wrongpublic List<IconBean> findIconBeans(int objectSchemaId) throws InsightException
ConfigureFacadeIconBean specified for a specific ObjectSchemaBean (not global ones).findIconBeans in interface ConfigureFacadeIconBeanInsightException - if something goes wrongpublic IconBean loadIconBean(int id) throws InsightException
ConfigureFacadeIconBeanloadIconBean in interface ConfigureFacadeid - the id of the IconBean to loadIconBeanInsightException - if something goes wrongpublic IconBean loadIconBean(int objectSchemaId, String name) throws InsightException
ConfigureFacadeIconBeanloadIconBean in interface ConfigureFacadename - the name of the IconBean to loadIconBeanInsightException - if something goes wrongpublic void deleteIconBean(int id)
throws InsightException
ConfigureFacadeIconBean domain object.deleteIconBean in interface ConfigureFacadeInsightException - if something goes wrong@Deprecated public String exportObjectSchemaConfiguration(int id) throws InsightException
ObjectSchemaExportService.streamSchemaToClient(ExportObjectSchemaDataBean) instead.
Due to being deprecated, this method will NOT support auditing.
This method will be removed with Jira 6.0 platform release.ConfigureFacadeexportObjectSchemaConfiguration in interface ConfigureFacadeid - Object Schema IDInsightException - if something goes wrongCopyright © 2024 Atlassian. All rights reserved.