public class FeatureTransaction extends StatusMessageList
Modifier and Type | Class and Description |
---|---|
static class |
FeatureTransaction.Type |
errors
status, time
Constructor and Description |
---|
FeatureTransaction(FeatureTransaction.Type t,
PlanFeature pf)
Constructor for "save", "insert" or "update"
|
FeatureTransaction(FeatureTransaction.Type t,
PlanMetaData pm,
java.lang.Integer id)
Constructor for "delete"
|
Modifier and Type | Method and Description |
---|---|
void |
establishLinks(java.lang.String cbKortBaseUrl) |
java.lang.Integer |
getAdminCode() |
java.lang.String |
getCBKortLink() |
java.lang.String |
getCvrNr() |
boolean |
getDetailElement() |
java.lang.String[] |
getExceptAdresses() |
java.lang.Integer |
getId() |
java.lang.String |
getMailRecipients() |
PlanFeature |
getNewFeature() |
PlanState |
getNewState() |
java.lang.Integer |
getOldAdminCode() |
PlanFeature |
getOldFeature() |
PlanState |
getOldState() |
PlanFeature |
getParentFeature() |
FeatureTransaction.Type |
getType() |
XMLElement |
getXml() |
boolean |
isDelete() |
boolean |
isInsert() |
PlanMetaData |
metaData() |
boolean |
notifySubscribers() |
void |
setDetailElement(boolean de) |
void |
setExceptAdresses(java.lang.String[] adresses) |
void |
setMailException(java.lang.Exception e) |
void |
setMailRecipients(java.lang.String recipients) |
void |
setOldFeature(PlanFeature n) |
void |
setParentFeature(PlanFeature pf) |
void |
setType(FeatureTransaction.Type t) |
addError, addError, addError, clearErrors, getErrors, size
getStatus, isOk, setStatus
public FeatureTransaction(FeatureTransaction.Type t, PlanFeature pf)
public FeatureTransaction(FeatureTransaction.Type t, PlanMetaData pm, java.lang.Integer id)
public PlanMetaData metaData()
public void setOldFeature(PlanFeature n)
public PlanFeature getOldFeature()
public PlanFeature getNewFeature()
public void setParentFeature(PlanFeature pf)
public PlanFeature getParentFeature()
public void setType(FeatureTransaction.Type t)
public FeatureTransaction.Type getType()
public void setDetailElement(boolean de)
public boolean getDetailElement()
public boolean isInsert()
public boolean isDelete()
public java.lang.Integer getAdminCode()
public java.lang.String getCvrNr()
public java.lang.Integer getOldAdminCode()
public boolean notifySubscribers()
public PlanState getOldState()
public PlanState getNewState()
public final void establishLinks(java.lang.String cbKortBaseUrl)
public final java.lang.String getCBKortLink()
public void setExceptAdresses(java.lang.String[] adresses)
public java.lang.String[] getExceptAdresses()
public void setMailRecipients(java.lang.String recipients)
public java.lang.String getMailRecipients()
public void setMailException(java.lang.Exception e)
public java.lang.Integer getId()
public XMLElement getXml()