Class GeneratedSolrIndexOperation

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
SolrIndexOperation

public abstract class GeneratedSolrIndexOperation extends GenericItem
Generated class for type SolrIndexOperation.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedSolrIndexOperation

      public GeneratedSolrIndexOperation()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.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; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - 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 )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getEndTime

      public Date getEndTime(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.endTime attribute.
      Returns:
      the endTime
    • getEndTime

      public Date getEndTime()
      Generated method - Getter of the SolrIndexOperation.endTime attribute.
      Returns:
      the endTime
    • setEndTime

      public void setEndTime(SessionContext ctx, Date value)
      Generated method - Setter of the SolrIndexOperation.endTime attribute.
      Parameters:
      value - the endTime
    • setEndTime

      public void setEndTime(Date value)
      Generated method - Setter of the SolrIndexOperation.endTime attribute.
      Parameters:
      value - the endTime
    • isExternal

      public Boolean isExternal(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.external attribute.
      Returns:
      the external
    • isExternal

      public Boolean isExternal()
      Generated method - Getter of the SolrIndexOperation.external attribute.
      Returns:
      the external
    • isExternalAsPrimitive

      public boolean isExternalAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.external attribute.
      Returns:
      the external
    • isExternalAsPrimitive

      public boolean isExternalAsPrimitive()
      Generated method - Getter of the SolrIndexOperation.external attribute.
      Returns:
      the external
    • setExternal

      public void setExternal(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrIndexOperation.external attribute.
      Parameters:
      value - the external
    • setExternal

      public void setExternal(Boolean value)
      Generated method - Setter of the SolrIndexOperation.external attribute.
      Parameters:
      value - the external
    • setExternal

      public void setExternal(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrIndexOperation.external attribute.
      Parameters:
      value - the external
    • setExternal

      public void setExternal(boolean value)
      Generated method - Setter of the SolrIndexOperation.external attribute.
      Parameters:
      value - the external
    • getId

      public Long getId(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.id attribute.
      Returns:
      the id
    • getId

      public Long getId()
      Generated method - Getter of the SolrIndexOperation.id attribute.
      Returns:
      the id
    • getIdAsPrimitive

      public long getIdAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.id attribute.
      Returns:
      the id
    • getIdAsPrimitive

      public long getIdAsPrimitive()
      Generated method - Getter of the SolrIndexOperation.id attribute.
      Returns:
      the id
    • setId

      protected void setId(SessionContext ctx, Long value)
      Generated method - Setter of the SolrIndexOperation.id attribute.
      Parameters:
      value - the id
    • setId

      protected void setId(Long value)
      Generated method - Setter of the SolrIndexOperation.id attribute.
      Parameters:
      value - the id
    • setId

      protected void setId(SessionContext ctx, long value)
      Generated method - Setter of the SolrIndexOperation.id attribute.
      Parameters:
      value - the id
    • setId

      protected void setId(long value)
      Generated method - Setter of the SolrIndexOperation.id attribute.
      Parameters:
      value - the id
    • getIndex

      public SolrIndex getIndex(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.index attribute.
      Returns:
      the index
    • getIndex

      public SolrIndex getIndex()
      Generated method - Getter of the SolrIndexOperation.index attribute.
      Returns:
      the index
    • setIndex

      protected void setIndex(SessionContext ctx, SolrIndex value)
      Generated method - Setter of the SolrIndexOperation.index attribute.
      Parameters:
      value - the index
    • setIndex

      protected void setIndex(SolrIndex value)
      Generated method - Setter of the SolrIndexOperation.index attribute.
      Parameters:
      value - the index
    • getOperation

      public EnumerationValue getOperation(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.operation attribute.
      Returns:
      the operation
    • getOperation

      public EnumerationValue getOperation()
      Generated method - Getter of the SolrIndexOperation.operation attribute.
      Returns:
      the operation
    • setOperation

      protected void setOperation(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the SolrIndexOperation.operation attribute.
      Parameters:
      value - the operation
    • setOperation

      protected void setOperation(EnumerationValue value)
      Generated method - Setter of the SolrIndexOperation.operation attribute.
      Parameters:
      value - the operation
    • getStartTime

      public Date getStartTime(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.startTime attribute.
      Returns:
      the startTime
    • getStartTime

      public Date getStartTime()
      Generated method - Getter of the SolrIndexOperation.startTime attribute.
      Returns:
      the startTime
    • setStartTime

      public void setStartTime(SessionContext ctx, Date value)
      Generated method - Setter of the SolrIndexOperation.startTime attribute.
      Parameters:
      value - the startTime
    • setStartTime

      public void setStartTime(Date value)
      Generated method - Setter of the SolrIndexOperation.startTime attribute.
      Parameters:
      value - the startTime
    • getStatus

      public EnumerationValue getStatus(SessionContext ctx)
      Generated method - Getter of the SolrIndexOperation.status attribute.
      Returns:
      the status
    • getStatus

      public EnumerationValue getStatus()
      Generated method - Getter of the SolrIndexOperation.status attribute.
      Returns:
      the status
    • setStatus

      public void setStatus(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the SolrIndexOperation.status attribute.
      Parameters:
      value - the status
    • setStatus

      public void setStatus(EnumerationValue value)
      Generated method - Setter of the SolrIndexOperation.status attribute.
      Parameters:
      value - the status