站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

ModelAdapterImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.security.store
Class ModelAdapterImpl

java.lang.Object
  extended byorg.jboss.portal.test.security.store.ModelAdapterImpl
All Implemented Interfaces:
ObjectModelAdapter

public class ModelAdapterImpl
extends java.lang.Object
implements ObjectModelAdapter


Constructor Summary
ModelAdapterImpl()
           
 
Method Summary
 void attachChild(java.lang.Object parent, java.lang.Object child)
          Attach a child to the parent.
 java.lang.Object createObject(Fqn fqn, java.lang.String key, java.lang.String type, java.util.Map state)
          Create an object of the model.
 void destroyObject(java.lang.Object object)
          Destroy an object of the model.
 void detachChild(java.lang.Object child)
          Detach a child from its parent.
 void updateObject(java.lang.Object object, java.lang.String name, java.lang.Object value)
          Update part of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelAdapterImpl

public ModelAdapterImpl()
Method Detail

createObject

public java.lang.Object createObject(Fqn fqn,
                                     java.lang.String key,
                                     java.lang.String type,
                                     java.util.Map state)
Description copied from interface: ObjectModelAdapter
Create an object of the model.

Specified by:
createObject in interface ObjectModelAdapter
Parameters:
fqn - the identity for the cache
key - the identity valid for the parent
type - the object type
state - the initial state
Returns:
an instance of the object

destroyObject

public void destroyObject(java.lang.Object object)
Description copied from interface: ObjectModelAdapter
Destroy an object of the model.

Specified by:
destroyObject in interface ObjectModelAdapter

attachChild

public void attachChild(java.lang.Object parent,
                        java.lang.Object child)
Description copied from interface: ObjectModelAdapter
Attach a child to the parent.

Specified by:
attachChild in interface ObjectModelAdapter

detachChild

public void detachChild(java.lang.Object child)
Description copied from interface: ObjectModelAdapter
Detach a child from its parent.

Specified by:
detachChild in interface ObjectModelAdapter

updateObject

public void updateObject(java.lang.Object object,
                         java.lang.String name,
                         java.lang.Object value)
Description copied from interface: ObjectModelAdapter
Update part of the object.

Specified by:
updateObject in interface ObjectModelAdapter