| Package | lc.domain |
| Class | public class AttachmentPermissions |
| Inheritance | AttachmentPermissions Object |
AttachmentPermissions class stores the read/write/delete permissions
for an attachment or note.
| Property | Defined By | ||
|---|---|---|---|
| allowDelete : Boolean = false
A flag that indicates the delete permission for an attachment.
| AttachmentPermissions | ||
| allowRead : Boolean = false
A flag that indicates the read permission for an attachment.
| AttachmentPermissions | ||
| allowWrite : Boolean = false
A flag that indicates the write permission for an attachment.
| AttachmentPermissions | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Method | Defined By | ||
|---|---|---|---|
|
AttachmentPermissions(readPermission:Boolean = false, writePermission:Boolean = false, deletePermission:Boolean = false)
Constructor.
| AttachmentPermissions | ||
|
Generates a key that is appropriate for the current permission settings
for use with the language resource bundle.
| AttachmentPermissions | ||
|
Indicates whether all the permissions for an attachment are available.
| AttachmentPermissions | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
|
Indicates whether the set of permissions will provide access to attachments.
| AttachmentPermissions | ||
|
Indicates if the permissions allow for an attachment to be deleted.
| AttachmentPermissions | ||
|
Indicates whether write access is allowed on an attachment.
| AttachmentPermissions | ||
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
|
Indicates whether the set of permissions allow only read access to an attachment.
| AttachmentPermissions | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| allowDelete | property |
public var allowDelete:Boolean = false
A flag that indicates the delete permission for an attachment.
A value of true indicates that the attachment has delete permissions.
The default value is false.
| allowRead | property |
public var allowRead:Boolean = false
A flag that indicates the read permission for an attachment.
A value of true indicates that the attachment has read permissions.
The default value is false.
| allowWrite | property |
public var allowWrite:Boolean = false
A flag that indicates the write permission for an attachment.
A value of true indicates that the attachment has write permissions.
The default value is false.
| AttachmentPermissions | () | Constructor |
public function AttachmentPermissions(readPermission:Boolean = false, writePermission:Boolean = false, deletePermission:Boolean = false)
Constructor.
ParametersreadPermission:Boolean (default = false) — Specifies the read permission.
|
|
writePermission:Boolean (default = false) — Specifies the write permission.
|
|
deletePermission:Boolean (default = false) — Specifies the delete permission.
|
| getLabelKey | () | method |
public function getLabelKey():String
Generates a key that is appropriate for the current permission settings for use with the language resource bundle.
ReturnsString — The resource bundle key.
|
| hasAllPermissions | () | method |
public function hasAllPermissions():Boolean
Indicates whether all the permissions for an attachment are available.
ReturnsBoolean — A value of true if all permissions are available.
|
| noAccess | () | method |
public function noAccess():Boolean
Indicates whether the set of permissions will provide access to attachments.
ReturnsBoolean — A value of true indicates that access to
the attachments is not allowed.
|
| noDelete | () | method |
public function noDelete():Boolean
Indicates if the permissions allow for an attachment to be deleted.
ReturnsBoolean — A value of true indicates that an attachment cannot be deleted.
|
| noWrite | () | method |
public function noWrite():Boolean
Indicates whether write access is allowed on an attachment.
ReturnsBoolean — A value of true inicates that write access is not allowed.
|
| readOnly | () | method |
public function readOnly():Boolean
Indicates whether the set of permissions allow only read access to an attachment.
ReturnsBoolean — A value of true indicates that read access is allowed.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/domain/AttachmentPermissions.html