org.olat.core.logging.activity
Enum OlatResourceableType

java.lang.Object
  extended by java.lang.Enum<OlatResourceableType>
      extended by org.olat.core.logging.activity.OlatResourceableType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OlatResourceableType>, ILoggingResourceableType

public enum OlatResourceableType
extends java.lang.Enum<OlatResourceableType>
implements ILoggingResourceableType

Specialization of ILoggingResourceableType which represents a OlatResourceable (or OlatResource/RepositoryEntry in some other cases)

See the LoggingResourceable class's corresponding wrap() method.

Initial Date: 20.10.2009

Author:
Stefan
See Also:
LoggingResourceable#wrap

Enum Constant Summary
bgContext
          this represents a BGContext
businessGroup
          this represents a BusinessGroup
calendar
          represents an calendar
course
          this represents an ICourse
cp
          represents a content package
feed
          represents a feed resource (blog or podcast)
feedItem
          represents a feed item (blog post or podcast episode)
forum
          this represents a Forum
forumMessage
          this represents a (Forum) Message
genRepoEntry
          represents a generic - non further specified - repositoryentry.
iq
          this represents a I(MS)Q(TI) TEST
node
          this represents a CourseNode
scormResource
          represents a SCORM Resource
sharedFolder
          represents a shared folder
wiki
          represents a Wiki
 
Method Summary
static OlatResourceableType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OlatResourceableType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.olat.core.logging.activity.ILoggingResourceableType
name
 

Enum Constant Detail

course

public static final OlatResourceableType course
this represents an ICourse


node

public static final OlatResourceableType node
this represents a CourseNode


businessGroup

public static final OlatResourceableType businessGroup
this represents a BusinessGroup


bgContext

public static final OlatResourceableType bgContext
this represents a BGContext


forum

public static final OlatResourceableType forum
this represents a Forum


forumMessage

public static final OlatResourceableType forumMessage
this represents a (Forum) Message


iq

public static final OlatResourceableType iq
this represents a I(MS)Q(TI) TEST


scormResource

public static final OlatResourceableType scormResource
represents a SCORM Resource


wiki

public static final OlatResourceableType wiki
represents a Wiki


cp

public static final OlatResourceableType cp
represents a content package


sharedFolder

public static final OlatResourceableType sharedFolder
represents a shared folder


feed

public static final OlatResourceableType feed
represents a feed resource (blog or podcast)


feedItem

public static final OlatResourceableType feedItem
represents a feed item (blog post or podcast episode)


genRepoEntry

public static final OlatResourceableType genRepoEntry
represents a generic - non further specified - repositoryentry. use this only if you dont know the type beforehand.


calendar

public static final OlatResourceableType calendar
represents an calendar

Method Detail

values

public static OlatResourceableType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OlatResourceableType c : OlatResourceableType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OlatResourceableType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null