Class SubjectPreferencesConfig
java.lang.Object
de.businesscode.bcdui.subjectsettings.config.SubjectPreferencesConfig
Java class for SubjectPreferencesConfig complex type
.The following schema fragment specifies the expected content contained within this class.
<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 classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringIf not empty, SubjectPreferences are stored in a cookie (with this name) across sessions.protected StringWhere the cookie is transferred to.protected SubjectPreferencesConfig.SettingsA 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.voidsetCookieName(String value) Sets the value of the cookieName property.voidsetCookiePath(String value) Sets the value of the cookiePath property.voidSets the value of the settings property.
-
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
Sets the value of the settings property.- 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
Sets the value of the cookieName property.- 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
Sets the value of the cookiePath property.- Parameters:
value- allowed object isString- See Also:
-