Package org.nuxeo.ecm.core.io.download
Class DownloadPermissionDescriptor
java.lang.Object
org.nuxeo.ecm.core.io.download.DownloadPermissionDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor for the permissions associated to a blob download.
- Since:
- 7.4
-
Field Summary
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.merge
(Descriptor o) Returns a descriptor representingother
merged intothis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
DEFAULT_SCRIPT_LANGUAGE
- See Also:
-
name
-
script
-
-
Constructor Details
-
DownloadPermissionDescriptor
public DownloadPermissionDescriptor()
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getScriptLanguage
-
merge
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-