public class CourseZoneItemFactory extends Object implements AmetysObjectFactory<CourseZoneItem>, Serviceable
AmetysObjectFactory handling CourseZoneItem.| Modifier and Type | Field and Description |
|---|---|
(package private) PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
(package private) AmetysObjectResolver |
_resolver |
| Constructor and Description |
|---|
CourseZoneItemFactory() |
| Modifier and Type | Method and Description |
|---|---|
CourseZoneItem |
getAmetysObjectById(String id)
|
String |
getScheme()
Returns the protocol of this factory, used to construct unique ids.
|
boolean |
hasAmetysObjectForId(String id)
Return true if the specified id correspond to an existing
AmetysObject. |
void |
service(ServiceManager manager) |
AmetysObjectResolver _resolver
PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
public CourseZoneItemFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic CourseZoneItem getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactorygetAmetysObjectById in interface AmetysObjectFactory<CourseZoneItem>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public String getScheme()
AmetysObjectFactorygetScheme in interface AmetysObjectFactory<CourseZoneItem>public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactoryAmetysObject.
Id are like <protocol>://<protocol-specific-part>.hasAmetysObjectForId in interface AmetysObjectFactory<CourseZoneItem>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.