Uses of Class
org.nuxeo.ecm.core.storage.sql.Fragment
-
Packages that use Fragment Package Description org.nuxeo.ecm.core.storage.sql Implementation of a Nuxeo repository over an SQL database. -
-
Uses of Fragment in org.nuxeo.ecm.core.storage.sql
Subclasses of Fragment in org.nuxeo.ecm.core.storage.sql Modifier and Type Class Description class
CollectionFragment
A type of fragment corresponding to several rows with the same id.class
SimpleFragment
A type of fragment corresponding to a single row in a table and its associated in-memory information (state, dirty fields, attached context).Fields in org.nuxeo.ecm.core.storage.sql with type parameters of type Fragment Modifier and Type Field Description protected Map<RowId,Fragment>
PersistenceContext. modified
The fragments changed by the session.protected Map<RowId,Fragment>
PersistenceContext. pristine
The pristine fragments.Methods in org.nuxeo.ecm.core.storage.sql that return Fragment Modifier and Type Method Description protected Fragment
PersistenceContext. get(RowId rowId, boolean allowAbsent)
Gets a fragment.protected Fragment
PersistenceContext. getFragmentFromFetchedRow(RowId rowId, boolean allowAbsent)
Turns the given row (just fetched from the mapper) into a fragment and record it in the context.protected Fragment
PersistenceContext. getFromMapper(RowId rowId, boolean allowAbsent, boolean cacheOnly)
Gets a fragment from the context or the mapper cache or the underlying database.protected Fragment
PersistenceContext. getIfPresent(RowId rowId)
Gets a fragment, if present in the context.Methods in org.nuxeo.ecm.core.storage.sql that return types with arguments of type Fragment Modifier and Type Method Description protected List<Fragment>
PersistenceContext. getFragmentsFromFetchedRows(List<? extends RowId> rowIds, boolean allowAbsent)
Turns the given rows (just fetched from the mapper) into fragments and record them in the context.protected List<Fragment>
PersistenceContext. getFromMapper(Collection<RowId> rowIds, boolean allowAbsent, boolean cacheOnly)
Gets a collection of fragments from the mapper.protected List<Fragment>
SessionImpl. getHierarchyAndAncestors(Collection<Serializable> ids)
Fetches the hierarchy fragment for the given rows and all their ancestors.List<Fragment>
PersistenceContext. getMulti(Collection<RowId> rowIds, boolean allowAbsent)
Gets a list of fragments.Methods in org.nuxeo.ecm.core.storage.sql with parameters of type Fragment Modifier and Type Method Description void
PersistenceContext. removeFragment(Fragment fragment, boolean primary)
Deletes a fragment from the context.protected void
PersistenceContext. setFragmentModified(Fragment fragment)
protected void
PersistenceContext. setFragmentPristine(Fragment fragment)
Method parameters in org.nuxeo.ecm.core.storage.sql with type arguments of type Fragment Modifier and Type Method Description protected RowMapper.RowBatch
PersistenceContext. getSaveBatch(List<Fragment> fragmentsToClearDirty)
Saves all the created, modified and deleted rows into a batch object, for later execution.
-