org.csapi.jr.se.policy
Interface PolicyManager

All Superinterfaces:
CsapiInterface, java.io.Serializable, Service

public interface PolicyManager
extends Service

This interface represents a PolicyManager.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void abortTransaction()
          Invokes the abortTransaction() method on the Parlay Gateway.
 boolean commitTransaction()
          Invokes the commitTransaction() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyDomain createDomain(java.lang.String domainName)
          Invokes the createDomain() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyRepository createRepository(java.lang.String repositoryName)
          Invokes the createRepository() method on the Parlay Gateway.
 java.lang.String[] findMatchingDomains(org.csapi.jr.se.Attribute[] matchingAttributes)
          Invokes the findMatchingDomains() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyDomain getDomain(java.lang.String domainName)
          Invokes the getDomain() method on the Parlay Gateway.
 int getDomainCount()
          Invokes the getDomainCount() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyIterator getDomainIterator()
          Invokes the getDomainIterator() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyRepository getRepository(java.lang.String repositoryName)
          Invokes the getRepository() method on the Parlay Gateway.
 int getRepositoryCount()
          Invokes the getRepositoryCount() method on the Parlay Gateway.
 org.csapi.jr.se.policy.PolicyIterator getRepositoryIterator()
          Invokes the getRepositoryIterator() method on the Parlay Gateway.
 void removeDomain(java.lang.String domainName)
          Invokes the removeDomain() method on the Parlay Gateway.
 void removeRepository(java.lang.String repositoryName)
          Invokes the removeRepository() method on the Parlay Gateway.
 void startTransaction()
          Invokes the startTransaction() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback
 

Method Detail

createDomain

public org.csapi.jr.se.policy.PolicyDomain createDomain(java.lang.String domainName)
                                                 throws PlatformException,
                                                        CommonException,
                                                        AccessViolationException,
                                                        SyntaxErrorException,
                                                        NameSpaceErrorException,
                                                        NoTransactionInProcessException
Invokes the createDomain() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException
NoTransactionInProcessException

getDomain

public org.csapi.jr.se.policy.PolicyDomain getDomain(java.lang.String domainName)
                                              throws PlatformException,
                                                     CommonException,
                                                     AccessViolationException,
                                                     SyntaxErrorException,
                                                     NameSpaceErrorException
Invokes the getDomain() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException

removeDomain

public void removeDomain(java.lang.String domainName)
                  throws PlatformException,
                         CommonException,
                         AccessViolationException,
                         SyntaxErrorException,
                         NameSpaceErrorException,
                         NoTransactionInProcessException
Invokes the removeDomain() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException
NoTransactionInProcessException

getDomainCount

public int getDomainCount()
                   throws PlatformException,
                          CommonException,
                          AccessViolationException
Invokes the getDomainCount() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException

getDomainIterator

public org.csapi.jr.se.policy.PolicyIterator getDomainIterator()
                                                        throws PlatformException,
                                                               CommonException,
                                                               AccessViolationException
Invokes the getDomainIterator() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException

findMatchingDomains

public java.lang.String[] findMatchingDomains(org.csapi.jr.se.Attribute[] matchingAttributes)
                                       throws PlatformException,
                                              CommonException,
                                              AccessViolationException
Invokes the findMatchingDomains() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException

createRepository

public org.csapi.jr.se.policy.PolicyRepository createRepository(java.lang.String repositoryName)
                                                         throws PlatformException,
                                                                CommonException,
                                                                AccessViolationException,
                                                                SyntaxErrorException,
                                                                NameSpaceErrorException,
                                                                NoTransactionInProcessException
Invokes the createRepository() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException
NoTransactionInProcessException

getRepository

public org.csapi.jr.se.policy.PolicyRepository getRepository(java.lang.String repositoryName)
                                                      throws PlatformException,
                                                             CommonException,
                                                             AccessViolationException,
                                                             SyntaxErrorException,
                                                             NameSpaceErrorException
Invokes the getRepository() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException

removeRepository

public void removeRepository(java.lang.String repositoryName)
                      throws PlatformException,
                             CommonException,
                             AccessViolationException,
                             SyntaxErrorException,
                             NameSpaceErrorException,
                             NoTransactionInProcessException
Invokes the removeRepository() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException
NoTransactionInProcessException

getRepositoryCount

public int getRepositoryCount()
                       throws PlatformException,
                              CommonException,
                              AccessViolationException
Invokes the getRepositoryCount() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException

getRepositoryIterator

public org.csapi.jr.se.policy.PolicyIterator getRepositoryIterator()
                                                            throws PlatformException,
                                                                   CommonException,
                                                                   AccessViolationException
Invokes the getRepositoryIterator() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException

startTransaction

public void startTransaction()
                      throws PlatformException,
                             CommonException,
                             AccessViolationException,
                             TransactionInProcessException
Invokes the startTransaction() method on the Parlay Gateway.

PlatformException
CommonException
AccessViolationException
TransactionInProcessException

commitTransaction

public boolean commitTransaction()
                          throws PlatformException,
                                 CommonException,
                                 NoTransactionInProcessException
Invokes the commitTransaction() method on the Parlay Gateway.

PlatformException
CommonException
NoTransactionInProcessException

abortTransaction

public void abortTransaction()
                      throws PlatformException,
                             CommonException,
                             NoTransactionInProcessException
Invokes the abortTransaction() method on the Parlay Gateway.

PlatformException
CommonException
NoTransactionInProcessException