Class GeneratedCockpitSavedQuery

    • Field Detail

      • LABEL

        public static final java.lang.String LABEL
        Qualifier of the CockpitSavedQuery.label attribute
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Qualifier of the CockpitSavedQuery.description attribute
        See Also:
        Constant Field Values
      • SIMPLETEXT

        public static final java.lang.String SIMPLETEXT
        Qualifier of the CockpitSavedQuery.simpleText attribute
        See Also:
        Constant Field Values
      • SELECTEDTYPECODE

        public static final java.lang.String SELECTEDTYPECODE
        Qualifier of the CockpitSavedQuery.selectedTypeCode attribute
        See Also:
        Constant Field Values
      • SELECTEDTEMPLATECODE

        public static final java.lang.String SELECTEDTEMPLATECODE
        Qualifier of the CockpitSavedQuery.selectedTemplateCode attribute
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Qualifier of the CockpitSavedQuery.code attribute
        See Also:
        Constant Field Values
      • DEFAULTVIEWMODE

        public static final java.lang.String DEFAULTVIEWMODE
        Qualifier of the CockpitSavedQuery.defaultViewMode attribute
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Qualifier of the CockpitSavedQuery.user attribute
        See Also:
        Constant Field Values
      • COCKPITSAVEDFACETVALUES

        public static final java.lang.String COCKPITSAVEDFACETVALUES
        Qualifier of the CockpitSavedQuery.cockpitSavedFacetValues attribute
        See Also:
        Constant Field Values
      • COCKPITSAVEDSORTCRITERIA

        public static final java.lang.String COCKPITSAVEDSORTCRITERIA
        Qualifier of the CockpitSavedQuery.cockpitSavedSortCriteria attribute
        See Also:
        Constant Field Values
      • COCKPITSAVEDPARAMETERVALUES

        public static final java.lang.String COCKPITSAVEDPARAMETERVALUES
        Qualifier of the CockpitSavedQuery.cockpitSavedParameterValues attribute
        See Also:
        Constant Field Values
      • READSAVEDQUERYPRINCIPALS

        public static final java.lang.String READSAVEDQUERYPRINCIPALS
        Qualifier of the CockpitSavedQuery.readSavedQueryPrincipals attribute
        See Also:
        Constant Field Values
      • READPRINCIPAL2COCKPITSAVEDQUERYRELATION_SRC_ORDERED

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

        protected static java.lang.String READPRINCIPAL2COCKPITSAVEDQUERYRELATION_TGT_ORDERED
      • READPRINCIPAL2COCKPITSAVEDQUERYRELATION_MARKMODIFIED

        protected static java.lang.String READPRINCIPAL2COCKPITSAVEDQUERYRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for ReadPrincipal2CockpitSavedQueryRelation from ((cockpit))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedCockpitSavedQuery

        public GeneratedCockpitSavedQuery()
    • Method Detail

      • getCockpitSavedFacetValues

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

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

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

        public void setCockpitSavedFacetValues​(java.util.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 java.util.Collection<CockpitSavedParameterValue> getCockpitSavedParameterValues​(SessionContext ctx)
        Generated method - Getter of the CockpitSavedQuery.cockpitSavedParameterValues attribute.
        Returns:
        the cockpitSavedParameterValues
      • getCockpitSavedParameterValues

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

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

        public void setCockpitSavedParameterValues​(java.util.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 java.util.Collection<CockpitSavedSortCriterion> getCockpitSavedSortCriteria​(SessionContext ctx)
        Generated method - Getter of the CockpitSavedQuery.cockpitSavedSortCriteria attribute.
        Returns:
        the cockpitSavedSortCriteria
      • getCockpitSavedSortCriteria

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

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

        public void setCockpitSavedSortCriteria​(java.util.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 java.lang.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 java.lang.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,
                            java.lang.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​(java.lang.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 java.lang.String getDefaultViewMode​(SessionContext ctx)
        Generated method - Getter of the CockpitSavedQuery.defaultViewMode attribute.
        Returns:
        the defaultViewMode
      • getDefaultViewMode

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.util.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,
                                                java.util.Collection<Principal> value)
        Generated method - Setter of the CockpitSavedQuery.readSavedQueryPrincipals attribute.
        Parameters:
        value - the readSavedQueryPrincipals
      • setReadSavedQueryPrincipals

        public void setReadSavedQueryPrincipals​(java.util.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 java.lang.String getSelectedTemplateCode​(SessionContext ctx)
        Generated method - Getter of the CockpitSavedQuery.selectedTemplateCode attribute.
        Returns:
        the selectedTemplateCode
      • getSelectedTemplateCode

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

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

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

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

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

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

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

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

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

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

        public void setSimpleText​(java.lang.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