org.nakedobjects.metamodel.spec.feature
Interface NakedObjectActionContainer

All Known Subinterfaces:
NakedObjectSpecification
All Known Implementing Classes:
InstanceCollectionSpecification, IntrospectableSpecificationAbstract, JavaSpecification, NakedObjectSpecificationNoMember

public interface NakedObjectActionContainer


Method Summary
 NakedObjectAction getObjectAction(NakedObjectActionType type, java.lang.String nameAndParmsIdentityString)
          Get the action object represented by the specified identity string.
 NakedObjectAction getObjectAction(NakedObjectActionType type, java.lang.String id, NakedObjectSpecification[] parameters)
          Returns the action of the specified type with the specified signature.
 java.util.List<? extends NakedObjectAction> getObjectActionList(NakedObjectActionType... type)
          As per #getObjectActions(NakedObjectActionType), but returned as a List.
 NakedObjectAction[] getObjectActions(NakedObjectActionType... type)
          Returns an array of actions of the specified type(s).
 NakedObjectAction[] getServiceActionsFor(NakedObjectActionType type)
          Deprecated.  
 

Method Detail

getServiceActionsFor

@Deprecated
NakedObjectAction[] getServiceActionsFor(NakedObjectActionType type)
Deprecated. 

TODO: convert to relatedResourceActions


getObjectAction

NakedObjectAction getObjectAction(NakedObjectActionType type,
                                  java.lang.String id,
                                  NakedObjectSpecification[] parameters)
Returns the action of the specified type with the specified signature.


getObjectAction

NakedObjectAction getObjectAction(NakedObjectActionType type,
                                  java.lang.String nameAndParmsIdentityString)
Get the action object represented by the specified identity string.

The identity string should be Identifier.toNameParmsIdentityString().


getObjectActions

NakedObjectAction[] getObjectActions(NakedObjectActionType... type)
Returns an array of actions of the specified type(s).

If the type is null, then returns all user, exploration and debug actions (but not action sets).


getObjectActionList

java.util.List<? extends NakedObjectAction> getObjectActionList(NakedObjectActionType... type)
As per #getObjectActions(NakedObjectActionType), but returned as a List.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.