Class ImmutableFactory
java.lang.Object
com.riadalabs.jira.plugins.insight.services.model.ImmutableFactory
Factory to disable the creation of immutable object classes outside of Insight. The immutable object, object
attribute and object attribute value should always be created by Insight and never outside. Use the Mutable* if
creation is required outside of Insight
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectAttributeBean
createObjectAttributeBean
(Long id, Integer objectTypeAttributeId, Integer objectId, List<ObjectAttributeValueBean> objectAttributeValueBeans) final ObjectAttributeValueBean
createObjectAttributeValueBean
(ObjectAttributeValueBean objectAttributeValueBean) final ObjectAttributeValueBean
createObjectAttributeValueBean
(Long id, String textValue, Boolean booleanValue, Double doubleValue, Date dateValue, Integer integerValue, Integer referencedObjectBeanId, String additionalValue, Long longValue) final ObjectBean
createObjectBean
(int id, String label, String objectKey, Date created, Date updated, boolean hasAvatar, int objectTypeId, boolean archived, Date archivedDate, String archivedBy) final ObjectBean
createObjectBean
(int id, String label, String objectKey, Date created, Date updated, boolean hasAvatar, int objectTypeId, List<ObjectAttributeBean> objectAttributeBeans, boolean archived, Date archivedDate, String archivedBy) final ObjectTypeBean
createObjectType
(Integer id, String name, String description, IconBean iconBean, int position, Date created, Date updated, Integer objectSchemaId, Integer parentObjectTypeId, boolean inherited, boolean abstractObjectType) final ObjectTypeBean
createObjectType
(Integer id, String name, String description, IconBean iconBean, int position, Date created, Date updated, Integer objectSchemaId, Integer parentObjectTypeId, boolean inherited, boolean abstractObjectType, List<Integer> childrenObjectTypeIDs, List<Integer> descendentObjectTypeIDs) final ObjectTypeAttributeBean
createObjectTypeAttribute
(Integer id, String name, boolean label, ObjectTypeAttributeBean.Type type, String description, ObjectTypeAttributeBean.DefaultType defaultType, ReferenceTypeBean referenceTypeBean, Integer referenceObjectTypeId, String typeValue, String additionalValue, int position, Date created, Date updated, Integer objectTypeId, boolean hidden, int minimumCardinality, int maximumCardinality, boolean removable, ObjectTypeAttributeBean.SystemAttributeType systemAttributeType, String suffix, boolean includeChildObjectTypes, boolean uniqueAttribute, boolean summable, boolean indexed, String regexValidation, String iql, String options)
-
Constructor Details
-
ImmutableFactory
public ImmutableFactory()
-
-
Method Details
-
createObjectType
-
createObjectType
public final ObjectTypeBean createObjectType(Integer id, String name, String description, IconBean iconBean, int position, Date created, Date updated, Integer objectSchemaId, Integer parentObjectTypeId, boolean inherited, boolean abstractObjectType, List<Integer> childrenObjectTypeIDs, List<Integer> descendentObjectTypeIDs) -
createObjectTypeAttribute
public final ObjectTypeAttributeBean createObjectTypeAttribute(Integer id, String name, boolean label, ObjectTypeAttributeBean.Type type, String description, ObjectTypeAttributeBean.DefaultType defaultType, ReferenceTypeBean referenceTypeBean, Integer referenceObjectTypeId, String typeValue, String additionalValue, int position, Date created, Date updated, Integer objectTypeId, boolean hidden, int minimumCardinality, int maximumCardinality, boolean removable, ObjectTypeAttributeBean.SystemAttributeType systemAttributeType, String suffix, boolean includeChildObjectTypes, boolean uniqueAttribute, boolean summable, boolean indexed, String regexValidation, String iql, String options) -
createObjectBean
-
createObjectBean
public final ObjectBean createObjectBean(int id, String label, String objectKey, Date created, Date updated, boolean hasAvatar, int objectTypeId, List<ObjectAttributeBean> objectAttributeBeans, boolean archived, Date archivedDate, String archivedBy) -
createObjectAttributeBean
public final ObjectAttributeBean createObjectAttributeBean(Long id, Integer objectTypeAttributeId, Integer objectId, List<ObjectAttributeValueBean> objectAttributeValueBeans) -
createObjectAttributeValueBean
public final ObjectAttributeValueBean createObjectAttributeValueBean(ObjectAttributeValueBean objectAttributeValueBean) -
createObjectAttributeValueBean
-