Class FirstLevelZoneItemFactory
java.lang.Object
org.ametys.plugins.odfweb.repository.FirstLevelZoneItemFactory
- All Implemented Interfaces:
AmetysObjectFactory<FirstLevelZoneItem>,Component,Serviceable
public class FirstLevelZoneItemFactory
extends Object
implements AmetysObjectFactory<FirstLevelZoneItem>, Serviceable
AmetysObjectFactory handling FirstLevelZoneItem.-
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
-
FirstLevelZoneItemFactory
public FirstLevelZoneItemFactory()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<FirstLevelZoneItem>- 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<FirstLevelZoneItem>- 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<FirstLevelZoneItem>- Parameters:
id- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-