public class ModelImpl extends Object implements Model
| Constructor and Description |
|---|
ModelImpl(MOPService mop,
org.chromattic.api.ChromatticSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Customization<?> |
findCustomizationById(String id) |
<O extends WorkspaceObject> |
findObject(ObjectType<O> type,
String statement) |
<O extends WorkspaceObject> |
findObjectById(ObjectType<O> type,
String id) |
<O extends WorkspaceObject> |
findObjectByPath(ObjectType<? extends O> type,
String path) |
<A> AdapterLifeCycle<Object,A> |
getAdapter(Object o,
Class<A> adapterType) |
org.chromattic.api.ChromatticSession |
getSession() |
Workspace |
getWorkspace() |
<A> boolean |
isAdaptable(Class<A> adapterType) |
String |
pathOf(WorkspaceObject o) |
void |
save() |
public ModelImpl(MOPService mop, org.chromattic.api.ChromatticSession session)
public org.chromattic.api.ChromatticSession getSession()
public Workspace getWorkspace()
getWorkspace in interface Modelpublic <A> AdapterLifeCycle<Object,A> getAdapter(Object o, Class<A> adapterType)
public <A> boolean isAdaptable(Class<A> adapterType)
public Customization<?> findCustomizationById(String id)
findCustomizationById in interface Modelpublic <O extends WorkspaceObject> Iterator<O> findObject(ObjectType<O> type, String statement)
findObject in interface Modelpublic String pathOf(WorkspaceObject o)
public <O extends WorkspaceObject> O findObjectByPath(ObjectType<? extends O> type, String path)
findObjectByPath in interface Modelpublic <O extends WorkspaceObject> O findObjectById(ObjectType<O> type, String id)
findObjectById in interface ModelCopyright © 2025 JBoss by Red Hat. All Rights Reserved.