Class PortalOptionList

All Implemented Interfaces:
IElement, IList, IOptionList, IDeletionSupport, Serializable

public class PortalOptionList extends PortalList implements IOptionList
Author:
vlygeros
See Also:
  • Constructor Details

    • PortalOptionList

      public PortalOptionList(IModule module, com.axemble.webdrive.om.List list)
  • Method Details

    • getOptions

      public Collection getOptions()
      Description copied from interface: IOptionList
      Gets the collection of options.
      Specified by:
      getOptions in interface IOptionList
      Returns:
      A collection of IOptionList.IOption objects.
    • setOptions

      public void setOptions(Collection options)
      Description copied from interface: IOptionList
      Sets the collection of options.
      Specified by:
      setOptions in interface IOptionList
      Parameters:
      options - The collection of IOptionList.IOption objects.
    • setOption

      public void setOption(String key, String language, String value)
      Description copied from interface: IOptionList
      Creates or updates an option
      Specified by:
      setOption in interface IOptionList
      Parameters:
      key - : if the key exists, the value will be updated, else it will be created
      language - : the language to modify
      value - : the value of the option to set
    • delete

      public void delete(IContext context)
      Description copied from interface: IDeletionSupport
      Deletes the IElement object.
      Specified by:
      delete in interface IDeletionSupport
      Parameters:
      context - The Execution context.
    • getType

      public int getType()
      Description copied from interface: IList
      Gets the type of the list
      Specified by:
      getType in interface IList
      Returns:
      a int value (@see IType)