public abstract class GeneratedSolrIndexOperation extends GenericItem
SolrIndexOperation.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 |
|---|---|
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
ENDTIME
Qualifier of the
SolrIndexOperation.endTime attribute |
static String |
EXTERNAL
Qualifier of the
SolrIndexOperation.external attribute |
static String |
ID
Qualifier of the
SolrIndexOperation.id attribute |
static String |
INDEX
Qualifier of the
SolrIndexOperation.index attribute |
protected static BidirectionalOneToManyHandler<GeneratedSolrIndexOperation> |
INDEXHANDLER
BidirectionalOneToManyHandler for handling 1:n INDEX's relation attributes from 'one' side. |
static String |
OPERATION
Qualifier of the
SolrIndexOperation.operation attribute |
static String |
STARTTIME
Qualifier of the
SolrIndexOperation.startTime attribute |
static String |
STATUS
Qualifier of the
SolrIndexOperation.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 |
|---|
GeneratedSolrIndexOperation() |
| 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.
|
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Date |
getEndTime()
Generated method - Getter of the
SolrIndexOperation.endTime attribute. |
Date |
getEndTime(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.endTime attribute. |
Long |
getId()
Generated method - Getter of the
SolrIndexOperation.id attribute. |
Long |
getId(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.id attribute. |
long |
getIdAsPrimitive()
Generated method - Getter of the
SolrIndexOperation.id attribute. |
long |
getIdAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.id attribute. |
SolrIndex |
getIndex()
Generated method - Getter of the
SolrIndexOperation.index attribute. |
SolrIndex |
getIndex(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.index attribute. |
EnumerationValue |
getOperation()
Generated method - Getter of the
SolrIndexOperation.operation attribute. |
EnumerationValue |
getOperation(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.operation attribute. |
Date |
getStartTime()
Generated method - Getter of the
SolrIndexOperation.startTime attribute. |
Date |
getStartTime(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.startTime attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
SolrIndexOperation.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.status attribute. |
Boolean |
isExternal()
Generated method - Getter of the
SolrIndexOperation.external attribute. |
Boolean |
isExternal(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.external attribute. |
boolean |
isExternalAsPrimitive()
Generated method - Getter of the
SolrIndexOperation.external attribute. |
boolean |
isExternalAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrIndexOperation.external attribute. |
void |
setEndTime(Date value)
Generated method - Setter of the
SolrIndexOperation.endTime attribute. |
void |
setEndTime(SessionContext ctx,
Date value)
Generated method - Setter of the
SolrIndexOperation.endTime attribute. |
void |
setExternal(boolean value)
Generated method - Setter of the
SolrIndexOperation.external attribute. |
void |
setExternal(Boolean value)
Generated method - Setter of the
SolrIndexOperation.external attribute. |
void |
setExternal(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrIndexOperation.external attribute. |
void |
setExternal(SessionContext ctx,
Boolean value)
Generated method - Setter of the
SolrIndexOperation.external attribute. |
protected void |
setId(long value)
Generated method - Setter of the
SolrIndexOperation.id attribute. |
protected void |
setId(Long value)
Generated method - Setter of the
SolrIndexOperation.id attribute. |
protected void |
setId(SessionContext ctx,
long value)
Generated method - Setter of the
SolrIndexOperation.id attribute. |
protected void |
setId(SessionContext ctx,
Long value)
Generated method - Setter of the
SolrIndexOperation.id attribute. |
protected void |
setIndex(SessionContext ctx,
SolrIndex value)
Generated method - Setter of the
SolrIndexOperation.index attribute. |
protected void |
setIndex(SolrIndex value)
Generated method - Setter of the
SolrIndexOperation.index attribute. |
protected void |
setOperation(EnumerationValue value)
Generated method - Setter of the
SolrIndexOperation.operation attribute. |
protected void |
setOperation(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrIndexOperation.operation attribute. |
void |
setStartTime(Date value)
Generated method - Setter of the
SolrIndexOperation.startTime attribute. |
void |
setStartTime(SessionContext ctx,
Date value)
Generated method - Setter of the
SolrIndexOperation.startTime attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
SolrIndexOperation.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrIndexOperation.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 ID
SolrIndexOperation.id attributepublic static final String OPERATION
SolrIndexOperation.operation attributepublic static final String EXTERNAL
SolrIndexOperation.external attributepublic static final String STATUS
SolrIndexOperation.status attributepublic static final String STARTTIME
SolrIndexOperation.startTime attributepublic static final String ENDTIME
SolrIndexOperation.endTime attributepublic static final String INDEX
SolrIndexOperation.index attributeprotected static final BidirectionalOneToManyHandler<GeneratedSolrIndexOperation> INDEXHANDLER
BidirectionalOneToManyHandler for handling 1:n INDEX'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 Itemprotected 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 Date getEndTime(SessionContext ctx)
SolrIndexOperation.endTime attribute.public Date getEndTime()
SolrIndexOperation.endTime attribute.public void setEndTime(SessionContext ctx, Date value)
SolrIndexOperation.endTime attribute.value - the endTimepublic void setEndTime(Date value)
SolrIndexOperation.endTime attribute.value - the endTimepublic Boolean isExternal(SessionContext ctx)
SolrIndexOperation.external attribute.public Boolean isExternal()
SolrIndexOperation.external attribute.public boolean isExternalAsPrimitive(SessionContext ctx)
SolrIndexOperation.external attribute.public boolean isExternalAsPrimitive()
SolrIndexOperation.external attribute.public void setExternal(SessionContext ctx, Boolean value)
SolrIndexOperation.external attribute.value - the externalpublic void setExternal(Boolean value)
SolrIndexOperation.external attribute.value - the externalpublic void setExternal(SessionContext ctx, boolean value)
SolrIndexOperation.external attribute.value - the externalpublic void setExternal(boolean value)
SolrIndexOperation.external attribute.value - the externalpublic Long getId(SessionContext ctx)
SolrIndexOperation.id attribute.public Long getId()
SolrIndexOperation.id attribute.public long getIdAsPrimitive(SessionContext ctx)
SolrIndexOperation.id attribute.public long getIdAsPrimitive()
SolrIndexOperation.id attribute.protected void setId(SessionContext ctx, Long value)
SolrIndexOperation.id attribute.value - the idprotected void setId(Long value)
SolrIndexOperation.id attribute.value - the idprotected void setId(SessionContext ctx, long value)
SolrIndexOperation.id attribute.value - the idprotected void setId(long value)
SolrIndexOperation.id attribute.value - the idpublic SolrIndex getIndex(SessionContext ctx)
SolrIndexOperation.index attribute.public SolrIndex getIndex()
SolrIndexOperation.index attribute.protected void setIndex(SessionContext ctx, SolrIndex value)
SolrIndexOperation.index attribute.value - the indexprotected void setIndex(SolrIndex value)
SolrIndexOperation.index attribute.value - the indexpublic EnumerationValue getOperation(SessionContext ctx)
SolrIndexOperation.operation attribute.public EnumerationValue getOperation()
SolrIndexOperation.operation attribute.protected void setOperation(SessionContext ctx, EnumerationValue value)
SolrIndexOperation.operation attribute.value - the operationprotected void setOperation(EnumerationValue value)
SolrIndexOperation.operation attribute.value - the operationpublic Date getStartTime(SessionContext ctx)
SolrIndexOperation.startTime attribute.public Date getStartTime()
SolrIndexOperation.startTime attribute.public void setStartTime(SessionContext ctx, Date value)
SolrIndexOperation.startTime attribute.value - the startTimepublic void setStartTime(Date value)
SolrIndexOperation.startTime attribute.value - the startTimepublic EnumerationValue getStatus(SessionContext ctx)
SolrIndexOperation.status attribute.public EnumerationValue getStatus()
SolrIndexOperation.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
SolrIndexOperation.status attribute.value - the statuspublic void setStatus(EnumerationValue value)
SolrIndexOperation.status attribute.value - the statusCopyright © 2017 SAP SE. All Rights Reserved.