A B C D E F G I J L M N O P R S T V

A

ACTION_PROPERTY_NAME - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.
ActionLinks - Class in br.com.arsmachina.tapestrycrud.components
Component that renders the action links in a listing page.
ActionLinks() - Constructor for class br.com.arsmachina.tapestrycrud.components.ActionLinks
 
ActivationContextEncoder<T> - Interface in br.com.arsmachina.tapestrycrud.encoder
Interface that encapsulates the Tapestry 5 activation context logic for objects of a given type.
ActivationContextEncoderSource - Interface in br.com.arsmachina.tapestrycrud.services
Service that provides ActivationContextEncoders.
ActivationContextEncoderSourceImpl - Class in br.com.arsmachina.tapestrycrud.services.impl
ActivationContextEncoderSource implementation.
ActivationContextEncoderSourceImpl(Map<Class, ActivationContextEncoder>, EncoderSource, PrimaryKeyEncoderSource, PrimaryKeyTypeService) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.ActivationContextEncoderSourceImpl
Single constructor.
ActivationContextPageLink - Class in br.com.arsmachina.tapestrycrud.components
A replacement to PageLink that, given an object passed as parameter, uses the corresponding Encoder to get the context PrimaryKeyEncoder.toKey(Object) activation value.
ActivationContextPageLink() - Constructor for class br.com.arsmachina.tapestrycrud.components.ActivationContextPageLink
 
addError(String, String) - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Adds an error to a given field in the form.

B

BaseEditPage<T,K extends Serializable> - Class in br.com.arsmachina.tapestrycrud.base
Base class for pages that edit entity objects.
BaseEditPage() - Constructor for class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Single constructor of this class.
BaseListPage<T,K extends Serializable> - Class in br.com.arsmachina.tapestrycrud.base
Base class for pages that list entity objects.
BaseListPage() - Constructor for class br.com.arsmachina.tapestrycrud.base.BaseListPage
Single constructor of this class.
BasePage<T,K extends Serializable> - Class in br.com.arsmachina.tapestrycrud.base
Class that implements some common infrastructure for listing and editing pages.
BasePage() - Constructor for class br.com.arsmachina.tapestrycrud.base.BasePage
Single constructor of this class.
br.com.arsmachina.tapestrycrud - package br.com.arsmachina.tapestrycrud
 
br.com.arsmachina.tapestrycrud.base - package br.com.arsmachina.tapestrycrud.base
 
br.com.arsmachina.tapestrycrud.components - package br.com.arsmachina.tapestrycrud.components
 
br.com.arsmachina.tapestrycrud.encoder - package br.com.arsmachina.tapestrycrud.encoder
 
br.com.arsmachina.tapestrycrud.factory - package br.com.arsmachina.tapestrycrud.factory
 
br.com.arsmachina.tapestrycrud.grid - package br.com.arsmachina.tapestrycrud.grid
 
br.com.arsmachina.tapestrycrud.ioc - package br.com.arsmachina.tapestrycrud.ioc
 
br.com.arsmachina.tapestrycrud.module - package br.com.arsmachina.tapestrycrud.module
 
br.com.arsmachina.tapestrycrud.selectmodel - package br.com.arsmachina.tapestrycrud.selectmodel
 
br.com.arsmachina.tapestrycrud.selectmodel.impl - package br.com.arsmachina.tapestrycrud.selectmodel.impl
 
br.com.arsmachina.tapestrycrud.services - package br.com.arsmachina.tapestrycrud.services
 
br.com.arsmachina.tapestrycrud.services.impl - package br.com.arsmachina.tapestrycrud.services.impl
 
build(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.factory.PrimaryKeyEncoderFactory
Builds a PrimaryKeyEncoder instance for the given entity class.
buildActivationContextEncoderSource(Map<Class, ActivationContextEncoder>, EncoderSource, PrimaryKeyEncoderSource, PrimaryKeyTypeService) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the ActivationContextEncoderSource service.
buildEncoderSource(Map<Class, Encoder>) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the EncoderSource service.
buildLabelEncoderSource(Map<Class, LabelEncoder>, EncoderSource) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the LabelSource service.
buildPrimaryKeyEncoderFactory(List<PrimaryKeyEncoderFactory>, ChainBuilder) - Method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the PrimaryKeyEncoderFactory service.
buildPrimaryKeyEncoderSource(Map<Class, PrimaryKeyEncoder>, EncoderSource, PrimaryKeyEncoderFactory) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the PrimaryKeyEncoderSource service.
buildPrimaryKeyTypeService(List<PrimaryKeyTypeService>, ChainBuilder) - Method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the DefaultLabelEncoderFactory service.
buildSelectModelFactory(Map<Class, SingleTypeSelectModelFactory>) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the SelectModelFactory service.
buildTapestryCrudModuleService(Collection<TapestryCrudModule>) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the ModuleService service.

C

canRemove(T) - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Tells if a given object can be removed in this context.
clearObject() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Sets the object to null.
Constants - Class in br.com.arsmachina.tapestrycrud
Class that holds some constants related to Tapestry CRUD.
contributeActivationContextEncoderSource(MappedConfiguration<Class, ActivationContextEncoder>, EntitySource, ModuleService, TapestryCrudModuleService, ObjectLocator) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Associates entity classes with their Controllers.
contributeClasspathAssetAliasManager(MappedConfiguration<String, String>) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
 
contributeComponentClassResolver(Configuration<LibraryMapping>) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Contributes the Tapestry CRUD components under the crud prefix.
contributeEncoderSource(MappedConfiguration<Class, Encoder>, EntitySource, ModuleService, TapestryCrudModuleService, ObjectLocator) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Associates entity classes with their Encoders.
contributeLabelEncoderSource(MappedConfiguration<Class, LabelEncoder>, EntitySource, ModuleService, TapestryCrudModuleService, ObjectLocator) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Associates entity classes with their LabelEncoders.
contributeModuleService(Configuration<Module>, ClassNameLocator, String, String) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Contributes the main (default module) to the ModuleService service.
contributePrimaryKeyEncoderSource(MappedConfiguration<Class, PrimaryKeyEncoder>, EntitySource, ModuleService, TapestryCrudModuleService, ObjectLocator) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Associates entity classes with their PrimaryKeyEncoders.
contributeSelectModelFactory(MappedConfiguration<Class, SingleTypeSelectModelFactory>, ControllerSource, EntitySource, LabelEncoderSource) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Associates entity classes with their SelectModels.
contributeTapestryCrudModuleService(Configuration<TapestryCrudModule>, ModuleService, ClassNameLocator, String) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Builds the ModuleService service.
contributeValueEncoderSource(MappedConfiguration<Class, ValueEncoderFactory>, EncoderSource, EntitySource, PrimaryKeyEncoderSource, PrimaryKeyTypeService, TypeCoercer) - Static method in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Contributes all (Class, Encoder pairs registered in EncoderSource to ValueEncoderSource.
ControllerGridDataSource<T,K extends Serializable> - Class in br.com.arsmachina.tapestrycrud.grid
GridDataSource implementation using a Controller instance, specifically its ReadableController.findAll(int, int, SortCriterion[]) method.
ControllerGridDataSource(Class<T>, ReadableController<T, K>) - Constructor for class br.com.arsmachina.tapestrycrud.grid.ControllerGridDataSource
Single construtctor of this class.
count() - Method in interface br.com.arsmachina.tapestrycrud.grid.PagedSearch
Return the number of available objects to be returned by the search.
create(List<T>) - Method in class br.com.arsmachina.tapestrycrud.selectmodel.DefaultSingleTypeSelectModelFactory
 
create(Class<?>) - Method in class br.com.arsmachina.tapestrycrud.selectmodel.impl.SelectModelFactoryImpl
 
create(Class<T>, List<T>) - Method in class br.com.arsmachina.tapestrycrud.selectmodel.impl.SelectModelFactoryImpl
 
create(Class<?>) - Method in interface br.com.arsmachina.tapestrycrud.selectmodel.SelectModelFactory
Creates a SelectModel containing all the instances of a given type.
create(Class<T>, List<T>) - Method in interface br.com.arsmachina.tapestrycrud.selectmodel.SelectModelFactory
Creates a SelectModel containing some given instances of a given type.
create(List<T>) - Method in interface br.com.arsmachina.tapestrycrud.selectmodel.SingleTypeSelectModelFactory
Creates a SelectModel with given options.
create(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderValueEncoder
 
createNewObject() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Creates a new entity object to be edited.
CrudPage<T,K extends Serializable> - Interface in br.com.arsmachina.tapestrycrud
Interface that defines some common methods for CRUD pages, being it listing or editing.
CSS_CLASS - Static variable in class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
Generated <p> CSS class.

D

DEFAULT_FORM_BLOCK_ID - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Default block ID to be returned by AJAX form submissions.
DEFAULT_FORM_ZONE_ID - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Default zone ID to be returned by AJAX form submissions.
DefaultSingleTypeSelectModelFactory<T> - Class in br.com.arsmachina.tapestrycrud.selectmodel
Default SingleTypeSelectModelFactory implementation for entity classes.
DefaultSingleTypeSelectModelFactory(Controller<T, ?>, LabelEncoder<T>) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.DefaultSingleTypeSelectModelFactory
Single constructor of this class.
DefaultTapestryCrudModule - Class in br.com.arsmachina.tapestrycrud.module
Default TapestryCrudModule implementation.
DefaultTapestryCrudModule(String, String, ClassNameLocator, String) - Constructor for class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
Single constructor of this class.
discardBody() - Method in class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
Discards the tag body.

E

EditPage<T,K extends Serializable> - Interface in br.com.arsmachina.tapestrycrud
Interface that defines some common methods for pages that edit entities.
EmptyGridMessage - Class in br.com.arsmachina.tapestrycrud.components
Component used to easily standardize and internationalize the Grid's "no records to display" message.
EmptyGridMessage() - Constructor for class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
 
Encoder<T,K extends Serializable> - Interface in br.com.arsmachina.tapestrycrud.encoder
Single interface used to define many encoding-related services.
EncoderSource - Interface in br.com.arsmachina.tapestrycrud.services
Service that provides Encoders.
EncoderSourceImpl - Class in br.com.arsmachina.tapestrycrud.services.impl
EncoderSource implementation.
EncoderSourceImpl(Map<Class, Encoder>) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.EncoderSourceImpl
Single constructor.

F

filterReadOnlyComponentsInBeanModel() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Used by #getBeanModel() to filter read only components or not.
FORM_ID - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Form id (t:id).

G

get(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.ActivationContextEncoderSource
Returns the ActivationContextEncoder of a given type.
get(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.EncoderSource
Returns the Encoder of a given type.
get(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.ActivationContextEncoderSourceImpl
 
get(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.EncoderSourceImpl
 
get(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.LabelEncoderSourceImpl
 
get(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderSourceImpl
 
get(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.LabelEncoderSource
Returns the LabelEncoder of a given type.
get(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.PrimaryKeyEncoderSource
Returns the LabelEncoder of a given type.
getActivationContextEncoder(Class<V>) - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the ActivationContextEncoder for a given class.
getActivationContextEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
 
getActivationContextEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.module.TapestryCrudModule
Returns the activation context encoder class corresponding to a given entity class.
getActivationContextEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
 
getActivationContextEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.TapestryCrudModuleService
Returns the activation context encoder class corresponding to a given entity class.
getActivationContextEncoderClassName(Class<?>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
Returns the fully-qualified name of the activation context encoder for a given entity class.
getAttributes() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
 
getAvailableRows() - Method in class br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource
 
getBeanModel() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Adds an action property to the BeanModel.
getContext() - Method in class br.com.arsmachina.tapestrycrud.components.ActivationContextPageLink
 
getContext() - Method in class br.com.arsmachina.tapestrycrud.components.PrimaryKeyActionLink
 
getContext() - Method in class br.com.arsmachina.tapestrycrud.components.PrimaryKeyEventLink
 
getController() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the value of the controller property.
getEditPage() - Method in class br.com.arsmachina.tapestrycrud.components.ActionLinks
Returns the value of the editPage property.
getEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
 
getEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.module.TapestryCrudModule
Returns the encoder class corresponding to a given entity class.
getEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
 
getEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.TapestryCrudModuleService
Returns the encoder class corresponding to a given entity class.
getEncoderClassName(Class<?>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
Returns the fully-qualified name of the encoder for a given entity class.
getEntityClass() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
 
getEntityClass() - Method in interface br.com.arsmachina.tapestrycrud.CrudPage
Returns the entity type.
getForm() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Returns the value of the form property.
getFormZone() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the Zone that surrounds the form.
getFormZone() - Method in interface br.com.arsmachina.tapestrycrud.EditPage
Returns the Zone that wraps the form.
getLabel() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
 
getLabelEncoder(Class<V>) - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the LabelEncoder for a given class.
getLabelEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
 
getLabelEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.module.TapestryCrudModule
Returns the label encoder class corresponding to a given entity class.
getLabelEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
 
getLabelEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.TapestryCrudModuleService
Returns the label encoder class corresponding to a given entity class.
getLabelEncoderClassName(Class<?>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
Returns the fully-qualified name of the label encoder for a given entity class.
getListPage() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Returns the BaseListPage instance associated to this object.
getMessage() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
 
getMessage() - Method in class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
Returns the value of the message property.
getMessage() - Method in class br.com.arsmachina.tapestrycrud.components.Message
Returns the value of the message property.
getMessage() - Method in interface br.com.arsmachina.tapestrycrud.CrudPage
Returns the value of the message property.
getMessages() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the value of the messages property.
getModules() - Method in class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
 
getModules() - Method in interface br.com.arsmachina.tapestrycrud.services.TapestryCrudModuleService
Returns the set of all modules.
getName() - Method in interface br.com.arsmachina.tapestrycrud.module.TapestryCrudModule
Returns the module name.
getObject() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Returns the value of the object property.
getObject() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Returns the value of the object property.
getObject() - Method in interface br.com.arsmachina.tapestrycrud.EditPage
Returns edited object.
getObjects() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Method used as the source parameter of the Grid component.
getOptionGroups() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleSelectModel
 
getOptions() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleSelectModel
 
getPrimaryKeyClass() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
 
getPrimaryKeyClass() - Method in interface br.com.arsmachina.tapestrycrud.CrudPage
Returns the type of the entity's primary key field.
getPrimaryKeyEncoder(Class<X>) - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Returns the configured PrimaryKeyEncoder for a given entity class.
getPrimaryKeyEncoder(Class<V>) - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the PrimaryKeyEncoder for a given class.
getPrimaryKeyEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
 
getPrimaryKeyEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.module.TapestryCrudModule
Returns the label encoder class corresponding to a given entity class.
getPrimaryKeyEncoderClass(Class<T>) - Method in class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
 
getPrimaryKeyEncoderClass(Class<T>) - Method in interface br.com.arsmachina.tapestrycrud.services.TapestryCrudModuleService
Returns the primary key encoder class corresponding to a given entity class.
getPrimaryKeyEncoderClassName(Class<?>) - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
Returns the fully-qualified name of the primary key encoder for a given entity class.
getPrimaryKeyPropertyName(Class) - Method in interface br.com.arsmachina.tapestrycrud.services.PrimaryKeyTypeService
Returns the name of the property used as primary key in a given class.
getPrimaryKeyType(Class) - Method in interface br.com.arsmachina.tapestrycrud.services.PrimaryKeyTypeService
Returns the Class instance representing the primary key field type for a given entity class.
getRowType() - Method in class br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource
 
getRowValue(int) - Method in class br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource
 
getSelectModelFactory() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the value of the selectModelFactory property.
getValue() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
 
getValueEncoder(Class<V>) - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Returns the ValueEncoder for a given class.
getViewPage() - Method in class br.com.arsmachina.tapestrycrud.components.ActionLinks
Returns the value of the viewPage property.
getZone() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Returns null if we are inserting a new object and #DEFAULT_FORM_ZONE_ID (zone) otherwise.

I

ImprovedLabel - Class in br.com.arsmachina.tapestrycrud.components
Label subclass that always ignores its body and generates the label name from the corresponding field id.
ImprovedLabel() - Constructor for class br.com.arsmachina.tapestrycrud.components.ImprovedLabel
 
isDisabled() - Method in class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
 

J

JustBody - Class in br.com.arsmachina.tapestrycrud.components
A component that just renders its body, not its tag, thus providing previewability for Tapestry templates.
JustBody() - Constructor for class br.com.arsmachina.tapestrycrud.components.JustBody
 

L

LabelEncoder<T> - Interface in br.com.arsmachina.tapestrycrud.encoder
Interface which defines a single method, LabelEncoder.toLabel(Object), that returns a user-presentable description (label) of a given object.
LabelEncoderSource - Interface in br.com.arsmachina.tapestrycrud.services
Service that provides LabelEncoders.
LabelEncoderSourceImpl - Class in br.com.arsmachina.tapestrycrud.services.impl
LabelEncoderSource implementation.
LabelEncoderSourceImpl(Map<Class, LabelEncoder>, EncoderSource) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.LabelEncoderSourceImpl
Single constructor.

M

Message - Class in br.com.arsmachina.tapestrycrud.components
Component that only shows a message if a given text is not null and not empty.
Message() - Constructor for class br.com.arsmachina.tapestrycrud.components.Message
 
MESSAGE_ERROR_REMOVE_NOT_ALLOWED - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Remove object success error (remove not allowed) key.
MESSAGE_ERROR_REMOVE_NOT_FOUND - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Remove object success error (object not found) key.
MESSAGE_GRID_EMPTY - Static variable in class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
Key of the empty grid message.
MESSAGE_SAVEORUPDATE_SUCCESS - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Message shown after a successful object save or update.
MESSAGE_SUCCESS_REMOVE - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Remove object success message key.

N

NEW_OBJECT_EVENT - Static variable in class br.com.arsmachina.tapestrycrud.Constants
New object event.
NewObjectLink - Class in br.com.arsmachina.tapestrycrud.components
A link to edit a new object.
NewObjectLink() - Constructor for class br.com.arsmachina.tapestrycrud.components.NewObjectLink
 
nothing() - Method in class br.com.arsmachina.tapestrycrud.components.Remove
 

O

onPassivate() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Returns the current activation context of this page.

P

PagedSearch<T> - Interface in br.com.arsmachina.tapestrycrud.grid
Interface that defines a search that can be carried on in a paged fashion.
PagedSearchGridDataSource<T> - Class in br.com.arsmachina.tapestrycrud.grid
GridDataSource implementation using a Controller instance, specifically its ReadableController.findAll(int, int, SortCriterion[]) method.
PagedSearchGridDataSource(Class<T>, PagedSearch<T>) - Constructor for class br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource
Single construtctor of this class.
prepare() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Ensures the edited object is not null before form rendering and submission.
prepare(int, int, List<SortConstraint>) - Method in class br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource
 
prepareObjectForSaveOrUpdate() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Does any processing that must be done in the object before it is saved or updated.
PrimaryKeyActionLink - Class in br.com.arsmachina.tapestrycrud.components
An alternative to ActionLink that, given an object passed as parameter, uses the corresponding Encoder to get the context PrimaryKeyEncoder.toKey(Object) activation value.
PrimaryKeyActionLink() - Constructor for class br.com.arsmachina.tapestrycrud.components.PrimaryKeyActionLink
 
PrimaryKeyEncoderFactory - Interface in br.com.arsmachina.tapestrycrud.factory
Interface that defines a factory of PrimaryKeyEncoders.
PrimaryKeyEncoderSource - Interface in br.com.arsmachina.tapestrycrud.services
Service that provides PrymaryKeyEncoders.
PrimaryKeyEncoderSourceImpl - Class in br.com.arsmachina.tapestrycrud.services.impl
PrimaryKeyEncoderSource implementation.
PrimaryKeyEncoderSourceImpl(Map<Class, PrimaryKeyEncoder>, EncoderSource, PrimaryKeyEncoderFactory) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderSourceImpl
Single constructor.
PrimaryKeyEncoderValueEncoder<T,K extends Serializable> - Class in br.com.arsmachina.tapestrycrud.services.impl
A ValueEncoder implementation based in a PrimaryKeyEncoder.
PrimaryKeyEncoderValueEncoder(Class<K>, PrimaryKeyEncoder<K, T>, TypeCoercer) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderValueEncoder
 
PrimaryKeyEventLink - Class in br.com.arsmachina.tapestrycrud.components
An alternative to EventLink that, given an object passed as parameter, uses the corresponding Encoder to get the context PrimaryKeyEncoder.toKey(Object) activation value.
PrimaryKeyEventLink() - Constructor for class br.com.arsmachina.tapestrycrud.components.PrimaryKeyEventLink
 
PrimaryKeyTypeService - Interface in br.com.arsmachina.tapestrycrud.services
Service that informs the primary key field type of a given entity class.

R

remove(T) - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Removes or not a given object.
remove(EventContext) - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
This method listens to the Constants.REMOVE_OBJECT_ACTION event and removes the corresponding object.
Remove - Class in br.com.arsmachina.tapestrycrud.components
A component that doesn't render its tag nor its body.
Remove() - Constructor for class br.com.arsmachina.tapestrycrud.components.Remove
 
REMOVE_COMPONENT_ID - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Name of the pseudo-property added to the BeanModel returned by #getBeanModel() to hold actions related to an object in a Grid.
REMOVE_OBJECT_ACTION - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Event generated by the remove link in the ActionLinks component.
render(MarkupWriter) - Method in class br.com.arsmachina.tapestrycrud.components.Message
 
returnFromDoRemove() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Defines what #doRemove() will return.
returnFromRemove() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Defines what BaseEditPage.saveOrUpdate() will return and sets the success message.
returnZoneOnXHR() - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
Used by #returnFromRemove() to know whether it must return a Zone or a Block.

S

saveOrUpdate() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Saves or updates the edited object.
search(int, int, SortCriterion...) - Method in interface br.com.arsmachina.tapestrycrud.grid.PagedSearch
Performs the search.
SelectModelFactory - Interface in br.com.arsmachina.tapestrycrud.selectmodel
Interface that defines a factory of SelectModel instances for any given type, provided it has a configured SingleTypeSelectModelFactory for it.
SelectModelFactoryImpl - Class in br.com.arsmachina.tapestrycrud.selectmodel.impl
Default SelectModelFactory implementation.
SelectModelFactoryImpl(Map<Class, SingleTypeSelectModelFactory>) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.impl.SelectModelFactoryImpl
Single constructor.
setMessage(String) - Method in class br.com.arsmachina.tapestrycrud.base.BasePage
 
setMessage(String) - Method in class br.com.arsmachina.tapestrycrud.components.EmptyGridMessage
Changes the value of the message property.
setMessage(String) - Method in class br.com.arsmachina.tapestrycrud.components.Message
Changes the value of the message property.
setMessage(String) - Method in interface br.com.arsmachina.tapestrycrud.CrudPage
Changes the value of the message property.
setObject(T) - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Changes the value of the object property.
setObject(T) - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Changes the value of the object property.
setObject(T) - Method in interface br.com.arsmachina.tapestrycrud.EditPage
Changes the edited object.
setRemoveErrorNotAllowedMessage() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Sets the remove not done because of lack of priviledge message in this page.
setRemoveErrorNotFoundMessage() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Sets the remove not done because object not found in this page.
setRemoveSuccessMessage() - Method in class br.com.arsmachina.tapestrycrud.base.BaseListPage
Sets the remove success message in this page.
setSaveOrUpdateSuccessMessage() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Sets the save or update success message in this page.
SimpleOptionModel - Class in br.com.arsmachina.tapestrycrud.selectmodel
Simple OptionModel implementation.
SimpleOptionModel(Object, String, boolean, Map<String, String>) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
Constructor that takes all the possible parameters.
SimpleOptionModel(Object, String, boolean) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
The same as SimpleOptionModel(value, label, disabled, null).
SimpleOptionModel(Object, String) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
The same as SimpleOptionModel(value, label, false, null).
SimpleOptionModel(String) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.SimpleOptionModel
The same as SimpleOptionModel(null, label, false, null).
SimpleSelectModel - Class in br.com.arsmachina.tapestrycrud.selectmodel
Simple SelectModel implementation.
SimpleSelectModel(List<OptionModel>) - Constructor for class br.com.arsmachina.tapestrycrud.selectmodel.SimpleSelectModel
Single constructor of this class.
SingleTypeSelectModelFactory<T> - Interface in br.com.arsmachina.tapestrycrud.selectmodel
Interface that defines a factory of SelectModel instances for a given type.

T

TAPESTRY_CRUD_ASSET_PREFIX - Static variable in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Path under with the Tapestry CRUDs assets will be accessed.
TAPESTRY_CRUD_COMPONENT_PREFIX - Static variable in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Tapestry CRUD component prefix.
TAPESTRY_CRUD_CSS_ASSET - Static variable in class br.com.arsmachina.tapestrycrud.Constants
Tapestry CRUD CSS asset path.
TAPESTRY_CRUD_VERSION - Static variable in class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
Tapestry CRUD version.
TapestryCrudIoCModule - Class in br.com.arsmachina.tapestrycrud.ioc
Tapestry-IoC module for Tapestry CRUD.
TapestryCrudIoCModule() - Constructor for class br.com.arsmachina.tapestrycrud.ioc.TapestryCrudIoCModule
 
TapestryCrudModule - Interface in br.com.arsmachina.tapestrycrud.module
Interface that defines information about a module, whatever its conventions are.
TapestryCrudModuleService - Interface in br.com.arsmachina.tapestrycrud.services
Service that provides module-related methods.
TapestryCrudModuleServiceImpl - Class in br.com.arsmachina.tapestrycrud.services.impl
Default ModuleService implementation.
TapestryCrudModuleServiceImpl(Set<TapestryCrudModule>) - Constructor for class br.com.arsmachina.tapestrycrud.services.impl.TapestryCrudModuleServiceImpl
Single constructor of this class.
toActivationContext(T) - Method in interface br.com.arsmachina.tapestrycrud.encoder.ActivationContextEncoder
Given an object, returns its activation context value.
toClient(T) - Method in class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderValueEncoder
 
toLabel(T) - Method in interface br.com.arsmachina.tapestrycrud.encoder.LabelEncoder
Returns a user-presentable description (label) of a given object.
toObject(EventContext) - Method in interface br.com.arsmachina.tapestrycrud.encoder.ActivationContextEncoder
Given an activation context value, returns its object.
toString() - Method in class br.com.arsmachina.tapestrycrud.module.DefaultTapestryCrudModule
 
toValue(String) - Method in class br.com.arsmachina.tapestrycrud.services.impl.PrimaryKeyEncoderValueEncoder
 

V

validate() - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Validates the object.
validateObject(T, Form) - Method in class br.com.arsmachina.tapestrycrud.base.BaseEditPage
Validates an object and stores the validation erros in a form.

A B C D E F G I J L M N O P R S T V

Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.