org.olat.fileresource.types
Class FileResource
java.lang.Object
org.olat.fileresource.types.FileResource
- All Implemented Interfaces:
- OLATResourceable
- Direct Known Subclasses:
- AnimationFileResource, DocFileResource, FeedFileResource, GlossaryResource, ImageFileResource, ImsCPFileResource, MovieFileResource, PdfFileResource, PowerpointFileResource, ScormCPFileResource, SharedFolderFileResource, SoundFileResource, SurveyFileResource, TestFileResource, WikiResource, XlsFileResource
public class FileResource
- extends java.lang.Object
- implements OLATResourceable
Initial Date: Apr 8, 2004
- Author:
- Mike Stock
|
Field Summary |
static java.lang.String |
GENERIC_TYPE_NAME
Generic file resource type identifier. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENERIC_TYPE_NAME
public static final java.lang.String GENERIC_TYPE_NAME
- Generic file resource type identifier.
- See Also:
- Constant Field Values
FileResource
public FileResource()
overrideResourceableId
public void overrideResourceableId(java.lang.Long newId)
- Only used internally when switching subtypes.
- Parameters:
newId -
getResourceableTypeName
public java.lang.String getResourceableTypeName()
- Specified by:
getResourceableTypeName in interface OLATResourceable
- Returns:
- a type name. It must be unique within OLAT.
Consider this.getClass().getName() as such a type name.
- See Also:
org.olat.core.id.OLATResourceablegetResourceableTypeName()
getResourceableId
public java.lang.Long getResourceableId()
- Specified by:
getResourceableId in interface OLATResourceable
- 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
- See Also:
org.olat.core.id.OLATResourceablegetResourceableId()