Interface AmetysObject

All Known Subinterfaces:
ACLAmetysObject, Calendar, CalendarEvent, CalendarResource, CDMEntity, CommentableContent, CommentableResource, Content, CopiableAmetysObject, DataAndVersionAwareAmetysObject, DataAwareAmetysObject, DublinCoreAwareAmetysObject, ExplorerNode, JCRAmetysObject, JCRTraversableAmetysObject, LockableAmetysObject, LockAwareAmetysObject, MetadataAwareAmetysObject, MetadataAwarePagesContainer, ModelAwareDataAwareAmetysObject, ModelAwareJCRAmetysObject, ModelLessDataAwareAmetysObject, ModelLessJCRAmetysObject, ModifiableACLAmetysObject, ModifiableAmetysObject, ModifiableCalendar, ModifiableCalendarEvent, ModifiableContent, ModifiableDataAwareVersionableAmetysObject, ModifiableDublinCoreAwareAmetysObject, ModifiableExplorerNode, ModifiableMetadataAwareAmetysObject, ModifiableModelAwareDataAwareAmetysObject, ModifiableModelLessDataAwareAmetysObject, ModifiablePage, ModifiableResource, ModifiableResourceCollection, ModifiableSiteAwareAmetysObject, ModifiableThread, ModifiableTraversableAmetysObject, ModifiableWebContent, ModifiableWorkflowAwareContent, ModifiableZone, ModifiableZoneItem, MovableAmetysObject, MoveablePage, Page, PagesContainer, ProgramItem, ProgramPart, RemovableAmetysObject, Resource, ResourceCollection, SharedContent, SiteAwareAmetysObject, TagAwareAmetysObject, TaggableAmetysObject, Task, TasksList, Thread, TraversableAmetysObject, TraversableProgramPart, VersionableAmetysObject, VersionAwareAmetysObject, WebContent, WorkflowAwareAmetysObject, WorkflowAwareContent, Zone, ZoneItem
All Known Implementing Classes:
AbstractAmetysObject, AbstractLevelPage, AbstractOdfPage, AbstractProgram, AbstractProgramPart, AbstractSurveyElement, AbstractTraversableProgramPart, AmetysObjectCollection, Cart, CartContainer, Catalog, CategoryJCR, CMISResource, CMISResourcesCollection, CMISRootResourcesCollection, CMSJCRTag, Container, ContentBackupAmetysObject, Course, CourseList, CoursePage, CoursePart, CourseZone, CourseZoneItem, DefaultAlias, DefaultAmetysObject, DefaultContent, DefaultDefinition, DefaultLink, DefaultLockableAmetysObject, DefaultPage, DefaultSharedContent, DefaultTheme, DefaultTraversableAmetysObject, DefaultWebContent, DefaultWorkflowAwareContent, DefaultZone, DefaultZoneItem, FirstLevelPage, FirstLevelZone, FirstLevelZoneItem, JCRCalendar, JCRCalendarEvent, JCRCalendarResource, JCRCategory, JCRPost, JCRProjectMember, JCRResource, JCRResourcesCollection, JCRTag, JCRTask, JCRTasksList, JCRThread, KeywordJCR, ModifiableDefaultContent, ModifiableDefaultWebContent, OrgUnit, OrgUnitPage, OrgUnitZone, OrgUnitZoneItem, Person, Program, ProgramPage, ProgramZone, ProgramZoneItem, Project, ProjectTagJCR, Query, QueryContainer, RedirectPage, RootAmetysObject, SecondLevelPage, SecondLevelZone, SecondLevelZoneItem, SimpleAmetysObject, Site, Sitemap, SubProgram, Survey, SurveyPage, SurveyQuestion, ThemeJCR, Thesaurus, TransitionalPage, TransitionalZone, TransitionalZoneItem, UGCPage, UGCTransitionalPage, UGCTransitionalZone, UGCTransitionalZoneItem, UGCZone, UGCZoneItem, UserPage, UserZone, UserZoneItem, VersionAmetysObject, VersionComponentAmetysObject, VersionsAmetysObject

public interface AmetysObject
Common interface for all Ametys objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Two AmetysObjects are equals if and only if their ids are equals.
    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>
    Retrieves the name of the current object.
    <A extends AmetysObject>
    A
    Returns the parent object in the Ametys hierarchy.
    Returns the path of the parent object in the Ametys hierarchy.
    Retrieves the path of the current object.
    int
    The hashCode of an AmetysObject must be the hashCode of its id.