Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.publishing.api
Class AbstractNuxeoCoreValidatorsRule

java.lang.Object
  extended by org.nuxeo.ecm.platform.publishing.api.AbstractNuxeoCoreValidatorsRule
All Implemented Interfaces:
Serializable, ValidatorsRule
Direct Known Subclasses:
DefaultValidatorsRule

public abstract class AbstractNuxeoCoreValidatorsRule
extends Object
implements ValidatorsRule

Abstract Nuxeo Core Validators Rules.

Offers Nuxeo Core base API for validators that need to connect on Nuxeo Core to compute validators.

Author:
Julien Anguenot
See Also:
Serialized Form

Field Summary
protected  LoginContext loginCtx
           
protected  CoreSession session
           
 
Constructor Summary
AbstractNuxeoCoreValidatorsRule()
           
 
Method Summary
protected  void closeCoreSession()
           
protected  void initializeCoreSession(String repoName)
           
protected  void login()
           
protected  void logout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.publishing.api.ValidatorsRule
computesValidatorsFor
 

Field Detail

session

protected CoreSession session

loginCtx

protected LoginContext loginCtx
Constructor Detail

AbstractNuxeoCoreValidatorsRule

public AbstractNuxeoCoreValidatorsRule()
Method Detail

login

protected void login()
              throws Exception
Throws:
Exception

logout

protected void logout()
               throws Exception
Throws:
Exception

initializeCoreSession

protected void initializeCoreSession(String repoName)
                              throws Exception
Throws:
Exception

closeCoreSession

protected void closeCoreSession()
                         throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.