Class SubjectPreferencesConfig
java.lang.Object
de.businesscode.bcdui.subjectsettings.config.SubjectPreferencesConfig
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Java-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
If not empty, SubjectPreferences are stored in a cookie (with this name) across sessions.protected String
Where the cookie is transferred to.protected SubjectPreferencesConfig.Settings
A SubjectPreferences introduced. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf not empty, SubjectPreferences are stored in a cookie (with this name) across sessions.Where the cookie is transferred to.A SubjectPreferences introduced.void
setCookieName
(String value) Legt den Wert der cookieName-Eigenschaft fest.void
setCookiePath
(String value) Legt den Wert der cookiePath-Eigenschaft fest.void
Legt den Wert der settings-Eigenschaft fest.
-
Field Details
-
settings
A SubjectPreferences introduced. -
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
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
A SubjectPreferences introduced.- Returns:
- possible object is
SubjectPreferencesConfig.Settings
-
setSettings
Legt den Wert der settings-Eigenschaft fest.- Parameters:
value
- allowed object isSubjectPreferencesConfig.Settings
- See Also:
-
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
Legt den Wert der cookieName-Eigenschaft fest.- Parameters:
value
- allowed object isString
- See Also:
-
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
Legt den Wert der cookiePath-Eigenschaft fest.- Parameters:
value
- allowed object isString
- See Also:
-