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

AttachmentPermissions  - AS3 ADEP Workspace

Packagelc.procmgmt.domain
Classpublic class AttachmentPermissions
InheritanceAttachmentPermissions Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The AttachmentPermissions class stores the read/write/delete permissions for an attachment or note.



Public Properties
 PropertyDefined 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
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined 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
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
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
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
Indicates whether the set of permissions allow only read access to an attachment.
AttachmentPermissions
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

allowDelete

property
public var allowDelete:Boolean = false

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

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

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

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

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

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.

Constructor Detail

AttachmentPermissions

()Constructor
public function AttachmentPermissions(readPermission:Boolean = false, writePermission:Boolean = false, deletePermission:Boolean = false)

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Constructor.

Parameters
readPermission:Boolean (default = false) — Specifies the read permission.
 
writePermission:Boolean (default = false) — Specifies the write permission.
 
deletePermission:Boolean (default = false) — Specifies the delete permission.
Method Detail

getLabelKey

()method
public function getLabelKey():String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

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

Returns
String — The resource bundle key.

hasAllPermissions

()method 
public function hasAllPermissions():Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates 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 Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates whether the set of permissions will provide access to attachments.

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 Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates if the permissions allow for an attachment to 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 Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates 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 Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates whether the set of permissions allow only read access to an attachment.

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.