コード例 #1
0
 @Override
 public ObjectAction getObjectAction(final ActionType type, final String id) {
   final List<ObjectAction> availableActions =
       ListUtils.combine(
           getObjectActions(type, Contributed.INCLUDED),
           getContributedActions(type, Filters.<ObjectAction>any()));
   return getAction(availableActions, type, id);
 }
コード例 #2
0
 @Override
 public ObjectAction getObjectAction(
     final ActionType type, final String id, final List<ObjectSpecification> parameters) {
   final List<ObjectAction> availableActions =
       ListUtils.combine(
           getObjectActions(Contributed.EXCLUDED),
           getContributedActions(type, Filters.<ObjectAction>any()));
   return getAction(availableActions, type, id, parameters);
 }