Uses of Class
org.nuxeo.ecm.core.storage.sql.SimpleFragment
-
Packages that use SimpleFragment Package Description org.nuxeo.ecm.core.storage.sql Implementation of a Nuxeo repository over an SQL database. -
-
Uses of SimpleFragment in org.nuxeo.ecm.core.storage.sql
Fields in org.nuxeo.ecm.core.storage.sql declared as SimpleFragment Modifier and Type Field Description protected SimpleFragment
Node. hierFragment
The hierarchy/main fragment.static SimpleFragment
SimpleFragment. UNKNOWN
Methods in org.nuxeo.ecm.core.storage.sql that return SimpleFragment Modifier and Type Method Description SimpleFragment
PersistenceContext. createHierarchyFragment(Row row)
SimpleFragment
PersistenceContext. getChildHierByName(Serializable parentId, String name, boolean complexProp)
SimpleFragment
Selection. getFragmentByValue(Serializable filter)
Gets a fragment given its filtered value.protected SimpleFragment
PersistenceContext. getHier(Serializable id, boolean allowAbsent)
protected SimpleFragment
Node. getHierFragment()
SimpleFragment
SelectionContext. getSelectionFragment(Serializable selId, String filter)
Find a fragment given its selection id and value.Methods in org.nuxeo.ecm.core.storage.sql that return types with arguments of type SimpleFragment Modifier and Type Method Description List<SimpleFragment>
PersistenceContext. getChildren(Serializable parentId, String name, boolean complexProp)
Gets hier fragments for children.List<SimpleFragment>
Selection. getFragmentsByValue(Serializable filter)
Gets all the fragments, if the selection is complete.List<SimpleFragment>
SelectionContext. getSelectionFragments(Serializable selId, String filter)
Finds all the selection fragments for a given id.Methods in org.nuxeo.ecm.core.storage.sql with parameters of type SimpleFragment Modifier and Type Method Description void
PersistenceContext. addedProxyTarget(SimpleFragment fragment)
boolean
SelectionContext. applicable(SimpleFragment fragment)
int
SimpleFragment.FieldComparator. compare(SimpleFragment frag1, SimpleFragment frag2)
void
PersistenceContext. createdProxyFragment(SimpleFragment fragment)
<T> int
SimpleFragment.FieldComparator. doCompare(SimpleFragment frag1, SimpleFragment frag2)
protected void
SessionImpl. findPrefetchedFragments(SimpleFragment hierFragment, List<RowId> bulkRowIds, Set<Serializable> proxyIds)
Finds prefetched fragments for a hierarchy fragment, takes note of the ones that are proxies.protected Serializable
Selection. fragmentValue(SimpleFragment fragment)
List<RowMapper.NodeInfo>
PersistenceContext. getNodeAndDescendantsInfo(SimpleFragment hierFragment)
Gets descendants infos from a given root node.String
PersistenceContext. getPath(SimpleFragment hierFragment)
Gets the path by recursing up the hierarchy.PersistenceContext.PathAndId
PersistenceContext. getPathOrMissingParentId(SimpleFragment hierFragment, boolean fetch)
Gets the full path, or the closest parent id which we don't have in cache.void
SelectionContext. recordCreated(SimpleFragment fragment)
Records the fragment as a just-created selection member.void
SelectionContext. recordExisting(SimpleFragment fragment, boolean invalidate)
void
SelectionContext. recordRemoved(SimpleFragment fragment)
Removes a selection item from the selection.void
PersistenceContext. removedProxyTarget(SimpleFragment fragment)
void
PersistenceContext. removeNode(SimpleFragment hierFragment, List<RowMapper.NodeInfo> nodeInfos)
Removes a document node and its children.void
PersistenceContext. removePropertyNode(SimpleFragment hierFragment)
Removes a property node and its children.protected Map<String,Serializable>
PersistenceContext. updateChangeToken(SimpleFragment hier)
Updates a change token in the main fragment, and returns the condition to check.Constructors in org.nuxeo.ecm.core.storage.sql with parameters of type SimpleFragment Constructor Description CollectionProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates aCollectionProperty
.IdWithTypes(SimpleFragment hierFragment)
NodeInfo(SimpleFragment hierFragment, SimpleFragment versionFragment, SimpleFragment proxyFragment)
Creates node info for a node that may also be a proxy or a version.SimpleProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates a SimpleProperty, with specific info about row and key.
-