com.wewebu.ow.server.command
Interface OwProcessableObjectStrategy


public interface OwProcessableObjectStrategy

Check if the specific object is can be processed.
A OwCommand can be configured with different processableObjectStrategy instance, in different situations.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
static OwProcessableObjectStrategy ALWAYS_PROCESSABLE_STRATEGY
          Default strategy: all objects can be processed.
 
Method Summary
 boolean canBeProcessed(OwObject oObject_p)
          Check if the given object can be processed
 

Field Detail

ALWAYS_PROCESSABLE_STRATEGY

static final OwProcessableObjectStrategy ALWAYS_PROCESSABLE_STRATEGY
Default strategy: all objects can be processed.

Method Detail

canBeProcessed

boolean canBeProcessed(OwObject oObject_p)
                       throws Exception
Check if the given object can be processed

Parameters:
oObject_p - - the object to be verified
Returns:
-true if the object can be processed
Throws:
Exception - - thrown in case that verification ends with an exception.


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.