Class OrgUnitZoneFactory
java.lang.Object
org.ametys.plugins.userdirectory.page.OrgUnitZoneFactory
- All Implemented Interfaces:
AmetysObjectFactory<OrgUnitZone>,Component,Serviceable
public class OrgUnitZoneFactory
extends Object
implements AmetysObjectFactory<OrgUnitZone>, Serviceable
AmetysObjectFactory handling OrgUnitZone.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the protocol of this factory, used to construct unique ids.booleanReturn true if the specified id correspond to an existingAmetysObject.voidservice(ServiceManager manager)
-
Constructor Details
-
OrgUnitZoneFactory
public OrgUnitZoneFactory()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<OrgUnitZone>- Parameters:
id- the identifier.- Returns:
- the corresponding
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-
getScheme
Description copied from interface:AmetysObjectFactoryReturns the protocol of this factory, used to construct unique ids.- Specified by:
getSchemein interfaceAmetysObjectFactory<OrgUnitZone>- Returns:
- the protocol of this factory.
-
hasAmetysObjectForId
Description copied from interface:AmetysObjectFactoryReturn true if the specified id correspond to an existingAmetysObject. Id are like<protocol>://<protocol-specific-part>.- Specified by:
hasAmetysObjectForIdin interfaceAmetysObjectFactory<OrgUnitZone>- Parameters:
id- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-