public class CourseZoneItem extends Object implements ZoneItem
ZoneItem.ZoneType| Modifier and Type | Field and Description |
|---|---|
private CoursePage |
_page |
| Constructor and Description |
|---|
CourseZoneItem(CoursePage page)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Course |
getContent()
Retrieves the content reference.
|
String |
getId()
Retrieves the unique identifier of this AmetysObject.
It must be unique in the whole repository and must never be null. It must conform to the URI syntax: <protocol>://<protocol-specific-part> |
CompositeMetadata |
getMetadataHolder()
Returns the root
CompositeMetadata of this AmetysObject. |
String |
getMetadataSetName()
Get the name of the metadata set to render the Content with.
|
String |
getName()
Retrieves the name of the current object.
|
CourseZone |
getParent()
Returns the parent object in the Ametys hierarchy.
|
String |
getParentPath()
Returns the path of the parent object in the Ametys hierarchy.
|
String |
getPath()
Retrieves the path of the current object.
|
String |
getServiceId()
Retrieves the service id.
|
CompositeMetadata |
getServiceParameters()
Get the service parameters
|
ZoneItem.ZoneType |
getType()
Retrieves the type.
|
Zone |
getZone()
Get the parent zone.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeprivate CoursePage _page
public CourseZoneItem(CoursePage page)
page - the parent CoursePage.public Course getContent() throws AmetysRepositoryException
ZoneItemgetContent in interface ZoneItemAmetysRepositoryException - if an error occurs.public String getMetadataSetName() throws AmetysRepositoryException
ZoneItemgetMetadataSetName in interface ZoneItemAmetysRepositoryException - if an error occurs.public String getServiceId() throws AmetysRepositoryException
ZoneItemgetServiceId in interface ZoneItemAmetysRepositoryException - if an error occurs.public CompositeMetadata getServiceParameters() throws AmetysRepositoryException
ZoneItemgetServiceParameters in interface ZoneItemAmetysRepositoryException - if an error occurs.public ZoneItem.ZoneType getType() throws AmetysRepositoryException
ZoneItemgetType in interface ZoneItemAmetysRepositoryException - if an error occurs.ZoneItem.ZoneTypepublic CompositeMetadata getMetadataHolder()
MetadataAwareAmetysObjectCompositeMetadata of this AmetysObject.getMetadataHolder in interface MetadataAwareAmetysObjectCompositeMetadata of this AmetysObjectpublic String getId() throws AmetysRepositoryException
AmetysObject<protocol>://<protocol-specific-part>getId in interface AmetysObjectAmetysRepositoryException - if an error occurs.public String getName() throws AmetysRepositoryException
AmetysObjectgetName in interface AmetysObjectAmetysRepositoryException - if an error occurs.public CourseZone getParent() throws AmetysRepositoryException
AmetysObjectgetParent in interface AmetysObjectnull if current object
is the root.AmetysRepositoryException - if an error occurs.public String getParentPath() throws AmetysRepositoryException
AmetysObjectgetParentPath in interface AmetysObjectAmetysRepositoryException - if an error occurs.public String getPath() throws AmetysRepositoryException
AmetysObjectgetPath in interface AmetysObjectAmetysRepositoryException - if an error occurs.