NamedOperationDetail implements AccessControlledResource, Serializable { @Override public ResourceType getResourceType() { return ResourceType.NamedOperation; } NamedOperationDetail();  NamedOperationDetail(final String operationName, final String description, final String userId,
                                final String operations, final List<String> readers,
                                final List<String> writers, final Map<String, ParameterDetail> parameters,
                                final Integer score);  NamedOperationDetail(final String operationName, final String inputType, final String description, final String userId,
                                final String operations, final List<String> readers,
                                final List<String> writers, final Map<String, ParameterDetail> parameters,
                                final Integer score);  NamedOperationDetail(final String operationName, final List<String> labels, final String inputType, final String description,
                                final String userId, final String operations, final List<String> readers,
                                final List<String> writers, final Map<String, ParameterDetail> parameters,
                                final Integer score);  NamedOperationDetail(final String operationName, final List<String> labels, final String inputType, final String description,
                                final String userId, final String operations, final List<String> readers,
                                final List<String> writers, final Map<String, ParameterDetail> parameters,
                                final Integer score, final AccessPredicate readAccessPredicate, final AccessPredicate writeAccessPredicate); String getOperationName(); List<String> getLabels(); String getInputType(); void setInputType(final String inputType); String getDescription(); String getOperations(); List<String> getReadAccessRoles(); List<String> getWriteAccessRoles(); String getCreatorId(); Map<String, ParameterDetail> getParameters(); Integer getScore(); @JsonIgnore OperationChain getOperationChainWithDefaultParams(); OperationChain getOperationChain(final Map<String, Object> executionParams); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); @Override ResourceType getResourceType(); boolean hasReadAccess(final User user, final String adminAuth); boolean hasWriteAccess(final User user, final String adminAuth); AccessPredicate getReadAccessPredicate(); AccessPredicate getWriteAccessPredicate();  }
@Test public void shouldBeNamedOperationResourceType() { assertEquals(ResourceType.NamedOperation, new NamedOperationDetail().getResourceType()); }