Package org.apache.syncope.core.logic
Class DomainLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.DomainLogic
-
public class DomainLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected DomainDAOdomainDAOprotected DomainWatcherdomainWatcherprotected SelfKeymasterEntityFactoryentityFactory-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description DomainLogic(DomainDAO domainDAO, SelfKeymasterEntityFactory entityFactory, DomainWatcher domainWatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadjustPoolSize(String key, int poolMaxActive, int poolMinIdle)voidchangeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm)Domaincreate(Domain domain)voiddelete(String key)List<Domain>list()Domainread(String key)protected EntityTOresolveReference(Method method, Object... args)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
domainDAO
protected final DomainDAO domainDAO
-
entityFactory
protected final SelfKeymasterEntityFactory entityFactory
-
domainWatcher
protected final DomainWatcher domainWatcher
-
-
Constructor Detail
-
DomainLogic
public DomainLogic(DomainDAO domainDAO, SelfKeymasterEntityFactory entityFactory, DomainWatcher domainWatcher)
-
-
Method Detail
-
list
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public List<Domain> list()
-
read
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public Domain read(String key)
-
create
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public Domain create(Domain domain)
-
changeAdminPassword
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void changeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm)
-
adjustPoolSize
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void adjustPoolSize(String key, int poolMaxActive, int poolMinIdle)
-
delete
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void delete(String key)
-
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReferencein classAbstractLogic<EntityTO>- Throws:
UnresolvedReferenceException
-
-