uk.ac.soton.itinnovation.grid.service.account
Class AccountServiceImpl

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
      extended by uk.ac.soton.itinnovation.grid.service.account.AccountServiceImpl
All Implemented Interfaces:
WebAdmin, PolicyManagement, ResourceMetadata
Direct Known Subclasses:
TradeAccountServiceImpl

public abstract class AccountServiceImpl
extends GridServiceLite
implements WebAdmin


Field Summary
protected  org.apache.log4j.Logger log
           
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
factory, groupUtils, management, NO_ACCOUNT_NEEDED, pbacUtils, pdp, proxyFactory, thisServiceAddress, wsdlCache
 
Constructor Summary
AccountServiceImpl(String name)
           
 
Method Summary
 void addBudgetHolderRule(MatchRule rule)
          Deprecated. 
 void addUserRule(MatchRule delegate)
          Deprecated. 
 boolean checkUser(SubjectDescription user)
           
 void closeAccount()
           
 Account getAccount(org.hibernate.Session session, String resourceID)
           
 Account getAccount(String resourceID)
           
abstract  Account[] getAccountsByStatus(String status)
           
 String getAccountStatus()
           
 MatchRule[] getBudgetHolderRules()
          Deprecated. 
protected  Class<? extends GridResource> getResourceType(String resourceID)
          Return the class of this resource's bean.
 MatchRule[] getUserRules()
          Deprecated. 
 void removeBudgetHolderRule(MatchRule rule)
          Deprecated. 
 void removeUserRule(MatchRule delegate)
          Deprecated. 
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
addHibernatedObject, addPolicyRule, addTrustedAccountService, deleteHibernatedObject, generateEPR, getAvailableSignals, getConversationFromContext, getCurrentUser, getEPR, getEPR, getManagingConversation, getPolicyRules, getPrivateKey, getResourceFromEPR, GetResourceProperty, getResources, getResources, getResourcesFromEPRs, getSelectedRegistries, getServiceDatabaseKey, getServiceFromEPR, getServiceMatchPattern, getServiceProviderCertificate, getServiceProviderID, getServiceProviderIssuer, getTrustedAccountServices, getValidRoles, loadLocalRegistry, removePolicyRule, removeTrustedAccountService, RequestSecurityToken_Issuance, RequestSecurityToken_Validation, RequestSecurityToken, setLabel, setLabel, signal, toMatchRules, validateOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.webadmin.WebAdmin
ensurePoliciesDeployed, getAtomFeed
 

Field Detail

log

protected org.apache.log4j.Logger log
Constructor Detail

AccountServiceImpl

public AccountServiceImpl(String name)
Method Detail

getAccountStatus

public String getAccountStatus()
                        throws RemoteException
Throws:
RemoteException

addBudgetHolderRule

@Deprecated
public void addBudgetHolderRule(MatchRule rule)
                         throws RemoteException
Deprecated. 

Throws:
RemoteException

removeBudgetHolderRule

@Deprecated
public void removeBudgetHolderRule(MatchRule rule)
                            throws RemoteException
Deprecated. 

Throws:
RemoteException

getBudgetHolderRules

@Deprecated
public MatchRule[] getBudgetHolderRules()
                                 throws RemoteException
Deprecated. 

Throws:
RemoteException

addUserRule

@Deprecated
public void addUserRule(MatchRule delegate)
                 throws RemoteException
Deprecated. 

Throws:
RemoteException

removeUserRule

@Deprecated
public void removeUserRule(MatchRule delegate)
                    throws RemoteException
Deprecated. 

Throws:
RemoteException

getUserRules

@Deprecated
public MatchRule[] getUserRules()
                         throws RemoteException
Deprecated. 

Throws:
RemoteException

closeAccount

public void closeAccount()
                  throws RemoteException
Throws:
RemoteException

getResourceType

protected Class<? extends GridResource> getResourceType(String resourceID)
Description copied from class: GridServiceLite
Return the class of this resource's bean. Override this in subclasses if your service is contextualised. Often, resourceID can be ignored as each service only manages one type of bean anyway.

Overrides:
getResourceType in class GridServiceLite

getAccount

public Account getAccount(String resourceID)

getAccount

public Account getAccount(org.hibernate.Session session,
                          String resourceID)

checkUser

public boolean checkUser(SubjectDescription user)
                  throws RemoteException
Throws:
RemoteException

getAccountsByStatus

public abstract Account[] getAccountsByStatus(String status)


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.