Class GeneratedCockpitSavedQuery

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

public abstract class GeneratedCockpitSavedQuery extends GenericItem
Generated class for type CockpitSavedQuery.
See Also:
  • Field Details

    • LABEL

      public static final String LABEL
      Qualifier of the CockpitSavedQuery.label attribute
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Qualifier of the CockpitSavedQuery.description attribute
      See Also:
    • SIMPLETEXT

      public static final String SIMPLETEXT
      Qualifier of the CockpitSavedQuery.simpleText attribute
      See Also:
    • SELECTEDTYPECODE

      public static final String SELECTEDTYPECODE
      Qualifier of the CockpitSavedQuery.selectedTypeCode attribute
      See Also:
    • SELECTEDTEMPLATECODE

      public static final String SELECTEDTEMPLATECODE
      Qualifier of the CockpitSavedQuery.selectedTemplateCode attribute
      See Also:
    • CODE

      public static final String CODE
      Qualifier of the CockpitSavedQuery.code attribute
      See Also:
    • DEFAULTVIEWMODE

      public static final String DEFAULTVIEWMODE
      Qualifier of the CockpitSavedQuery.defaultViewMode attribute
      See Also:
    • USER

      public static final String USER
      Qualifier of the CockpitSavedQuery.user attribute
      See Also:
    • COCKPITSAVEDFACETVALUES

      public static final String COCKPITSAVEDFACETVALUES
      Qualifier of the CockpitSavedQuery.cockpitSavedFacetValues attribute
      See Also:
    • COCKPITSAVEDSORTCRITERIA

      public static final String COCKPITSAVEDSORTCRITERIA
      Qualifier of the CockpitSavedQuery.cockpitSavedSortCriteria attribute
      See Also:
    • COCKPITSAVEDPARAMETERVALUES

      public static final String COCKPITSAVEDPARAMETERVALUES
      Qualifier of the CockpitSavedQuery.cockpitSavedParameterValues attribute
      See Also:
    • READSAVEDQUERYPRINCIPALS

      public static final String READSAVEDQUERYPRINCIPALS
      Qualifier of the CockpitSavedQuery.readSavedQueryPrincipals attribute
      See Also:
    • READPRINCIPAL2COCKPITSAVEDQUERYRELATION_SRC_ORDERED

      protected static String READPRINCIPAL2COCKPITSAVEDQUERYRELATION_SRC_ORDERED
      Relation ordering override parameter constants for ReadPrincipal2CockpitSavedQueryRelation from ((cockpit))
    • READPRINCIPAL2COCKPITSAVEDQUERYRELATION_TGT_ORDERED

      protected static String READPRINCIPAL2COCKPITSAVEDQUERYRELATION_TGT_ORDERED
    • READPRINCIPAL2COCKPITSAVEDQUERYRELATION_MARKMODIFIED

      protected static String READPRINCIPAL2COCKPITSAVEDQUERYRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for ReadPrincipal2CockpitSavedQueryRelation from ((cockpit))
    • USERHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedCockpitSavedQuery> USERHANDLER
      BidirectionalOneToManyHandler for handling 1:n USER's relation attributes from 'one' side.
    • COCKPITSAVEDFACETVALUESHANDLER

      protected static final OneToManyHandler<CockpitSavedFacetValue> COCKPITSAVEDFACETVALUESHANDLER
      OneToManyHandler for handling 1:n COCKPITSAVEDFACETVALUES's relation attributes from 'many' side.
    • COCKPITSAVEDSORTCRITERIAHANDLER

      protected static final OneToManyHandler<CockpitSavedSortCriterion> COCKPITSAVEDSORTCRITERIAHANDLER
      OneToManyHandler for handling 1:n COCKPITSAVEDSORTCRITERIA's relation attributes from 'many' side.
    • COCKPITSAVEDPARAMETERVALUESHANDLER

      protected static final OneToManyHandler<CockpitSavedParameterValue> COCKPITSAVEDPARAMETERVALUESHANDLER
      OneToManyHandler for handling 1:n COCKPITSAVEDPARAMETERVALUES's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedCockpitSavedQuery

      public GeneratedCockpitSavedQuery()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<CockpitSavedFacetValue> getCockpitSavedFacetValues(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedFacetValues attribute.
      Returns:
      the cockpitSavedFacetValues
    • getCockpitSavedFacetValues

      public Collection<CockpitSavedFacetValue> getCockpitSavedFacetValues()
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedFacetValues attribute.
      Returns:
      the cockpitSavedFacetValues
    • setCockpitSavedFacetValues

      public void setCockpitSavedFacetValues(SessionContext ctx, Collection<CockpitSavedFacetValue> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedFacetValues attribute.
      Parameters:
      value - the cockpitSavedFacetValues
    • setCockpitSavedFacetValues

      public void setCockpitSavedFacetValues(Collection<CockpitSavedFacetValue> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedFacetValues attribute.
      Parameters:
      value - the cockpitSavedFacetValues
    • addToCockpitSavedFacetValues

      public void addToCockpitSavedFacetValues(SessionContext ctx, CockpitSavedFacetValue value)
      Generated method - Adds value to cockpitSavedFacetValues.
      Parameters:
      value - the item to add to cockpitSavedFacetValues
    • addToCockpitSavedFacetValues

      public void addToCockpitSavedFacetValues(CockpitSavedFacetValue value)
      Generated method - Adds value to cockpitSavedFacetValues.
      Parameters:
      value - the item to add to cockpitSavedFacetValues
    • removeFromCockpitSavedFacetValues

      public void removeFromCockpitSavedFacetValues(SessionContext ctx, CockpitSavedFacetValue value)
      Generated method - Removes value from cockpitSavedFacetValues.
      Parameters:
      value - the item to remove from cockpitSavedFacetValues
    • removeFromCockpitSavedFacetValues

      public void removeFromCockpitSavedFacetValues(CockpitSavedFacetValue value)
      Generated method - Removes value from cockpitSavedFacetValues.
      Parameters:
      value - the item to remove from cockpitSavedFacetValues
    • getCockpitSavedParameterValues

      public Collection<CockpitSavedParameterValue> getCockpitSavedParameterValues(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedParameterValues attribute.
      Returns:
      the cockpitSavedParameterValues
    • getCockpitSavedParameterValues

      public Collection<CockpitSavedParameterValue> getCockpitSavedParameterValues()
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedParameterValues attribute.
      Returns:
      the cockpitSavedParameterValues
    • setCockpitSavedParameterValues

      public void setCockpitSavedParameterValues(SessionContext ctx, Collection<CockpitSavedParameterValue> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedParameterValues attribute.
      Parameters:
      value - the cockpitSavedParameterValues
    • setCockpitSavedParameterValues

      public void setCockpitSavedParameterValues(Collection<CockpitSavedParameterValue> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedParameterValues attribute.
      Parameters:
      value - the cockpitSavedParameterValues
    • addToCockpitSavedParameterValues

      public void addToCockpitSavedParameterValues(SessionContext ctx, CockpitSavedParameterValue value)
      Generated method - Adds value to cockpitSavedParameterValues.
      Parameters:
      value - the item to add to cockpitSavedParameterValues
    • addToCockpitSavedParameterValues

      public void addToCockpitSavedParameterValues(CockpitSavedParameterValue value)
      Generated method - Adds value to cockpitSavedParameterValues.
      Parameters:
      value - the item to add to cockpitSavedParameterValues
    • removeFromCockpitSavedParameterValues

      public void removeFromCockpitSavedParameterValues(SessionContext ctx, CockpitSavedParameterValue value)
      Generated method - Removes value from cockpitSavedParameterValues.
      Parameters:
      value - the item to remove from cockpitSavedParameterValues
    • removeFromCockpitSavedParameterValues

      public void removeFromCockpitSavedParameterValues(CockpitSavedParameterValue value)
      Generated method - Removes value from cockpitSavedParameterValues.
      Parameters:
      value - the item to remove from cockpitSavedParameterValues
    • getCockpitSavedSortCriteria

      public Collection<CockpitSavedSortCriterion> getCockpitSavedSortCriteria(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedSortCriteria attribute.
      Returns:
      the cockpitSavedSortCriteria
    • getCockpitSavedSortCriteria

      public Collection<CockpitSavedSortCriterion> getCockpitSavedSortCriteria()
      Generated method - Getter of the CockpitSavedQuery.cockpitSavedSortCriteria attribute.
      Returns:
      the cockpitSavedSortCriteria
    • setCockpitSavedSortCriteria

      public void setCockpitSavedSortCriteria(SessionContext ctx, Collection<CockpitSavedSortCriterion> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedSortCriteria attribute.
      Parameters:
      value - the cockpitSavedSortCriteria
    • setCockpitSavedSortCriteria

      public void setCockpitSavedSortCriteria(Collection<CockpitSavedSortCriterion> value)
      Generated method - Setter of the CockpitSavedQuery.cockpitSavedSortCriteria attribute.
      Parameters:
      value - the cockpitSavedSortCriteria
    • addToCockpitSavedSortCriteria

      public void addToCockpitSavedSortCriteria(SessionContext ctx, CockpitSavedSortCriterion value)
      Generated method - Adds value to cockpitSavedSortCriteria.
      Parameters:
      value - the item to add to cockpitSavedSortCriteria
    • addToCockpitSavedSortCriteria

      public void addToCockpitSavedSortCriteria(CockpitSavedSortCriterion value)
      Generated method - Adds value to cockpitSavedSortCriteria.
      Parameters:
      value - the item to add to cockpitSavedSortCriteria
    • removeFromCockpitSavedSortCriteria

      public void removeFromCockpitSavedSortCriteria(SessionContext ctx, CockpitSavedSortCriterion value)
      Generated method - Removes value from cockpitSavedSortCriteria.
      Parameters:
      value - the item to remove from cockpitSavedSortCriteria
    • removeFromCockpitSavedSortCriteria

      public void removeFromCockpitSavedSortCriteria(CockpitSavedSortCriterion value)
      Generated method - Removes value from cockpitSavedSortCriteria.
      Parameters:
      value - the item to remove from cockpitSavedSortCriteria
    • getCode

      public String getCode(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.code attribute.
      Returns:
      the code - unique identifier of the Cockpit Saved Query; will be generated if not set
    • getCode

      public String getCode()
      Generated method - Getter of the CockpitSavedQuery.code attribute.
      Returns:
      the code - unique identifier of the Cockpit Saved Query; will be generated if not set
    • setCode

      public void setCode(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.code attribute.
      Parameters:
      value - the code - unique identifier of the Cockpit Saved Query; will be generated if not set
    • setCode

      public void setCode(String value)
      Generated method - Setter of the CockpitSavedQuery.code attribute.
      Parameters:
      value - the code - unique identifier of the Cockpit Saved Query; will be generated if not set
    • 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
    • getDefaultViewMode

      public String getDefaultViewMode(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.defaultViewMode attribute.
      Returns:
      the defaultViewMode
    • getDefaultViewMode

      public String getDefaultViewMode()
      Generated method - Getter of the CockpitSavedQuery.defaultViewMode attribute.
      Returns:
      the defaultViewMode
    • setDefaultViewMode

      public void setDefaultViewMode(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.defaultViewMode attribute.
      Parameters:
      value - the defaultViewMode
    • setDefaultViewMode

      public void setDefaultViewMode(String value)
      Generated method - Setter of the CockpitSavedQuery.defaultViewMode attribute.
      Parameters:
      value - the defaultViewMode
    • getDescription

      public String getDescription(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.description attribute.
      Returns:
      the description
    • getDescription

      public String getDescription()
      Generated method - Getter of the CockpitSavedQuery.description attribute.
      Returns:
      the description
    • getAllDescription

      public Map<Language,String> getAllDescription(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.description attribute.
      Returns:
      the localized description
    • getAllDescription

      public Map<Language,String> getAllDescription()
      Generated method - Getter of the CockpitSavedQuery.description attribute.
      Returns:
      the localized description
    • setDescription

      public void setDescription(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.description attribute.
      Parameters:
      value - the description
    • setDescription

      public void setDescription(String value)
      Generated method - Setter of the CockpitSavedQuery.description attribute.
      Parameters:
      value - the description
    • setAllDescription

      public void setAllDescription(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the CockpitSavedQuery.description attribute.
      Parameters:
      value - the description
    • setAllDescription

      public void setAllDescription(Map<Language,String> value)
      Generated method - Setter of the CockpitSavedQuery.description attribute.
      Parameters:
      value - the description
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getLabel

      public String getLabel(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.label attribute.
      Returns:
      the label
    • getLabel

      public String getLabel()
      Generated method - Getter of the CockpitSavedQuery.label attribute.
      Returns:
      the label
    • setLabel

      public void setLabel(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.label attribute.
      Parameters:
      value - the label
    • setLabel

      public void setLabel(String value)
      Generated method - Setter of the CockpitSavedQuery.label attribute.
      Parameters:
      value - the label
    • getReadSavedQueryPrincipals

      public Collection<Principal> getReadSavedQueryPrincipals(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.readSavedQueryPrincipals attribute.
      Returns:
      the readSavedQueryPrincipals
    • getReadSavedQueryPrincipals

      public Collection<Principal> getReadSavedQueryPrincipals()
      Generated method - Getter of the CockpitSavedQuery.readSavedQueryPrincipals attribute.
      Returns:
      the readSavedQueryPrincipals
    • getReadSavedQueryPrincipalsCount

      public long getReadSavedQueryPrincipalsCount(SessionContext ctx)
    • getReadSavedQueryPrincipalsCount

      public long getReadSavedQueryPrincipalsCount()
    • setReadSavedQueryPrincipals

      public void setReadSavedQueryPrincipals(SessionContext ctx, Collection<Principal> value)
      Generated method - Setter of the CockpitSavedQuery.readSavedQueryPrincipals attribute.
      Parameters:
      value - the readSavedQueryPrincipals
    • setReadSavedQueryPrincipals

      public void setReadSavedQueryPrincipals(Collection<Principal> value)
      Generated method - Setter of the CockpitSavedQuery.readSavedQueryPrincipals attribute.
      Parameters:
      value - the readSavedQueryPrincipals
    • addToReadSavedQueryPrincipals

      public void addToReadSavedQueryPrincipals(SessionContext ctx, Principal value)
      Generated method - Adds value to readSavedQueryPrincipals.
      Parameters:
      value - the item to add to readSavedQueryPrincipals
    • addToReadSavedQueryPrincipals

      public void addToReadSavedQueryPrincipals(Principal value)
      Generated method - Adds value to readSavedQueryPrincipals.
      Parameters:
      value - the item to add to readSavedQueryPrincipals
    • removeFromReadSavedQueryPrincipals

      public void removeFromReadSavedQueryPrincipals(SessionContext ctx, Principal value)
      Generated method - Removes value from readSavedQueryPrincipals.
      Parameters:
      value - the item to remove from readSavedQueryPrincipals
    • removeFromReadSavedQueryPrincipals

      public void removeFromReadSavedQueryPrincipals(Principal value)
      Generated method - Removes value from readSavedQueryPrincipals.
      Parameters:
      value - the item to remove from readSavedQueryPrincipals
    • getSelectedTemplateCode

      public String getSelectedTemplateCode(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.selectedTemplateCode attribute.
      Returns:
      the selectedTemplateCode
    • getSelectedTemplateCode

      public String getSelectedTemplateCode()
      Generated method - Getter of the CockpitSavedQuery.selectedTemplateCode attribute.
      Returns:
      the selectedTemplateCode
    • setSelectedTemplateCode

      public void setSelectedTemplateCode(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.selectedTemplateCode attribute.
      Parameters:
      value - the selectedTemplateCode
    • setSelectedTemplateCode

      public void setSelectedTemplateCode(String value)
      Generated method - Setter of the CockpitSavedQuery.selectedTemplateCode attribute.
      Parameters:
      value - the selectedTemplateCode
    • getSelectedTypeCode

      public String getSelectedTypeCode(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.selectedTypeCode attribute.
      Returns:
      the selectedTypeCode
    • getSelectedTypeCode

      public String getSelectedTypeCode()
      Generated method - Getter of the CockpitSavedQuery.selectedTypeCode attribute.
      Returns:
      the selectedTypeCode
    • setSelectedTypeCode

      public void setSelectedTypeCode(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.selectedTypeCode attribute.
      Parameters:
      value - the selectedTypeCode
    • setSelectedTypeCode

      public void setSelectedTypeCode(String value)
      Generated method - Setter of the CockpitSavedQuery.selectedTypeCode attribute.
      Parameters:
      value - the selectedTypeCode
    • getSimpleText

      public String getSimpleText(SessionContext ctx)
      Generated method - Getter of the CockpitSavedQuery.simpleText attribute.
      Returns:
      the simpleText
    • getSimpleText

      public String getSimpleText()
      Generated method - Getter of the CockpitSavedQuery.simpleText attribute.
      Returns:
      the simpleText
    • setSimpleText

      public void setSimpleText(SessionContext ctx, String value)
      Generated method - Setter of the CockpitSavedQuery.simpleText attribute.
      Parameters:
      value - the simpleText
    • setSimpleText

      public void setSimpleText(String value)
      Generated method - Setter of the CockpitSavedQuery.simpleText attribute.
      Parameters:
      value - the simpleText
    • getUser

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

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

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

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