Startseite / Vorlagenentwicklung / Vorlagensyntax / Datentypen / Permissions

Datentyp PermissionsVerfügbar ab FirstSpirit-Version 4.0

Objekt wird von folgenden Formular-Objekten erzeugt:
CMS_INPUT_PERMISSION
Methodenname Rückgabetyp Kurzbeschreibung Verfügbar seit
addChangeListener(ValueChangeListener) void Register a change listener. 4.0.17
equals(Object) boolean
get Element Provides the permissions definition element. 4.1.9
getActivityNames List Provides a list of names for defined activities. 4.1.9
getAllowed(String) Set Returns all allowed group IDs, if the permissions are not inherited. 4.1.9
getAllowedExplicit(String) Set Returns all explicitly allowed group paths, if the permissions are not inherited. 4.1.9
getClass Class Klasse des aufrufenden Objektes
getForbidden(String) Set Returns all forbidden group IDs, if the permissions are not inherited. 4.1.9
getForbiddenExplicit(String) Set Returns all explicitly forbidden group paths, if the permissions are not inherited. 4.1.9
getGroupsName String Provides the name of groups. 4.1.9
getNotifier SimpleValueChangeNotifier Provides a notifier on changes within these permissions. 4.1.9
getPriority Priority Provides the priority setting for this permissions. 4.1.9
isCase(Object) boolean
isEmpty boolean Indicates that no permissions are defined. 4.1.9
isInherited boolean Indicates that permissions of this container are inherited. 4.1.9
isNull boolean Prüft, ob ein Ausdruck Null ist
print void
removeChangeListener(ValueChangeListener) void Unregister a change listener. 4.0.17
set(Element) void Set the permission definition element. 4.1.9
set(String, Object) Object
setAllowed(String, Collection) void Sets the allowed groups for the given operation. 4.1.9
setConnection(Connection) void Sets the connection to be used for permissions. 4.1.9
setForbidden(String, Collection) void Sets the forbidden groups for the given operation. 4.1.9
setInherited(boolean) void Defines the permissions to be inherited. 4.1.9
setPriority(Priority) void Set the priorities for this permissions. 4.1.9
toJSON String Convert to a JSON-compatible string representation including necessary quotes and escaping for immediate use. Handles Maps, Collections, Arrays, Numbers, Strings, Boolean, Date, and JsonElement. A date instance will be converted to an ISO-8601 formatted date string. Any object other than above will be converted using its 'toString()' value. 5.2.11
toString String
type String

addChangeListener(ValueChangeListener)

Register a change listener.
Methodenname Rückgabetyp Verfügbar seit
addChangeListener(ValueChangeListener) void 4.0.17

equals(Object)

Methodenname Rückgabetyp Verfügbar seit
equals(Object) boolean

get

Provides the permissions definition element.
Methodenname Rückgabetyp Verfügbar seit
get Element 4.1.9

getActivityNames

Provides a list of names for defined activities.
Methodenname Rückgabetyp Verfügbar seit
getActivityNames List 4.1.9

getAllowed(String)

Returns all allowed group IDs, if the permissions are not inherited.
Methodenname Rückgabetyp Verfügbar seit
getAllowed(String) Set 4.1.9

getAllowedExplicit(String)

Returns all explicitly allowed group paths, if the permissions are not inherited.
Methodenname Rückgabetyp Verfügbar seit
getAllowedExplicit(String) Set 4.1.9

getClass

Die Methode .getClass() (in Bean-Syntax: .class) liefert die Klasse des aufrufendes Objektes zurück (vgl. java.lang.Class).

Aufruf:

$CMS_VALUE(myString.class)$
$CMS_VALUE(myString.getClass())$

Ausgabe:

java.lang.String
Methodenname Rückgabetyp Verfügbar seit
getClass Class

getForbidden(String)

Returns all forbidden group IDs, if the permissions are not inherited.
Methodenname Rückgabetyp Verfügbar seit
getForbidden(String) Set 4.1.9

getForbiddenExplicit(String)

Returns all explicitly forbidden group paths, if the permissions are not inherited.
Methodenname Rückgabetyp Verfügbar seit
getForbiddenExplicit(String) Set 4.1.9

getGroupsName

Provides the name of groups.
Methodenname Rückgabetyp Verfügbar seit
getGroupsName String 4.1.9

getNotifier

Provides a notifier on changes within these permissions.
Methodenname Rückgabetyp Verfügbar seit
getNotifier SimpleValueChangeNotifier 4.1.9

getPriority

Provides the priority setting for this permissions.
Methodenname Rückgabetyp Verfügbar seit
getPriority Priority 4.1.9

isCase(Object)

Methodenname Rückgabetyp Verfügbar seit
isCase(Object) boolean

isEmpty

Indicates that no permissions are defined.
Methodenname Rückgabetyp Verfügbar seit
isEmpty boolean 4.1.9

isInherited

Indicates that permissions of this container are inherited.
Methodenname Rückgabetyp Verfügbar seit
isInherited boolean 4.1.9

isNull

Die Methode .isNull() (in Bean-Syntax: .isNull) prüft, ob ein Ausdruck bzw. Objekt Null ist, z. B. storeElement.isNull(). Bei Objekten mit komplexen Werten oder Objekten entscheidet das Objekt, wann es null ist. Der Datentyp DomElement enthält beispielsweise immer ein leeres Dokument, ist also nie null. Die Prüfung einer leeren DOM-Editor-Eingabekomponente mit der Methode .isNull() liefert daher den Wert false, während die Prüfung der Komponente auf .isEmpty() den Wert true liefern würde.

Die Methode .isNull() gibt einen booleschen Wert als Ergebnis der Prüfung zurück. true (=wahr) ist die Prüfung, wenn der Ausdruck bzw. das Objekt Null ist und false (=unwahr) wenn nicht.

Methodenname Rückgabetyp Verfügbar seit
isNull boolean

print

Methodenname Rückgabetyp Verfügbar seit
print void

removeChangeListener(ValueChangeListener)

Unregister a change listener.
Methodenname Rückgabetyp Verfügbar seit
removeChangeListener(ValueChangeListener) void 4.0.17

set(Element)

Set the permission definition element.
Methodenname Rückgabetyp Verfügbar seit
set(Element) void 4.1.9

set(String, Object)

Methodenname Rückgabetyp Verfügbar seit
set(String, Object) Object

setAllowed(String, Collection)

Sets the allowed groups for the given operation.
Methodenname Rückgabetyp Verfügbar seit
setAllowed(String, Collection) void 4.1.9

setConnection(Connection)

Sets the connection to be used for permissions.
Methodenname Rückgabetyp Verfügbar seit
setConnection(Connection) void 4.1.9

setForbidden(String, Collection)

Sets the forbidden groups for the given operation.
Methodenname Rückgabetyp Verfügbar seit
setForbidden(String, Collection) void 4.1.9

setInherited(boolean)

Defines the permissions to be inherited.
Methodenname Rückgabetyp Verfügbar seit
setInherited(boolean) void 4.1.9

setPriority(Priority)

Set the priorities for this permissions.
Methodenname Rückgabetyp Verfügbar seit
setPriority(Priority) void 4.1.9

toJSON

Convert to a JSON-compatible string representation including necessary quotes and escaping for immediate use. Handles Maps, Collections, Arrays, Numbers, Strings, Boolean, Date, and JsonElement. A date instance will be converted to an ISO-8601 formatted date string. Any object other than above will be converted using its 'toString()' value.
Methodenname Rückgabetyp Verfügbar seit
toJSON String 5.2.11

toString

Methodenname Rückgabetyp Verfügbar seit
toString String

type

Methodenname Rückgabetyp Verfügbar seit
type String

© 2005 - 2024 Crownpeak Technology GmbH | Alle Rechte vorbehalten. | FirstSpirit 2024.5 | Datenschutz