@Component public class LookupTableHelper extends Object
Constructor and Description |
---|
LookupTableHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addLookupTableRows(org.hibernate.Session session,
RObject object,
boolean deleteBeforeAdd) |
void |
deleteLookupTableRows(org.hibernate.Session session,
String oid)
This method removes all lookup table rows for object defined by oid
|
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
filterLookupTableModifications(Class<T> type,
Collection<? extends ItemDelta> modifications) |
GetOperationOptions |
findLookupTableGetOption(Collection<SelectorOptions<GetOperationOptions>> options) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
updateLoadedLookupTable(PrismObject<T> object,
Collection<SelectorOptions<GetOperationOptions>> options,
org.hibernate.Session session) |
void |
updateLookupTableData(org.hibernate.Session session,
String tableOid,
Collection<? extends ItemDelta> modifications) |
public void addLookupTableRows(org.hibernate.Session session, RObject object, boolean deleteBeforeAdd)
public void deleteLookupTableRows(org.hibernate.Session session, String oid)
session
- oid
- public void updateLookupTableData(org.hibernate.Session session, String tableOid, Collection<? extends ItemDelta> modifications) throws SchemaException
SchemaException
public GetOperationOptions findLookupTableGetOption(Collection<SelectorOptions<GetOperationOptions>> options)
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void updateLoadedLookupTable(PrismObject<T> object, Collection<SelectorOptions<GetOperationOptions>> options, org.hibernate.Session session) throws SchemaException
SchemaException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> Collection<? extends ItemDelta> filterLookupTableModifications(Class<T> type, Collection<? extends ItemDelta> modifications)
Copyright © 2016 evolveum. All rights reserved.