Class SubjectPreferencesConfig

java.lang.Object
de.businesscode.bcdui.subjectsettings.config.SubjectPreferencesConfig

public class SubjectPreferencesConfig extends Object

Java-Klasse für SubjectPreferencesConfig complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType name="SubjectPreferencesConfig">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Settings" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Setting" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <choice>
                               <element name="Values">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                       <sequence>
                                         <element name="Value" maxOccurs="unbounded">
                                           <complexType>
                                             <simpleContent>
                                               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                                                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                               </extension>
                                             </simpleContent>
                                           </complexType>
                                         </element>
                                       </sequence>
                                       <attribute name="isMulti" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                       <attribute name="preventEmpty" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                               <element name="SourceSetting">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                       <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                                       <attribute name="isMulti" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                       <attribute name="defaults" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                       <attribute name="preventEmpty" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                             </choice>
                           </sequence>
                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                           <attribute name="caption" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="cookieName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="cookiePath" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="/bcdui" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • settings

      A SubjectPreferences introduced.
    • cookieName

      protected String cookieName
      If not empty, SubjectPreferences are stored in a cookie (with this name) across sessions. In that case defaults are not used by the settings stored in the cookie.
    • cookiePath

      protected String cookiePath
      Where the cookie is transferred to. Default /bcdui will be enough in most cases as its values is stored on session level at the server after it was first sent. Root is the application's context path.
  • Constructor Details

    • SubjectPreferencesConfig

      public SubjectPreferencesConfig()
  • Method Details

    • getSettings

      public SubjectPreferencesConfig.Settings getSettings()
      A SubjectPreferences introduced.
      Returns:
      possible object is SubjectPreferencesConfig.Settings
    • setSettings

      public void setSettings(SubjectPreferencesConfig.Settings value)
      Legt den Wert der settings-Eigenschaft fest.
      Parameters:
      value - allowed object is SubjectPreferencesConfig.Settings
      See Also:
    • getCookieName

      public String getCookieName()
      If not empty, SubjectPreferences are stored in a cookie (with this name) across sessions. In that case defaults are not used by the settings stored in the cookie.
      Returns:
      possible object is String
    • setCookieName

      public void setCookieName(String value)
      Legt den Wert der cookieName-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also:
    • getCookiePath

      public String getCookiePath()
      Where the cookie is transferred to. Default /bcdui will be enough in most cases as its values is stored on session level at the server after it was first sent. Root is the application's context path.
      Returns:
      possible object is String
    • setCookiePath

      public void setCookiePath(String value)
      Legt den Wert der cookiePath-Eigenschaft fest.
      Parameters:
      value - allowed object is String
      See Also: