Class C2LItem

    • Constructor Detail

      • C2LItem

        public C2LItem()
    • Method Detail

      • getAllNames

        @Deprecated
        public java.util.Map getAllNames​(SessionContext ctx)
        Deprecated.
        Returns all localized name values of this C2LItem in a Map (Mapping: Language -> String).
        Parameters:
        ctx - the SessionContext which will be used
        Returns:
        all localized name values of this C2LItem in a Map
      • setAllNames

        @Deprecated
        public void setAllNames​(SessionContext ctx,
                                java.util.Map names)
        Deprecated.
        Sets multiple name values for different languages at once. Name values are specified in a Map which must have the following structure Language -> String.
        Parameters:
        ctx - A SessionContext object
        names - a Map containing all localized name values (Mapping: Language -> String)
      • setActive

        public void setActive​(SessionContext ctx,
                              java.lang.Boolean active)
                       throws ConsistencyCheckException
        Sets this item active or passive.
        Overrides:
        setActive in class GeneratedC2LItem
        Parameters:
        ctx - the SessionContext which will be used
        active - boolean indicating if this C2LItem is active or inactive.
        Throws:
        ConsistencyCheckException - if you want to deactivate a C2LItem, but this is forbidden. There must be always at least one active Language and Currency in the system.
      • getIsoCode

        @Deprecated
        public java.lang.String getIsoCode()
        Deprecated.
        since ages - useGeneratedC2LItem.getIsocode() instead
        Returns the isocode of this C2LItem.
        Returns:
        the isocode of this C2LItem
      • getIsoCode

        @Deprecated
        public java.lang.String getIsoCode​(SessionContext ctx)
        Deprecated.
        since ages - useGeneratedC2LItem.getIsocode() instead
        Returns the isocode of this C2LItem.
        Parameters:
        ctx - the SessionContext which will be used
        Returns:
        the isocode of this C2LItem
      • toString

        public java.lang.String toString()
        Returns the String representation of a C2LItem.

        The format of the String representation is 'PK of C2LItem'->'ISOCode of C2LItem'. For example 578345030459940344->de

        Overrides:
        toString in class Item
        Returns:
        the String representation of a C2LItem