패키지 | lc.procmgmt.ui.task |
클래스 | public class TaskDirectiveModel |
상속 | TaskDirectiveModel PresentationModel EventDispatcher Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
TaskDirectiveModel
class acts as the model for the
TaskDirective
component.
The TaskDirectiveModel
class is responsible for enabling
a TaskUserCommand
object to be executed with a selected
User
object.
관련 API 요소
lc.procmgmt.domain.Task
lc.procmgmt.commands.TaskUserCommand
lc.procmgmt.commands.ForwardCommand
lc.procmgmt.commands.ShareCommand
lc.procmgmt.commands.ConsultCommand
속성 | 정의 주체 | ||
---|---|---|---|
command : lc.procmgmt.commands:TaskUserCommand
The command object that drives the behavior of the model. | TaskDirectiveModel | ||
commandInstructions : String [읽기 전용]
Retrieves the localized instructions that are associated with the
command. | TaskDirectiveModel | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
errorMessage : Message [읽기 전용]
The error message when an error occurs. | TaskDirectiveModel | ||
isAddEnabled : Boolean [읽기 전용]
A flag that indicates whether a user was added based on a certain condition. | TaskDirectiveModel | ||
isExecuteEnabled : Boolean [읽기 전용]
A flag that indicates whether the condition for executing the task directive
was satisfied. | TaskDirectiveModel | ||
isRemoveEnabled : Boolean [읽기 전용]
A flag that indicates whether the condition for removing a user is satisfied. | TaskDirectiveModel | ||
omitUserOids : ListCollectionView [읽기 전용]
The list of users to remove from the searches. | TaskDirectiveModel | ||
selectedUser : User [읽기 전용]
The current selected user. | TaskDirectiveModel | ||
selectedUsers : ListCollectionView [읽기 전용]
The collection of users that were selected from the
UserSearchDataGridModel object. | TaskDirectiveModel | ||
serviceName : String [읽기 전용]
The service name of the task. | TaskDirectiveModel | ||
session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | ||
state : String [읽기 전용]
The name of the state the current view is in. | PresentationModel | ||
userSearchDataGridModel : UserSearchDataGridModel
The UserSearchDataGridModel object provides the results of a
user search. | TaskDirectiveModel |
메서드 | 정의 주체 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
Adds the selected users from the UserSearchDataGridModel object to
the selectedUsers property. | TaskDirectiveModel | ||
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or
property chain on the source object. | PresentationModel | ||
Cancels the command. | TaskDirectiveModel | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
Invokes the associated command object's execute method. | TaskDirectiveModel | ||
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters. | PresentationModel | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
[재정의]
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | TaskDirectiveModel | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
Resets the selectdUsers property to an empty value
(null). | TaskDirectiveModel | ||
Resets the model to the original state and reinitalizes
the properties back to default values. | TaskDirectiveModel | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
메서드 | 정의 주체 | ||
---|---|---|---|
[재정의]
Sets the state property to a new value and causes a PropertyChangeEvent event. | TaskDirectiveModel |
이벤트 | 요약 | 정의 주체 | ||
---|---|---|---|---|
[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 얻어 활성화될 때 전달됩니다. | EventDispatcher | |||
Dispatched on the request to cancel the command. | TaskDirectiveModel | |||
Dispatched on successful execution of the command. | TaskDirectiveModel | |||
[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 잃고 비활성화될 때 전달됩니다. | EventDispatcher |
상수 | 정의 주체 | ||
---|---|---|---|
STATE_ERROR : String = "errorState" [정적]
A special value that specifies that an error occurred. | TaskDirectiveModel | ||
STATE_INITIAL : String = "initialState" [정적]
A special value that specifies that the model is initializing. | TaskDirectiveModel | ||
STATE_IN_PROGRESS : String = "inProgressState" [정적]
A special value that specifies that a search operation is occuring. | TaskDirectiveModel | ||
STATE_SEARCH_COMPLETE : String = "searchCompleteState" [정적]
A special value that specifies that a search has completed. | TaskDirectiveModel |
command | 속성 |
command:lc.procmgmt.commands:TaskUserCommand
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The command
object that drives the behavior of the model. Different
commands have different instructions and images associated with them.
구현
public function get command():lc.procmgmt.commands:TaskUserCommand
public function set command(value:lc.procmgmt.commands:TaskUserCommand):void
commandInstructions | 속성 |
commandInstructions:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the localized instructions that are associated with the command.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get commandInstructions():String
errorMessage | 속성 |
errorMessage:Message
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error message when an error occurs.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get errorMessage():Message
isAddEnabled | 속성 |
isAddEnabled:Boolean
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether a user was added based on a certain condition.
A value of true
is returned if a user was
selected within the UserSearchDataGridModel
object.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get isAddEnabled():Boolean
isExecuteEnabled | 속성 |
isExecuteEnabled:Boolean
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the condition for executing the task directive
was satisfied. A value of true
is returned if a user was selected
within the UserSearchDataGridModel
object and the current state of the model
is not searching.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get isExecuteEnabled():Boolean
isRemoveEnabled | 속성 |
isRemoveEnabled:Boolean
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A flag that indicates whether the condition for removing a user is satisfied.
A value of true
is returned if a user was selected
within the UserSearchDataGridModel
object.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get isRemoveEnabled():Boolean
omitUserOids | 속성 |
omitUserOids:ListCollectionView
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of users to remove from the searches.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get omitUserOids():ListCollectionView
selectedUser | 속성 |
selectedUser:User
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The current selected user.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get selectedUser():User
selectedUsers | 속성 |
selectedUsers:ListCollectionView
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The collection of users that were selected from the
UserSearchDataGridModel
object.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get selectedUsers():ListCollectionView
serviceName | 속성 |
serviceName:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The service name of the task.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get serviceName():String
userSearchDataGridModel | 속성 |
userSearchDataGridModel:UserSearchDataGridModel
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The UserSearchDataGridModel
object provides the results of a
user search.
구현
public function get userSearchDataGridModel():UserSearchDataGridModel
public function set userSearchDataGridModel(value:UserSearchDataGridModel):void
addUser | () | 메서드 |
public function addUser():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the selected users from the UserSearchDataGridModel
object to
the selectedUsers
property.
cancelCommand | () | 메서드 |
public function cancelCommand():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Cancels the command. This resets the properties in the model and dispatches
an EVENT_COMMAND_CANCEL
event.
executeCommand | () | 메서드 |
public function executeCommand():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Invokes the associated command object's execute
method.
initialize | () | 메서드 |
override public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state. Subclasses can override this method, which
removeUser | () | 메서드 |
public function removeUser():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the selectdUsers
property to an empty value
(null
).
reset | () | 메서드 |
public function reset():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resets the model to the original state and reinitalizes the properties back to default values.
setState | () | 메서드 |
override protected function setState(newState:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state
property to a new value and causes a PropertyChangeEvent
event.
매개 변수
newState:String — Specifies the new state name.
|
commandCancel | 이벤트 |
flash.events.Event
속성 Event.type =
flash.events.Event
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on the request to cancel the command.
commandComplete | 이벤트 |
flash.events.Event
속성 Event.type =
flash.events.Event
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched on successful execution of the command.
STATE_ERROR | 상수 |
public static const STATE_ERROR:String = "errorState"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that an error occurred.
STATE_IN_PROGRESS | 상수 |
public static const STATE_IN_PROGRESS:String = "inProgressState"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search operation is occuring.
STATE_INITIAL | 상수 |
public static const STATE_INITIAL:String = "initialState"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that the model is initializing.
STATE_SEARCH_COMPLETE | 상수 |
public static const STATE_SEARCH_COMPLETE:String = "searchCompleteState"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies that a search has completed.
Tue Jun 12 2018, 03:17 PM Z