public final class ClientApplicationHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addCertifier(ClientApplication clientApp,
AbstractCertifier certifier)
Add a certifier to a ClientApplication
|
static void |
cleanCertifiers(ClientApplication clientApp)
Delete all certifier to a ClientApplication
|
static ClientApplication |
create(ClientApplication clientApplication)
Create an instance of the identityAttribute class
|
static void |
deleteCertifier(ClientApplication clientApp,
AbstractCertifier certifier)
Delete a certifier to a ClientApplication
|
static ClientApplication |
findByCode(String strApplicationCode)
Returns an instance of a clientApplication whose code is specified in parameter
|
static ClientApplication |
findByPrimaryKey(int nIdclientApplication)
Returns an instance of a clientApplication whose identifier is specified in parameter
|
static List<AbstractCertifier> |
getCertifiers(ClientApplication clientApp)
Retrieve certifiers allowed for a given ClientApplication
|
static List<ClientApplication> |
getClientApplications(AbstractCertifier certifier)
Retrieve ClientApplications allowed for a given certifier
|
static ClientApplication |
getParentApplication(ServiceContract serviceContract)
Returns list of clientApplication
|
static void |
remove(ClientApplication clientApplication)
Remove the clientApplication whose identifier is specified in parameter
|
static void |
removeContracts(ClientApplication clientApplication)
Remove the clientApplication whose identifier is specified in parameter
|
static List<ServiceContract> |
selectActiveServiceContract(String clientApplicationCode) |
static List<ClientApplication> |
selectApplicationList()
Returns list of clientApplication
|
static List<ServiceContract> |
selectServiceContracts(ClientApplication clientApplication) |
static ClientApplication |
update(ClientApplication clientApplication)
Update of the clientApplication which is specified in parameter
|
public static ClientApplication create(ClientApplication clientApplication)
clientApplication - The instance of the clientApplication which contains the informations to storepublic static ClientApplication update(ClientApplication clientApplication)
clientApplication - The instance of the clientApplication which contains the data to storepublic static void remove(ClientApplication clientApplication)
clientApplication - The client applicationpublic static void removeContracts(ClientApplication clientApplication)
clientApplication - The client applicationpublic static List<ServiceContract> selectServiceContracts(ClientApplication clientApplication)
public static List<ServiceContract> selectActiveServiceContract(String clientApplicationCode)
public static ClientApplication findByPrimaryKey(int nIdclientApplication)
nIdclientApplication - The clientApplication IDpublic static ClientApplication findByCode(String strApplicationCode)
strApplicationCode - code of the clientApplicationpublic static List<ClientApplication> selectApplicationList()
public static ClientApplication getParentApplication(ServiceContract serviceContract)
public static List<AbstractCertifier> getCertifiers(ClientApplication clientApp)
clientApp - client applicationpublic static List<ClientApplication> getClientApplications(AbstractCertifier certifier)
certifier - The certifierpublic static void addCertifier(ClientApplication clientApp, AbstractCertifier certifier)
clientApp - client applicationcertifier - The certifierpublic static void deleteCertifier(ClientApplication clientApp, AbstractCertifier certifier)
clientApp - client applicationcertifier - The certifierpublic static void cleanCertifiers(ClientApplication clientApp)
clientApp - client applicationCopyright © 2023 City of Paris. All rights reserved.