public class ObjectWrapper<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> extends Object implements Serializable, Revivable, DebugDumpable
Modifier and Type | Field and Description |
---|---|
static String |
F_DISPLAY_NAME |
static String |
F_SELECTED |
static String |
PROPERTY_CONTAINERS |
INDENT_STRING
Constructor and Description |
---|
ObjectWrapper(String displayName,
String description,
PrismObject object,
PrismContainerDefinition objectDefinitionForEditing,
ContainerStatus status) |
ObjectWrapper(String displayName,
String description,
PrismObject object,
PrismContainerDefinition objectDefinitionForEditing,
RefinedObjectClassDefinition objectClassDefinitionForEditing,
ContainerStatus status,
boolean delayContainerCreation) |
public static final String F_DISPLAY_NAME
public static final String F_SELECTED
public static final String PROPERTY_CONTAINERS
public ObjectWrapper(String displayName, String description, PrismObject object, PrismContainerDefinition objectDefinitionForEditing, ContainerStatus status)
public ObjectWrapper(String displayName, String description, PrismObject object, PrismContainerDefinition objectDefinitionForEditing, RefinedObjectClassDefinition objectClassDefinitionForEditing, ContainerStatus status, boolean delayContainerCreation)
public void initializeContainers(PageBase pageBase)
public void revive(PrismContext prismContext) throws SchemaException
revive
in interface Revivable
SchemaException
public Collection<PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType>> getParentOrgs()
public OperationResult getFetchResult()
public void setFetchResult(OperationResult fetchResult)
public OperationResult getResult()
public void clearResult()
public Collection<SelectorOptions<GetOperationOptions>> getLoadOptions()
public void setLoadOptions(Collection<SelectorOptions<GetOperationOptions>> loadOptions)
public HeaderStatus getHeaderStatus()
public ObjectDelta<O> getOldDelta()
public void setOldDelta(ObjectDelta<O> oldDelta)
public void setHeaderStatus(HeaderStatus headerStatus)
public PrismObject<O> getObject()
public PrismObject<O> getObjectOld()
public String getDisplayName()
public ContainerStatus getStatus()
public String getDescription()
public boolean isMinimalized()
public void setMinimalized(boolean minimalized)
public boolean isSorted()
public void setSorted(boolean sorted)
public boolean isShowEmpty()
public void setShowEmpty(boolean showEmpty)
public boolean isSelectable()
public void setSelectable(boolean selectable)
public boolean isSelected()
public void setSelected(boolean selected)
public List<ContainerWrapper<? extends Containerable>> getContainers()
public void setContainers(List<ContainerWrapper<? extends Containerable>> containers)
public <C extends Containerable> ContainerWrapper<C> findContainerWrapper(ItemPath path)
public ContainerWrapper<O> findMainContainerWrapper()
public <IW extends ItemWrapper> IW findPropertyWrapper(ItemPath path)
public void normalize() throws SchemaException
SchemaException
public void sort(PageBase pageBase)
public ObjectDelta<O> getObjectDelta() throws SchemaException
SchemaException
public static PrismValue clone(PrismValue value)
protected boolean hasResourceCapability(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, Class<? extends com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.CapabilityType> capabilityClass)
public boolean isProtectedAccount()
public String getOid()
public boolean isShowAssignments()
public void setShowAssignments(boolean showAssignments)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public boolean isShowInheritedObjectAttributes()
public void setShowInheritedObjectAttributes(boolean showInheritedObjectAttributes)
public PrismContainerDefinition getDefinition()
public PrismContainerDefinition getRefinedAttributeDefinition()
public void copyRuntimeStateTo(ObjectWrapper<O> newWrapper)
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
Copyright © 2016 evolveum. All rights reserved.