Class GeneratedCxResults

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

public abstract class GeneratedCxResults extends GenericItem
Generated class for type CxResults.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedCxResults

      public GeneratedCxResults()
  • Method Details

    • getDefaultAttributeModes

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

      public Object getAdditionalData(SessionContext ctx)
      Generated method - Getter of the CxResults.additionalData attribute.
      Returns:
      the additionalData
    • getAdditionalData

      public Object getAdditionalData()
      Generated method - Getter of the CxResults.additionalData attribute.
      Returns:
      the additionalData
    • setAdditionalData

      public void setAdditionalData(SessionContext ctx, Object value)
      Generated method - Setter of the CxResults.additionalData attribute.
      Parameters:
      value - the additionalData
    • setAdditionalData

      public void setAdditionalData(Object value)
      Generated method - Setter of the CxResults.additionalData attribute.
      Parameters:
      value - the additionalData
    • isAnonymous

      public Boolean isAnonymous(SessionContext ctx)
      Generated method - Getter of the CxResults.anonymous attribute.
      Returns:
      the anonymous
    • isAnonymous

      public Boolean isAnonymous()
      Generated method - Getter of the CxResults.anonymous attribute.
      Returns:
      the anonymous
    • isAnonymousAsPrimitive

      public boolean isAnonymousAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CxResults.anonymous attribute.
      Returns:
      the anonymous
    • isAnonymousAsPrimitive

      public boolean isAnonymousAsPrimitive()
      Generated method - Getter of the CxResults.anonymous attribute.
      Returns:
      the anonymous
    • setAnonymous

      public void setAnonymous(SessionContext ctx, Boolean value)
      Generated method - Setter of the CxResults.anonymous attribute.
      Parameters:
      value - the anonymous
    • setAnonymous

      public void setAnonymous(Boolean value)
      Generated method - Setter of the CxResults.anonymous attribute.
      Parameters:
      value - the anonymous
    • setAnonymous

      public void setAnonymous(SessionContext ctx, boolean value)
      Generated method - Setter of the CxResults.anonymous attribute.
      Parameters:
      value - the anonymous
    • setAnonymous

      public void setAnonymous(boolean value)
      Generated method - Setter of the CxResults.anonymous attribute.
      Parameters:
      value - the anonymous
    • getCalculationTime

      public Date getCalculationTime(SessionContext ctx)
      Generated method - Getter of the CxResults.calculationTime attribute.
      Returns:
      the calculationTime
    • getCalculationTime

      public Date getCalculationTime()
      Generated method - Getter of the CxResults.calculationTime attribute.
      Returns:
      the calculationTime
    • setCalculationTime

      public void setCalculationTime(SessionContext ctx, Date value)
      Generated method - Setter of the CxResults.calculationTime attribute.
      Parameters:
      value - the calculationTime
    • setCalculationTime

      public void setCalculationTime(Date value)
      Generated method - Setter of the CxResults.calculationTime attribute.
      Parameters:
      value - the calculationTime
    • getCatalogVersion

      public CatalogVersion getCatalogVersion(SessionContext ctx)
      Generated method - Getter of the CxResults.catalogVersion attribute.
      Returns:
      the catalogVersion
    • getCatalogVersion

      public CatalogVersion getCatalogVersion()
      Generated method - Getter of the CxResults.catalogVersion attribute.
      Returns:
      the catalogVersion
    • setCatalogVersion

      public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
      Generated method - Setter of the CxResults.catalogVersion attribute.
      Parameters:
      value - the catalogVersion
    • setCatalogVersion

      public void setCatalogVersion(CatalogVersion value)
      Generated method - Setter of the CxResults.catalogVersion attribute.
      Parameters:
      value - the catalogVersion
    • 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
    • isDefault

      public Boolean isDefault(SessionContext ctx)
      Generated method - Getter of the CxResults.default attribute.
      Returns:
      the default - Mark for default results calculated for anonymous user
    • isDefault

      public Boolean isDefault()
      Generated method - Getter of the CxResults.default attribute.
      Returns:
      the default - Mark for default results calculated for anonymous user
    • isDefaultAsPrimitive

      public boolean isDefaultAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CxResults.default attribute.
      Returns:
      the default - Mark for default results calculated for anonymous user
    • isDefaultAsPrimitive

      public boolean isDefaultAsPrimitive()
      Generated method - Getter of the CxResults.default attribute.
      Returns:
      the default - Mark for default results calculated for anonymous user
    • setDefault

      public void setDefault(SessionContext ctx, Boolean value)
      Generated method - Setter of the CxResults.default attribute.
      Parameters:
      value - the default - Mark for default results calculated for anonymous user
    • setDefault

      public void setDefault(Boolean value)
      Generated method - Setter of the CxResults.default attribute.
      Parameters:
      value - the default - Mark for default results calculated for anonymous user
    • setDefault

      public void setDefault(SessionContext ctx, boolean value)
      Generated method - Setter of the CxResults.default attribute.
      Parameters:
      value - the default - Mark for default results calculated for anonymous user
    • setDefault

      public void setDefault(boolean value)
      Generated method - Setter of the CxResults.default attribute.
      Parameters:
      value - the default - Mark for default results calculated for anonymous user
    • getKey

      public String getKey(SessionContext ctx)
      Generated method - Getter of the CxResults.key attribute.
      Returns:
      the key
    • getKey

      public String getKey()
      Generated method - Getter of the CxResults.key attribute.
      Returns:
      the key
    • setKey

      public void setKey(SessionContext ctx, String value)
      Generated method - Setter of the CxResults.key attribute.
      Parameters:
      value - the key
    • setKey

      public void setKey(String value)
      Generated method - Setter of the CxResults.key attribute.
      Parameters:
      value - the key
    • getResults

      public Object getResults(SessionContext ctx)
      Generated method - Getter of the CxResults.results attribute.
      Returns:
      the results
    • getResults

      public Object getResults()
      Generated method - Getter of the CxResults.results attribute.
      Returns:
      the results
    • setResults

      public void setResults(SessionContext ctx, Object value)
      Generated method - Setter of the CxResults.results attribute.
      Parameters:
      value - the results
    • setResults

      public void setResults(Object value)
      Generated method - Setter of the CxResults.results attribute.
      Parameters:
      value - the results
    • getSessionKey

      public String getSessionKey(SessionContext ctx)
      Generated method - Getter of the CxResults.sessionKey attribute.
      Returns:
      the sessionKey
    • getSessionKey

      public String getSessionKey()
      Generated method - Getter of the CxResults.sessionKey attribute.
      Returns:
      the sessionKey
    • setSessionKey

      public void setSessionKey(SessionContext ctx, String value)
      Generated method - Setter of the CxResults.sessionKey attribute.
      Parameters:
      value - the sessionKey
    • setSessionKey

      public void setSessionKey(String value)
      Generated method - Setter of the CxResults.sessionKey attribute.
      Parameters:
      value - the sessionKey
    • getUser

      public User getUser(SessionContext ctx)
      Generated method - Getter of the CxResults.user attribute.
      Returns:
      the user
    • getUser

      public User getUser()
      Generated method - Getter of the CxResults.user attribute.
      Returns:
      the user
    • setUser

      public void setUser(SessionContext ctx, User value)
      Generated method - Setter of the CxResults.user attribute.
      Parameters:
      value - the user
    • setUser

      public void setUser(User value)
      Generated method - Setter of the CxResults.user attribute.
      Parameters:
      value - the user