ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.taskmanagement.domain 

IAttachmentPermissions  - AS3 ADEP Task Management

Packagecom.adobe.ep.taskmanagement.domain
Interfacepublic interface IAttachmentPermissions

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The interface for the permissions associated with attachments.



Public Properties
 PropertyDefined By
  allowDelete : Boolean
A flag that indicates whether an attachment can be deleted.
IAttachmentPermissions
  allowRead : Boolean
A flag that indicates whether an attachment can be read.
IAttachmentPermissions
  allowWrite : Boolean
A flag that indicates whether an attachment can be overwritten or writable.
IAttachmentPermissions
Public Methods
 MethodDefined By
  
Generates a key that is appropriate for the current permission settings for use with the language resource bundle.
IAttachmentPermissions
  
Determines whether all the permissions for an attachment are available.
IAttachmentPermissions
  
Determines whether access to an attachment is allowed.
IAttachmentPermissions
  
Determines whether an attachment can be deleted.
IAttachmentPermissions
  
Determines whether write-access is allowed on an attachment.
IAttachmentPermissions
  
Determines whether an attachment is readable.
IAttachmentPermissions
Property Detail

allowDelete

property
allowDelete:Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A flag that indicates whether an attachment can be deleted. A value of true indicates that the attachment has delete permissions.

The default value is false.



Implementation
    public function get allowDelete():Boolean
    public function set allowDelete(value:Boolean):void

allowRead

property 
allowRead:Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A flag that indicates whether an attachment can be read. A value of true indicates that the attachment has read permissions.

The default value is false.



Implementation
    public function get allowRead():Boolean
    public function set allowRead(value:Boolean):void

allowWrite

property 
allowWrite:Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A flag that indicates whether an attachment can be overwritten or writable. A value of true indicates that the attachment has write permissions.

The default value is false.



Implementation
    public function get allowWrite():Boolean
    public function set allowWrite(value:Boolean):void
Method Detail

getLabelKey

()method
public function getLabelKey():String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Generates a key that is appropriate for the current permission settings for use with the language resource bundle.

Returns
String — A key for use in a language resource bundle.

hasAllPermissions

()method 
public function hasAllPermissions():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Determines whether all the permissions for an attachment are available. The permissions include read, write, and delete permissions.

Returns
Boolean — Whether all the permissions are available for an attachment. A value of true if all permissions are available. A value of false not all the permissions are available.

noAccess

()method 
public function noAccess():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Determines whether access to an attachment is allowed.

Returns
Boolean — Whether access to attachments are allowed. A value of true indicates that access to the attachments is not allowed. A value of false indicates that access to the attachments is allowed.

noDelete

()method 
public function noDelete():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Determines whether an attachment can be deleted.

Returns
Boolean — Whether an attachment can be deleted. A value of true indicates that an attachment cannot be deleted. A value of false indicates that an attachment can be deleted.

noWrite

()method 
public function noWrite():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Determines whether write-access is allowed on an attachment.

Returns
Boolean — Whether write access is allowed on an attachment. A value of true inicates that write access is not allowed. A value of false indicates that write access is allowed.

readOnly

()method 
public function readOnly():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Determines whether an attachment is readable.

Returns
Boolean — Whether read access is allowed on an attachment. A value of true indicates that read access is allowed. A value of false if all permissions are available.