org.olat.core.id
Interface OLATResourceable

All Known Subinterfaces:
BGContext, BusinessGroup, CatalogEntry, Forum, ICourse, OLATResource, ProjectBroker, SecurityGroup
All Known Implementing Classes:
AnimationFileResource, BGContextImpl, BlogFileResource, BusinessGroupImpl, CatalogEntryImpl, DocFileResource, Feed, FeedFileResource, FileResource, ForumImpl, GlossaryResource, HomePageConfig, ImageFileResource, ImsCPFileResource, LifeCycleManagerTest, MovieFileResource, NoteTest, OLATResourceImpl, OLATResourceManagerTest, PdfFileResource, PersistingCourseImpl, PodcastFileResource, PowerpointFileResource, ProjectBrokerImpl, PropertyTest, RepositoryEntry, ScormCPFileResource, SecurityGroupImpl, SharedFolderFileResource, SoundFileResource, SurveyFileResource, TestFileResource, UserJumpInReceptionist.IdentityResourceable, WikiResource, XlsFileResource

public interface OLATResourceable

A OLATResourceImpl is a generic identifier for objects in OLAT. Its unique identifier is build from a type name and an identifyer.

Author:
Andreas Ch. Kapp

Method Summary
 java.lang.Long getResourceableId()
           
 java.lang.String getResourceableTypeName()
           
 

Method Detail

getResourceableTypeName

java.lang.String getResourceableTypeName()
Returns:
a type name. It must be unique within OLAT. Consider this.getClass().getName() as such a type name.

getResourceableId

java.lang.Long getResourceableId()
Returns:
a number identfiying the instance of this type. if null, then the OLATResourcable is just a type. The value 0 (zero) is not allowed