org.norther.tammi.root.rt.meta
Class MetaElementPersister

java.lang.Object
  extended by org.norther.tammi.root.rt.meta.MetaElementPersister
All Implemented Interfaces:
Serializable, EventListener, PersistenceListener, PrePersistenceListener
Direct Known Subclasses:
MetaDataPersister

public class MetaElementPersister
extends Object
implements PrePersistenceListener, Serializable

Checks permissions and prepares persistent meta elements.

Version:
$Id: MetaVariablePersister.java,v 1.7 2009/09/28 15:08:34 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Constructor Summary
MetaElementPersister()
          Constructs a new persister.
 
Method Summary
protected  Permission getPermission(PersistedObjectEvent event)
          Gets the permission to persister.
 void persisted(PersistedObjectEvent event)
          Notifies the object that it will be persisted to the repositoryor deleted from it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaElementPersister

public MetaElementPersister()
Constructs a new persister.

Method Detail

persisted

public void persisted(PersistedObjectEvent event)
               throws PersistenceException
Description copied from interface: PrePersistenceListener
Notifies the object that it will be persisted to the repositoryor deleted from it.

Specified by:
persisted in interface PrePersistenceListener
Parameters:
event - the persisted object event.
Throws:
PersistenceException - on errors.

getPermission

protected Permission getPermission(PersistedObjectEvent event)
Gets the permission to persister.

Parameters:
event - the event.
Returns:
the permission.


Copyright © 2004 The Norther Organization. All rights reserved.