com.ideo.sweetdev.business.controller.jurisdiction
Class JurisdictionBusinessControllerProxy

java.lang.Object
  extended bycom.ideo.sweetdev.core.facade.AbstractProxy
      extended bycom.ideo.sweetdev.business.controller.jurisdiction.JurisdictionBusinessControllerProxy
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, IBusinessController, IController, IJurisdictionBusinessController

public class JurisdictionBusinessControllerProxy
extends AbstractProxy
implements IJurisdictionBusinessController, org.apache.avalon.framework.configuration.Configurable

Generated Proxy

 

Field Summary
 
Fields inherited from class com.ideo.sweetdev.core.facade.AbstractProxy
ERROR_UNSPECIFIED_FILE_LOCATION, ERROR_UNSPECIFIED_RESSOURCE_NAME, m_broker
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
           
static JurisdictionBusinessControllerProxy getInstance()
           
 java.util.Map getJurisdictions(IUser _user)
           
 java.util.Map getJurisdictions(java.lang.String _roleName)
           
 java.util.Map getRolesForUser(IUser _user)
           
 java.util.Map getUnauthorizedComponents(IUser _user)
           
 java.util.Map getUnauthorizedComponents(java.lang.String _roleName)
           
 boolean hasJurisdiction(IUser _user, java.lang.String _juriId)
          Allows to know if a jurisdiction exists.
 
Methods inherited from class com.ideo.sweetdev.core.facade.AbstractProxy
callEvent, callEvent, getEventName, getFileLocation, setEventName, setFileLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JurisdictionBusinessControllerProxy getInstance()
Returns:
JurisdictionBusinessControllerProxy

getJurisdictions

public java.util.Map getJurisdictions(IUser _user)
                               throws TechnicalException
Specified by:
getJurisdictions in interface IJurisdictionBusinessController
Throws:
TechnicalException - exception
Parameters:
_user - IUser
Returns:
Map

getRolesForUser

public java.util.Map getRolesForUser(IUser _user)
                              throws TechnicalException
Specified by:
getRolesForUser in interface IJurisdictionBusinessController
Throws:
TechnicalException - exception
Parameters:
_user - IUser
Returns:
Map

hasJurisdiction

public boolean hasJurisdiction(IUser _user,
                               java.lang.String _juriId)
                        throws TechnicalException
Allows to know if a jurisdiction exists.

Specified by:
hasJurisdiction in interface IJurisdictionBusinessController
Throws:
TechnicalException
Parameters:
_user - IUser
_juriId - the jurisdiction's code
Returns:
boolean

getJurisdictions

public java.util.Map getJurisdictions(java.lang.String _roleName)
                               throws TechnicalException
Specified by:
getJurisdictions in interface IJurisdictionBusinessController
Throws:
TechnicalException - exception
Parameters:
_roleName - String
Returns:
Map

getUnauthorizedComponents

public java.util.Map getUnauthorizedComponents(IUser _user)
                                        throws TechnicalException
Specified by:
getUnauthorizedComponents in interface IJurisdictionBusinessController
Throws:
TechnicalException - exception
Parameters:
_user - IUser
Returns:
Map

getUnauthorizedComponents

public java.util.Map getUnauthorizedComponents(java.lang.String _roleName)
                                        throws TechnicalException
Specified by:
getUnauthorizedComponents in interface IJurisdictionBusinessController
Throws:
TechnicalException - exception
Parameters:
_roleName - String
Returns:
Map

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)