Package org.cxbox.core.crudma.impl.inner
Class BcCrudmaService
- java.lang.Object
-
- org.cxbox.core.crudma.impl.AbstractCrudmaService
-
- org.cxbox.core.crudma.impl.inner.BcCrudmaService
-
- All Implemented Interfaces:
Crudma
@Service public class BcCrudmaService extends AbstractCrudmaService
-
-
Constructor Summary
Constructors Constructor Description BcCrudmaService(BcRegistry bcRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount(BusinessComponent bc)Returns the number of matching entitiesorg.cxbox.api.data.ResultPage<BcDto>getAll(BusinessComponent bc)Returns all matched objects based on a business componentMetaDTOgetMeta(BusinessComponent bc)Returns meta for entity based on a business componentMetaDTOgetMetaEmpty(BusinessComponent bc)Returns empty meta for entity based on a business component-
Methods inherited from class org.cxbox.core.crudma.impl.AbstractCrudmaService
associate, buildMeta, buildMeta, create, delete, get, getMetaNew, getOnFieldUpdateMeta, invokeAction, preview, update
-
-
-
-
Constructor Detail
-
BcCrudmaService
public BcCrudmaService(BcRegistry bcRegistry)
-
-
Method Detail
-
getAll
public org.cxbox.api.data.ResultPage<BcDto> getAll(BusinessComponent bc)
Description copied from interface:CrudmaReturns all matched objects based on a business component- Specified by:
getAllin interfaceCrudma- Overrides:
getAllin classAbstractCrudmaService- Parameters:
bc- businessComponent- Returns:
ResultPageclass with list of objects
-
count
public long count(BusinessComponent bc)
Description copied from interface:CrudmaReturns the number of matching entities- Specified by:
countin interfaceCrudma- Overrides:
countin classAbstractCrudmaService- Parameters:
bc- businessComponent- Returns:
- count
-
getMeta
public MetaDTO getMeta(BusinessComponent bc)
Description copied from interface:CrudmaReturns meta for entity based on a business component- Specified by:
getMetain interfaceCrudma- Overrides:
getMetain classAbstractCrudmaService- Parameters:
bc- businessComponent- Returns:
MetaDTOclass with meta DTO and postactions
-
getMetaEmpty
public MetaDTO getMetaEmpty(BusinessComponent bc)
Description copied from interface:CrudmaReturns empty meta for entity based on a business component- Specified by:
getMetaEmptyin interfaceCrudma- Overrides:
getMetaEmptyin classAbstractCrudmaService- Parameters:
bc- businessComponent- Returns:
MetaDTOclass with meta DTO and postactions
-
-