Class ObjectImportBean
java.lang.Object
com.riadalabs.jira.plugins.insight.services.model.ObjectBean
com.riadalabs.jira.plugins.insight.services.model.MutableObjectBean
com.riadalabs.jira.plugins.insight.services.model.imports.ObjectImportBean
- All Implemented Interfaces:
Serializable
,Comparable<ObjectBean>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.riadalabs.jira.plugins.insight.services.model.ObjectBean
OBJECT_KEY_FORMAT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(com.riadalabs.jira.plugins.insight.services.imports.common.ImportObjectsActionMapper.IMPORT_OBJECT_ACTION action) boolean
byte[]
boolean
boolean
void
putReferenceMapping
(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate) void
putReferenceMappingWithDotNotation
(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate) Since the AQL dot notation requires the references to be set before the AQL will be executablevoid
setAvatarData
(byte[] avatarData) void
setImportSourceOTId
(Integer importSourceOTId) void
setReferences
(ObjectImportBean.ReferenceMapping references) boolean
boolean
toString()
Do not change thisboolean
Methods inherited from class com.riadalabs.jira.plugins.insight.services.model.MutableObjectBean
create, create, equals, getArchivedBy, getArchivedDate, getCreated, getId, getLabel, getName, getObjectAttributeBeans, getObjectKey, getObjectTypeId, getUpdated, hashCode, isArchived, isHasAvatar, setArchived, setArchivedBy, setArchivedDate, setCreated, setHasAvatar, setId, setLabel, setObjectAttributeBeans, setObjectKey, setObjectTypeId, setUpdated
Methods inherited from class com.riadalabs.jira.plugins.insight.services.model.ObjectBean
compareTo, createMutable, createMutable, createObjectAttributeBean, deepEquals, defaultEqualsImpl, defaultHashCodeImpl, getOutputString, setName, toStringWithAttributeValues
-
Constructor Details
-
ObjectImportBean
public ObjectImportBean()
-
-
Method Details
-
getImportSourceOTId
-
setImportSourceOTId
-
putReferenceMapping
public void putReferenceMapping(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate) -
putReferenceMappingWithDotNotation
public void putReferenceMappingWithDotNotation(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate) Since the AQL dot notation requires the references to be set before the AQL will be executable- Parameters:
ota
- the object type attributereferencingPredicate
- the predicate that finds the objects to be referenced
-
getReferences
-
hasDotNotationReferences
public boolean hasDotNotationReferences() -
setReferences
-
getAvatarData
public byte[] getAvatarData() -
setAvatarData
public void setAvatarData(byte[] avatarData) -
addAction
public void addAction(com.riadalabs.jira.plugins.insight.services.imports.common.ImportObjectsActionMapper.IMPORT_OBJECT_ACTION action) -
shouldBeCreated
public boolean shouldBeCreated() -
shouldUpdate
public boolean shouldUpdate() -
isMissing
public boolean isMissing() -
updateReferences
public boolean updateReferences() -
contentIdentical
public boolean contentIdentical() -
toString
Description copied from class:ObjectBean
Do not change this- Overrides:
toString
in classObjectBean
-