Class FocusDetailsModels<F extends FocusType>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.page.admin.ObjectDetailsModels<AH>
-
- com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.AssignmentHolderDetailsModel<F>
-
- com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.FocusDetailsModels<F>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
UserDetailsModel
public class FocusDetailsModels<F extends FocusType> extends AssignmentHolderDetailsModel<F>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.gui.impl.page.admin.ObjectDetailsModels
OPERATION_LOAD_PARENT_ORG
-
-
Constructor Summary
Constructors Constructor Description FocusDetailsModels(org.apache.wicket.model.LoadableDetachableModel<PrismObject<F>> prismObjectModel, boolean history, PageBase serviceLocator)
FocusDetailsModels(org.apache.wicket.model.LoadableDetachableModel<PrismObject<F>> prismObjectModel, PageBase serviceLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<ObjectDelta<? extends ObjectType>>
getAdditionalModifyDeltas(OperationResult result)
LoadableModel<ExecuteChangeOptionsDto>
getExecuteOptionsModel()
protected PrismObjectDefinition<F>
getObjectDefinition()
org.apache.wicket.model.LoadableDetachableModel<List<ShadowWrapper>>
getProjectionModel()
protected boolean
isReadonly()
boolean
isSelfProfile()
protected GuiObjectDetailsPageType
loadDetailsPageConfiguration()
@NotNull ShadowWrapper
loadShadowWrapper(PrismObject<ShadowType> projection, boolean noFetch, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected void
prepareObjectDeltaForModify(ObjectDelta<F> focusDelta)
protected void
prepareObjectForAdd(PrismObject<F> focus)
void
setSelfProfile(boolean selfProfile)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.AssignmentHolderDetailsModel
applyArchetypePolicy
-
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.ObjectDetailsModels
collectDeltas, collectDeltaWithoutSavedDeltas, createWrapperContext, createWrapperContext, detach, getAdminGuiConfigurationMergeManager, getDelta, getModelServiceLocator, getObjectDetailsPageConfiguration, getObjectStatus, getObjectType, getObjectWrapper, getObjectWrapperModel, getPageBase, getPanelConfigurations, getPrismContext, getPrismObject, getSummaryModel, getSummaryPanelSpecification, getValidationErrors, isEditObject, performCustomValidation, reloadPrismObjectModel, reset, saveDeltas
-
-
-
-
Constructor Detail
-
FocusDetailsModels
public FocusDetailsModels(org.apache.wicket.model.LoadableDetachableModel<PrismObject<F>> prismObjectModel, PageBase serviceLocator)
-
FocusDetailsModels
public FocusDetailsModels(org.apache.wicket.model.LoadableDetachableModel<PrismObject<F>> prismObjectModel, boolean history, PageBase serviceLocator)
-
-
Method Detail
-
loadDetailsPageConfiguration
protected GuiObjectDetailsPageType loadDetailsPageConfiguration()
- Overrides:
loadDetailsPageConfiguration
in classAssignmentHolderDetailsModel<F extends FocusType>
-
isReadonly
protected boolean isReadonly()
- Overrides:
isReadonly
in classObjectDetailsModels<F extends FocusType>
-
loadShadowWrapper
@NotNull public @NotNull ShadowWrapper loadShadowWrapper(PrismObject<ShadowType> projection, boolean noFetch, com.evolveum.midpoint.task.api.Task task, OperationResult result) throws SchemaException
- Throws:
SchemaException
-
setSelfProfile
public void setSelfProfile(boolean selfProfile)
-
isSelfProfile
public boolean isSelfProfile()
-
getProjectionModel
public org.apache.wicket.model.LoadableDetachableModel<List<ShadowWrapper>> getProjectionModel()
-
prepareObjectForAdd
protected void prepareObjectForAdd(PrismObject<F> focus) throws SchemaException
- Overrides:
prepareObjectForAdd
in classObjectDetailsModels<F extends FocusType>
- Throws:
SchemaException
-
prepareObjectDeltaForModify
protected void prepareObjectDeltaForModify(ObjectDelta<F> focusDelta) throws SchemaException
- Overrides:
prepareObjectDeltaForModify
in classObjectDetailsModels<F extends FocusType>
- Throws:
SchemaException
-
getObjectDefinition
protected PrismObjectDefinition<F> getObjectDefinition()
-
getAdditionalModifyDeltas
protected List<ObjectDelta<? extends ObjectType>> getAdditionalModifyDeltas(OperationResult result)
- Overrides:
getAdditionalModifyDeltas
in classObjectDetailsModels<F extends FocusType>
-
getExecuteOptionsModel
public LoadableModel<ExecuteChangeOptionsDto> getExecuteOptionsModel()
-
-