Class ObjectDetailsModels<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.ObjectDetailsModels<O>
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
AssignmentHolderDetailsModel
,ShadowDetailsModel
public class ObjectDetailsModels<O extends ObjectType>
extends Object
implements Serializable, org.apache.wicket.model.IDetachable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionObjectDetailsModels
(org.apache.wicket.model.LoadableDetachableModel<PrismObject<O>> prismObjectModel, ModelServiceLocator serviceLocator) -
Method Summary
Modifier and TypeMethodDescriptionCollection<ObjectDelta<? extends ObjectType>>
collectDeltas
(OperationResult result) Collection<ObjectDelta<? extends ObjectType>>
protected WrapperContext
createWrapperContext
(Task task, OperationResult result) void
detach()
protected List<ObjectDelta<? extends ObjectType>>
protected AdminGuiConfigurationMergeManager
getDelta()
protected ModelServiceLocator
protected PageBase
List<? extends ContainerPanelConfigurationType>
protected PrismContext
protected PrismObject<O>
org.apache.wicket.model.LoadableDetachableModel<O>
boolean
isEditObject
(PrismObject<O> prismObject) protected boolean
protected GuiObjectDetailsPageType
protected Collection<SimpleValidationError>
performCustomValidation
(PrismObject<O> object, Collection<ObjectDelta<? extends ObjectType>> deltas) protected void
prepareObjectDeltaForModify
(ObjectDelta<O> modifyDelta) protected void
prepareObjectForAdd
(PrismObject<O> objectToAdd) void
void
reloadPrismObjectModel
(@NotNull PrismObject<O> newObject) void
reset()
void
-
Field Details
-
OPERATION_LOAD_PARENT_ORG
-
-
Constructor Details
-
ObjectDetailsModels
public ObjectDetailsModels(org.apache.wicket.model.LoadableDetachableModel<PrismObject<O>> prismObjectModel, ModelServiceLocator serviceLocator)
-
-
Method Details
-
createWrapperContext
-
createWrapperContext
-
getPanelConfigurations
-
getPageBase
-
loadDetailsPageConfiguration
-
getSummaryModel
-
isEditObject
-
getPrismContext
-
getDelta
-
getValidationErrors
-
performCustomValidation
protected Collection<SimpleValidationError> performCustomValidation(PrismObject<O> object, Collection<ObjectDelta<? extends ObjectType>> deltas) throws SchemaException - Throws:
SchemaException
-
prepareObjectForAdd
- Throws:
CommonException
-
prepareObjectDeltaForModify
- Throws:
CommonException
-
getAdditionalModifyDeltas
-
reset
public void reset() -
getModelServiceLocator
-
getAdminGuiConfigurationMergeManager
-
getObjectWrapperModel
-
getObjectWrapper
-
getPrismObject
-
reloadPrismObjectModel
public void reloadPrismObjectModel() -
reloadPrismObjectModel
-
getObjectDetailsPageConfiguration
-
getObjectType
-
isReadonly
protected boolean isReadonly() -
getObjectStatus
-
getSummaryPanelSpecification
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
collectDeltas
public Collection<ObjectDelta<? extends ObjectType>> collectDeltas(OperationResult result) throws CommonException - Throws:
CommonException
-
collectDeltaWithoutSavedDeltas
public Collection<ObjectDelta<? extends ObjectType>> collectDeltaWithoutSavedDeltas(OperationResult result) throws CommonException - Throws:
CommonException
-
saveDeltas
public void saveDeltas()
-