public class ObjectImportBean extends MutableObjectBean implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ObjectImportBean.ReferenceMapping |
OBJECT_KEY_FORMAT
Constructor and Description |
---|
ObjectImportBean() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(com.riadalabs.jira.plugins.insight.services.imports.common.ImportObjectsActionMapper.IMPORT_OBJECT_ACTION action) |
boolean |
contentIdentical() |
byte[] |
getAvatarData() |
Integer |
getImportSourceOTId() |
ObjectImportBean.ReferenceMapping |
getReferences() |
boolean |
hasDotNotationReferences() |
boolean |
isMissing() |
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 executable
|
void |
setAvatarData(byte[] avatarData) |
void |
setImportSourceOTId(Integer importSourceOTId) |
void |
setReferences(ObjectImportBean.ReferenceMapping references) |
boolean |
shouldBeCreated() |
boolean |
shouldUpdate() |
String |
toString()
Do not change this
|
boolean |
updateReferences() |
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
compareTo, createMutable, createMutable, createObjectAttributeBean, deepEquals, defaultEqualsImpl, defaultHashCodeImpl, getOutputString, setName, toStringWithAttributeValues
public Integer getImportSourceOTId()
public void setImportSourceOTId(Integer importSourceOTId)
public void putReferenceMapping(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate)
public void putReferenceMappingWithDotNotation(ObjectTypeAttributeBean ota, List<com.riadalabs.jira.plugins.insight.services.core.iql.model.IQL> referencingPredicate)
ota
- the object type attributereferencingPredicate
- the predicate that finds the objects to be referencedpublic ObjectImportBean.ReferenceMapping getReferences()
public boolean hasDotNotationReferences()
public void setReferences(ObjectImportBean.ReferenceMapping references)
public byte[] getAvatarData()
public void setAvatarData(byte[] avatarData)
public void addAction(com.riadalabs.jira.plugins.insight.services.imports.common.ImportObjectsActionMapper.IMPORT_OBJECT_ACTION action)
public boolean shouldBeCreated()
public boolean shouldUpdate()
public boolean isMissing()
public boolean updateReferences()
public boolean contentIdentical()
public String toString()
ObjectBean
toString
in class ObjectBean
Copyright © 2024 Atlassian. All rights reserved.