public abstract class GeneratedSolrIndexOperationRecord extends GenericItem
SolrIndexOperationRecord.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 java.lang.String |
CLUSTERID
Qualifier of the
SolrIndexOperationRecord.clusterId attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
FAILEDREASON
Qualifier of the
SolrIndexOperationRecord.failedReason attribute |
static java.lang.String |
FINISHTIME
Qualifier of the
SolrIndexOperationRecord.finishTime attribute |
static java.lang.String |
MODE
Qualifier of the
SolrIndexOperationRecord.mode attribute |
static java.lang.String |
SOLRINDEXCORERECORD
Qualifier of the
SolrIndexOperationRecord.solrIndexCoreRecord attribute |
protected static BidirectionalOneToManyHandler<GeneratedSolrIndexOperationRecord> |
SOLRINDEXCORERECORDHANDLER
BidirectionalOneToManyHandler for handling 1:n SOLRINDEXCORERECORD's relation attributes from 'one' side. |
static java.lang.String |
SOLRINDEXCORERECORDPOS
Qualifier of the
SolrIndexOperationRecord.solrIndexCoreRecordPOS attribute |
static java.lang.String |
STARTTIME
Qualifier of the
SolrIndexOperationRecord.startTime attribute |
static java.lang.String |
STATUS
Qualifier of the
SolrIndexOperationRecord.status attribute |
static java.lang.String |
THREADID
Qualifier of the
SolrIndexOperationRecord.threadId 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 |
|---|
GeneratedSolrIndexOperationRecord() |
| 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.
|
java.lang.Integer |
getClusterId()
Generated method - Getter of the
SolrIndexOperationRecord.clusterId attribute. |
java.lang.Integer |
getClusterId(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.clusterId attribute. |
int |
getClusterIdAsPrimitive()
Generated method - Getter of the
SolrIndexOperationRecord.clusterId attribute. |
int |
getClusterIdAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.clusterId attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getFailedReason()
Generated method - Getter of the
SolrIndexOperationRecord.failedReason attribute. |
java.lang.String |
getFailedReason(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.failedReason attribute. |
java.util.Date |
getFinishTime()
Generated method - Getter of the
SolrIndexOperationRecord.finishTime attribute. |
java.util.Date |
getFinishTime(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.finishTime attribute. |
EnumerationValue |
getMode()
Generated method - Getter of the
SolrIndexOperationRecord.mode attribute. |
EnumerationValue |
getMode(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.mode attribute. |
SolrIndexedCoresRecord |
getSolrIndexCoreRecord()
Generated method - Getter of the
SolrIndexOperationRecord.solrIndexCoreRecord attribute. |
SolrIndexedCoresRecord |
getSolrIndexCoreRecord(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.solrIndexCoreRecord attribute. |
java.util.Date |
getStartTime()
Generated method - Getter of the
SolrIndexOperationRecord.startTime attribute. |
java.util.Date |
getStartTime(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.startTime attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
SolrIndexOperationRecord.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.status attribute. |
java.lang.String |
getThreadId()
Generated method - Getter of the
SolrIndexOperationRecord.threadId attribute. |
java.lang.String |
getThreadId(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperationRecord.threadId attribute. |
void |
setClusterId(int value)
Generated method - Setter of the
SolrIndexOperationRecord.clusterId attribute. |
void |
setClusterId(java.lang.Integer value)
Generated method - Setter of the
SolrIndexOperationRecord.clusterId attribute. |
void |
setClusterId(SessionContext ctx,
int value)
Generated method - Setter of the
SolrIndexOperationRecord.clusterId attribute. |
void |
setClusterId(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
SolrIndexOperationRecord.clusterId attribute. |
void |
setFailedReason(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
SolrIndexOperationRecord.failedReason attribute. |
void |
setFailedReason(java.lang.String value)
Generated method - Setter of the
SolrIndexOperationRecord.failedReason attribute. |
void |
setFinishTime(java.util.Date value)
Generated method - Setter of the
SolrIndexOperationRecord.finishTime attribute. |
void |
setFinishTime(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
SolrIndexOperationRecord.finishTime attribute. |
void |
setMode(EnumerationValue value)
Generated method - Setter of the
SolrIndexOperationRecord.mode attribute. |
void |
setMode(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrIndexOperationRecord.mode attribute. |
void |
setSolrIndexCoreRecord(SessionContext ctx,
SolrIndexedCoresRecord value)
Generated method - Setter of the
SolrIndexOperationRecord.solrIndexCoreRecord attribute. |
void |
setSolrIndexCoreRecord(SolrIndexedCoresRecord value)
Generated method - Setter of the
SolrIndexOperationRecord.solrIndexCoreRecord attribute. |
void |
setStartTime(java.util.Date value)
Generated method - Setter of the
SolrIndexOperationRecord.startTime attribute. |
void |
setStartTime(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
SolrIndexOperationRecord.startTime attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
SolrIndexOperationRecord.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrIndexOperationRecord.status attribute. |
void |
setThreadId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
SolrIndexOperationRecord.threadId attribute. |
void |
setThreadId(java.lang.String value)
Generated method - Setter of the
SolrIndexOperationRecord.threadId attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, 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, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, 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, writeReplacesetTenantpublic static final java.lang.String STARTTIME
SolrIndexOperationRecord.startTime attributepublic static final java.lang.String FINISHTIME
SolrIndexOperationRecord.finishTime attributepublic static final java.lang.String MODE
SolrIndexOperationRecord.mode attributepublic static final java.lang.String STATUS
SolrIndexOperationRecord.status attributepublic static final java.lang.String THREADID
SolrIndexOperationRecord.threadId attributepublic static final java.lang.String CLUSTERID
SolrIndexOperationRecord.clusterId attributepublic static final java.lang.String FAILEDREASON
SolrIndexOperationRecord.failedReason attributepublic static final java.lang.String SOLRINDEXCORERECORDPOS
SolrIndexOperationRecord.solrIndexCoreRecordPOS attributepublic static final java.lang.String SOLRINDEXCORERECORD
SolrIndexOperationRecord.solrIndexCoreRecord attributeprotected static final BidirectionalOneToManyHandler<GeneratedSolrIndexOperationRecord> SOLRINDEXCORERECORDHANDLER
BidirectionalOneToManyHandler for handling 1:n SOLRINDEXCORERECORD's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.Integer getClusterId(SessionContext ctx)
SolrIndexOperationRecord.clusterId attribute.public java.lang.Integer getClusterId()
SolrIndexOperationRecord.clusterId attribute.public int getClusterIdAsPrimitive(SessionContext ctx)
SolrIndexOperationRecord.clusterId attribute.public int getClusterIdAsPrimitive()
SolrIndexOperationRecord.clusterId attribute.public void setClusterId(SessionContext ctx, java.lang.Integer value)
SolrIndexOperationRecord.clusterId attribute.value - the clusterIdpublic void setClusterId(java.lang.Integer value)
SolrIndexOperationRecord.clusterId attribute.value - the clusterIdpublic void setClusterId(SessionContext ctx, int value)
SolrIndexOperationRecord.clusterId attribute.value - the clusterIdpublic void setClusterId(int value)
SolrIndexOperationRecord.clusterId attribute.value - the clusterIdprotected 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 java.lang.String getFailedReason(SessionContext ctx)
SolrIndexOperationRecord.failedReason attribute.public java.lang.String getFailedReason()
SolrIndexOperationRecord.failedReason attribute.public void setFailedReason(SessionContext ctx, java.lang.String value)
SolrIndexOperationRecord.failedReason attribute.value - the failedReasonpublic void setFailedReason(java.lang.String value)
SolrIndexOperationRecord.failedReason attribute.value - the failedReasonpublic java.util.Date getFinishTime(SessionContext ctx)
SolrIndexOperationRecord.finishTime attribute.public java.util.Date getFinishTime()
SolrIndexOperationRecord.finishTime attribute.public void setFinishTime(SessionContext ctx, java.util.Date value)
SolrIndexOperationRecord.finishTime attribute.value - the finishTimepublic void setFinishTime(java.util.Date value)
SolrIndexOperationRecord.finishTime attribute.value - the finishTimepublic EnumerationValue getMode(SessionContext ctx)
SolrIndexOperationRecord.mode attribute.public EnumerationValue getMode()
SolrIndexOperationRecord.mode attribute.public void setMode(SessionContext ctx, EnumerationValue value)
SolrIndexOperationRecord.mode attribute.value - the modepublic void setMode(EnumerationValue value)
SolrIndexOperationRecord.mode attribute.value - the modepublic SolrIndexedCoresRecord getSolrIndexCoreRecord(SessionContext ctx)
SolrIndexOperationRecord.solrIndexCoreRecord attribute.public SolrIndexedCoresRecord getSolrIndexCoreRecord()
SolrIndexOperationRecord.solrIndexCoreRecord attribute.public void setSolrIndexCoreRecord(SessionContext ctx, SolrIndexedCoresRecord value)
SolrIndexOperationRecord.solrIndexCoreRecord attribute.value - the solrIndexCoreRecordpublic void setSolrIndexCoreRecord(SolrIndexedCoresRecord value)
SolrIndexOperationRecord.solrIndexCoreRecord attribute.value - the solrIndexCoreRecordpublic java.util.Date getStartTime(SessionContext ctx)
SolrIndexOperationRecord.startTime attribute.public java.util.Date getStartTime()
SolrIndexOperationRecord.startTime attribute.public void setStartTime(SessionContext ctx, java.util.Date value)
SolrIndexOperationRecord.startTime attribute.value - the startTimepublic void setStartTime(java.util.Date value)
SolrIndexOperationRecord.startTime attribute.value - the startTimepublic EnumerationValue getStatus(SessionContext ctx)
SolrIndexOperationRecord.status attribute.public EnumerationValue getStatus()
SolrIndexOperationRecord.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
SolrIndexOperationRecord.status attribute.value - the statuspublic void setStatus(EnumerationValue value)
SolrIndexOperationRecord.status attribute.value - the statuspublic java.lang.String getThreadId(SessionContext ctx)
SolrIndexOperationRecord.threadId attribute.public java.lang.String getThreadId()
SolrIndexOperationRecord.threadId attribute.public void setThreadId(SessionContext ctx, java.lang.String value)
SolrIndexOperationRecord.threadId attribute.value - the threadIdpublic void setThreadId(java.lang.String value)
SolrIndexOperationRecord.threadId attribute.value - the threadIdCopyright © 2018 SAP SE. All Rights Reserved.