public class UserCustomizer
extends org.eclipse.persistence.descriptors.DescriptorEventAdapter
implements org.eclipse.persistence.config.DescriptorCustomizer
DescriptorCustomizer
setting the user for annotated entities with a user id field.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_USER_ID |
static String |
USER_ID |
Constructor and Description |
---|
UserCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
aboutToInsert(org.eclipse.persistence.descriptors.DescriptorEvent event) |
void |
aboutToUpdate(org.eclipse.persistence.descriptors.DescriptorEvent event) |
void |
customize(org.eclipse.persistence.descriptors.ClassDescriptor descriptor) |
aboutToDelete, isOverriddenEvent, postBuild, postClone, postDelete, postInsert, postMerge, postRefresh, postUpdate, postWrite, preDelete, preInsert, prePersist, preRemove, preUpdate, preUpdateWithChanges, preWrite
public static final String USER_ID
public static final String PROPERTY_USER_ID
public void customize(org.eclipse.persistence.descriptors.ClassDescriptor descriptor)
customize
in interface org.eclipse.persistence.config.DescriptorCustomizer
public void aboutToInsert(org.eclipse.persistence.descriptors.DescriptorEvent event)
aboutToInsert
in interface org.eclipse.persistence.descriptors.DescriptorEventListener
aboutToInsert
in class org.eclipse.persistence.descriptors.DescriptorEventAdapter
public void aboutToUpdate(org.eclipse.persistence.descriptors.DescriptorEvent event)
aboutToUpdate
in interface org.eclipse.persistence.descriptors.DescriptorEventListener
aboutToUpdate
in class org.eclipse.persistence.descriptors.DescriptorEventAdapter
Copyright © 2019 SAP SE. All rights reserved.