public class ObjectSpecificationForFreeStandingList extends ObjectSpecificationAbstract
ObjectSpecification that is designed to treat the
FreeStandingList class as a "standalone" collection.ObjectSpecificationAbstract.IntrospectionStatemetadataProperties, objectMemberContextCOMPARATOR_FULLY_QUALIFIED_CLASS_NAME, COMPARATOR_SHORT_IDENTIFIER_IGNORE_CASE, EMPTY_LIST, FUNCTION_FULLY_QUALIFIED_CLASS_NAME| Constructor and Description |
|---|
ObjectSpecificationForFreeStandingList(SpecificationContext specificationContext,
ObjectMemberContext objectMemberContext) |
| Modifier and Type | Method and Description |
|---|---|
ObjectAssociation |
getAssociation(String id)
Review: is this ever called for an instance of this class? If not, then
no need to override.
|
String |
getIconName(ObjectAdapter object)
Returns the name of an icon to use for the specified object.
|
ObjectAction |
getObjectAction(ActionType type,
String id)
Review: is it necessary to override for this subclass?
|
ObjectAction |
getObjectAction(ActionType type,
String id,
List<ObjectSpecification> parameters)
Review: is it necessary to override for this subclass?
|
ObjectAction |
getObjectAction(String nameParmsIdentityString)
Review: is it necessary to override for this subclass?
|
List<ObjectAction> |
getServiceActionsReturning(List<ActionType> type)
Review: is it necessary to override for this subclass?
|
String |
getTitle(ObjectAdapter object,
org.apache.isis.applib.profiles.Localization localization)
Returns the title string for the specified object.
|
void |
introspectTypeHierarchyAndMembers() |
boolean |
isService()
Whether or not this specification represents a domain service (as opposed
to a domain entity or a value etc).
|
void |
markAsService()
No-op.
|
clearDirty, createContributeeActions, createObject, createTitleInteractionContext, createValidityInteractionContext, getAssociations, getAssociations, getAssociations, getAuthenticationSession, getAuthenticationSessionProvider, getCollections, getCorrespondingClass, getCssClass, getDefaultValue, getDeploymentCategory, getDescription, getFacet, getFeatureType, getFullIdentifier, getHelp, getIdentifier, getInstance, getIntrospectionState, getObjectActions, getObjectActions, getObjectActions, getObjectInstantiator, getPluralName, getProperties, getServicesProvider, getShortIdentifier, getSingularName, getSpecId, getSpecificationLookup, getTitle, hasSubclasses, initialize, interfaces, isAbstract, isDirty, isEncodeable, isHidden, isImmutable, isNotCollection, isNotIntrospected, isOfType, isParented, isParentedOrFreeCollection, isParseable, isValid, isValidResult, isValue, isValueOrIsParented, markDirty, persistability, setClearDirtyObjectFacet, setIntrospectionState, sortActions, sortAndUpdateAssociations, sortAssociations, sortCacheAndUpdateActions, subclasses, superclass, toString, updateAsSubclassTo, updateAsSubclassTo, updateFromFacetValues, updateInterfaces, updateSuperclassaddFacet, addFacet, containsDoOpFacet, containsFacet, getFacets, getFacetTypes, removeFacet, removeFacetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFacet, addFacet, containsDoOpFacet, containsFacet, getFacets, getFacetTypes, removeFacet, removeFacetpublic ObjectSpecificationForFreeStandingList(SpecificationContext specificationContext, ObjectMemberContext objectMemberContext)
public void introspectTypeHierarchyAndMembers()
introspectTypeHierarchyAndMembers in class ObjectSpecificationAbstractpublic void markAsService()
Review: is this ever called for an instance of this class? If not, then no need to override.
public boolean isService()
ObjectSpecificationWARNING: this only returns true once the metamodel has been fully built, and a PersistenceSession has been opened. This should probably be improved upon; for now, beware...
public ObjectAssociation getAssociation(String id)
getAssociation in interface ObjectAssociationContainergetAssociation in class ObjectSpecificationAbstractpublic String getTitle(ObjectAdapter object, org.apache.isis.applib.profiles.Localization localization)
ObjectSpecification
Corresponds to the TitleFacet#value()) value of
TitleFacet; is not necessarily immutable.
getTitle in interface ObjectSpecificationgetTitle in class ObjectSpecificationAbstractpublic String getIconName(ObjectAdapter object)
ObjectSpecification
Corresponds to the IconFacet#iconName(ObjectAdapter)) icon name
returned by the IconFacet; is not necessarily immutable.
getIconName in interface ObjectSpecificationgetIconName in class ObjectSpecificationAbstractpublic ObjectAction getObjectAction(ActionType type, String id, List<ObjectSpecification> parameters)
public ObjectAction getObjectAction(ActionType type, String id)
public ObjectAction getObjectAction(String nameParmsIdentityString)
public List<ObjectAction> getServiceActionsReturning(List<ActionType> type)
getServiceActionsReturning in interface ObjectActionContainergetServiceActionsReturning in class ObjectSpecificationAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.