This plugin enables to see all the demands of a customer in the same view and to manage them.
The plugin can use customers with encrypted ids. This mechanism permits to have a specific id for each service provider. Thus, the id is not shared.
To use encryption, the site has to contain a class implementing the interface fr.paris.lutece.plugins.grubusiness.service.encryption.ICustomerEncryptionService from the library gru-library-grubusiness. For example, add the plugin gru-plugin-grukeydiversification in the pom.xml of the site. The encryption is then enabled.
To prevent the logged in user to access some customers, implements the interface fr.paris.lutece.plugins.gru.service.customer.ICustomerAuthorizationFilter and declare the implementation as a bean in the Spring context.
The Customer DAO
By default, the plugin uses a mock to search the customers. The search always returns a message saying that no customer is found. To use a correct search mechanism, the bean gru.customerService defined in the Spring context must use a concrete implementation of fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAO from the library gru-library-grubusiness.
The known implementations are the following:
The Demand DAO
By default, the plugin uses a mock to retrieve the demands. The customers have no demand. To use a correct retrieval mechanism, the bean gru.demandService defined in the Spring context must use a concrete implementation of fr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO from the library gru-library-grubusiness.
The known implementations are the following:
The Notification DAO
By default, the plugin uses a mock to retrieve the notifications. The customers have no notification. To use a correct retrieval mechanism, the bean gru.demandService defined in the Spring context must use a concrete implementation of fr.paris.lutece.plugins.grubusiness.business.notification.INotificationDAO from the library gru-library-grubusiness.
The known implementations are the following:
Display properties
Demands creation date display mode ( "in progress" customer demands tab ):
Modify the value of gru.demands.creationDateDisplay property in the /WEB-INF/conf/plugins/gru.properties file in order to change the date display mode. Set to true to display creation date, false to display a counter. Default is false.