public class CoursePageFactory extends AbstractOdfPageFactory implements AmetysObjectFactory<CoursePage>
AmetysObjectFactory
handling ProgramPage
._ametysObjectFactoryEP, _manager, _odfPageHandler, _pageCache, _pageDataTypeExtensionPoint, _resolver, _serviceExtensionPoint
Constructor and Description |
---|
CoursePageFactory() |
Modifier and Type | Method and Description |
---|---|
CoursePage |
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 . |
getCoursePageFactory, getFirstLevelPageFactory, getODFPageCache, getODFPageHandler, getPageDataTypeEP, getProgramPageFactory, getResolver, getSecondLevelPageFactory, getServiceEP, getZoneDataTypeEP, getZoneItemDataTypeEP, service
getLogger, setLogger
public CoursePageFactory()
public CoursePage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactory
getAmetysObjectById
in interface AmetysObjectFactory<CoursePage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.public String getScheme()
AmetysObjectFactory
getScheme
in interface AmetysObjectFactory<CoursePage>
public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactory
AmetysObject
.
Id are like <protocol>://<protocol-specific-part>
.hasAmetysObjectForId
in interface AmetysObjectFactory<CoursePage>
id
- the identifier.AmetysObject
.AmetysRepositoryException
- if an error occurs.