public abstract class GeneratedExportDataHistoryEntry extends GenericItem
ExportDataHistoryEntry.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
CODE
Qualifier of the
ExportDataHistoryEntry.code attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EXPORTDATACRONJOB
Qualifier of the
ExportDataHistoryEntry.exportDataCronJob attribute |
protected static BidirectionalOneToManyHandler<GeneratedExportDataHistoryEntry> |
EXPORTDATACRONJOBHANDLER
BidirectionalOneToManyHandler for handling 1:n EXPORTDATACRONJOB's relation attributes from 'one' side. |
static String |
FAILUREMESSAGE
Qualifier of the
ExportDataHistoryEntry.failureMessage attribute |
static String |
FINISHTIME
Qualifier of the
ExportDataHistoryEntry.finishTime attribute |
static String |
PROCESSEDRESULTCOUNT
Qualifier of the
ExportDataHistoryEntry.processedResultCount attribute |
static String |
STARTTIME
Qualifier of the
ExportDataHistoryEntry.startTime attribute |
static String |
STATUS
Qualifier of the
ExportDataHistoryEntry.status attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedExportDataHistoryEntry() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
String |
getCode()
Generated method - Getter of the
ExportDataHistoryEntry.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.code attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
ExportDataCronJob |
getExportDataCronJob()
Generated method - Getter of the
ExportDataHistoryEntry.exportDataCronJob attribute. |
ExportDataCronJob |
getExportDataCronJob(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.exportDataCronJob attribute. |
String |
getFailureMessage()
Generated method - Getter of the
ExportDataHistoryEntry.failureMessage attribute. |
String |
getFailureMessage(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.failureMessage attribute. |
Date |
getFinishTime()
Generated method - Getter of the
ExportDataHistoryEntry.finishTime attribute. |
Date |
getFinishTime(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.finishTime attribute. |
Integer |
getProcessedResultCount()
Generated method - Getter of the
ExportDataHistoryEntry.processedResultCount attribute. |
Integer |
getProcessedResultCount(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.processedResultCount attribute. |
int |
getProcessedResultCountAsPrimitive()
Generated method - Getter of the
ExportDataHistoryEntry.processedResultCount attribute. |
int |
getProcessedResultCountAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.processedResultCount attribute. |
Date |
getStartTime()
Generated method - Getter of the
ExportDataHistoryEntry.startTime attribute. |
Date |
getStartTime(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.startTime attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
ExportDataHistoryEntry.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
ExportDataHistoryEntry.status attribute. |
protected void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
ExportDataHistoryEntry.code attribute. |
protected void |
setCode(String value)
Generated method - Setter of the
ExportDataHistoryEntry.code attribute. |
void |
setExportDataCronJob(ExportDataCronJob value)
Generated method - Setter of the
ExportDataHistoryEntry.exportDataCronJob attribute. |
void |
setExportDataCronJob(SessionContext ctx,
ExportDataCronJob value)
Generated method - Setter of the
ExportDataHistoryEntry.exportDataCronJob attribute. |
void |
setFailureMessage(SessionContext ctx,
String value)
Generated method - Setter of the
ExportDataHistoryEntry.failureMessage attribute. |
void |
setFailureMessage(String value)
Generated method - Setter of the
ExportDataHistoryEntry.failureMessage attribute. |
void |
setFinishTime(Date value)
Generated method - Setter of the
ExportDataHistoryEntry.finishTime attribute. |
void |
setFinishTime(SessionContext ctx,
Date value)
Generated method - Setter of the
ExportDataHistoryEntry.finishTime attribute. |
void |
setProcessedResultCount(int value)
Generated method - Setter of the
ExportDataHistoryEntry.processedResultCount attribute. |
void |
setProcessedResultCount(Integer value)
Generated method - Setter of the
ExportDataHistoryEntry.processedResultCount attribute. |
void |
setProcessedResultCount(SessionContext ctx,
int value)
Generated method - Setter of the
ExportDataHistoryEntry.processedResultCount attribute. |
void |
setProcessedResultCount(SessionContext ctx,
Integer value)
Generated method - Setter of the
ExportDataHistoryEntry.processedResultCount attribute. |
void |
setStartTime(Date value)
Generated method - Setter of the
ExportDataHistoryEntry.startTime attribute. |
void |
setStartTime(SessionContext ctx,
Date value)
Generated method - Setter of the
ExportDataHistoryEntry.startTime attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
ExportDataHistoryEntry.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ExportDataHistoryEntry.status attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String CODE
ExportDataHistoryEntry.code attributepublic static final String STATUS
ExportDataHistoryEntry.status attributepublic static final String STARTTIME
ExportDataHistoryEntry.startTime attributepublic static final String FINISHTIME
ExportDataHistoryEntry.finishTime attributepublic static final String PROCESSEDRESULTCOUNT
ExportDataHistoryEntry.processedResultCount attributepublic static final String FAILUREMESSAGE
ExportDataHistoryEntry.failureMessage attributepublic static final String EXPORTDATACRONJOB
ExportDataHistoryEntry.exportDataCronJob attributeprotected static final BidirectionalOneToManyHandler<GeneratedExportDataHistoryEntry> EXPORTDATACRONJOBHANDLER
BidirectionalOneToManyHandler for handling 1:n EXPORTDATACRONJOB's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic String getCode(SessionContext ctx)
ExportDataHistoryEntry.code attribute.public String getCode()
ExportDataHistoryEntry.code attribute.protected void setCode(SessionContext ctx, String value)
ExportDataHistoryEntry.code attribute.value - the code - unique code that identifies the export data historyprotected void setCode(String value)
ExportDataHistoryEntry.code attribute.value - the code - unique code that identifies the export data historyprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic ExportDataCronJob getExportDataCronJob(SessionContext ctx)
ExportDataHistoryEntry.exportDataCronJob attribute.public ExportDataCronJob getExportDataCronJob()
ExportDataHistoryEntry.exportDataCronJob attribute.public void setExportDataCronJob(SessionContext ctx, ExportDataCronJob value)
ExportDataHistoryEntry.exportDataCronJob attribute.value - the exportDataCronJobpublic void setExportDataCronJob(ExportDataCronJob value)
ExportDataHistoryEntry.exportDataCronJob attribute.value - the exportDataCronJobpublic String getFailureMessage(SessionContext ctx)
ExportDataHistoryEntry.failureMessage attribute.public String getFailureMessage()
ExportDataHistoryEntry.failureMessage attribute.public void setFailureMessage(SessionContext ctx, String value)
ExportDataHistoryEntry.failureMessage attribute.value - the failureMessage - Message if failure occurredpublic void setFailureMessage(String value)
ExportDataHistoryEntry.failureMessage attribute.value - the failureMessage - Message if failure occurredpublic Date getFinishTime(SessionContext ctx)
ExportDataHistoryEntry.finishTime attribute.public Date getFinishTime()
ExportDataHistoryEntry.finishTime attribute.public void setFinishTime(SessionContext ctx, Date value)
ExportDataHistoryEntry.finishTime attribute.value - the finishTime - Start time of this exportpublic void setFinishTime(Date value)
ExportDataHistoryEntry.finishTime attribute.value - the finishTime - Start time of this exportpublic Integer getProcessedResultCount(SessionContext ctx)
ExportDataHistoryEntry.processedResultCount attribute.public Integer getProcessedResultCount()
ExportDataHistoryEntry.processedResultCount attribute.public int getProcessedResultCountAsPrimitive(SessionContext ctx)
ExportDataHistoryEntry.processedResultCount attribute.public int getProcessedResultCountAsPrimitive()
ExportDataHistoryEntry.processedResultCount attribute.public void setProcessedResultCount(SessionContext ctx, Integer value)
ExportDataHistoryEntry.processedResultCount attribute.value - the processedResultCount - The amount of records that was written to the export filepublic void setProcessedResultCount(Integer value)
ExportDataHistoryEntry.processedResultCount attribute.value - the processedResultCount - The amount of records that was written to the export filepublic void setProcessedResultCount(SessionContext ctx, int value)
ExportDataHistoryEntry.processedResultCount attribute.value - the processedResultCount - The amount of records that was written to the export filepublic void setProcessedResultCount(int value)
ExportDataHistoryEntry.processedResultCount attribute.value - the processedResultCount - The amount of records that was written to the export filepublic Date getStartTime(SessionContext ctx)
ExportDataHistoryEntry.startTime attribute.public Date getStartTime()
ExportDataHistoryEntry.startTime attribute.public void setStartTime(SessionContext ctx, Date value)
ExportDataHistoryEntry.startTime attribute.value - the startTime - Start time of this exportpublic void setStartTime(Date value)
ExportDataHistoryEntry.startTime attribute.value - the startTime - Start time of this exportpublic EnumerationValue getStatus(SessionContext ctx)
ExportDataHistoryEntry.status attribute.public EnumerationValue getStatus()
ExportDataHistoryEntry.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
ExportDataHistoryEntry.status attribute.value - the status - The status of this particular exportpublic void setStatus(EnumerationValue value)
ExportDataHistoryEntry.status attribute.value - the status - The status of this particular exportCopyright © 2017 SAP SE. All Rights Reserved.