|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.commons.persistence.PersistentObject
org.olat.repository.RepositoryEntry
public class RepositoryEntry
Represents a repository entry.
| Field Summary | |
|---|---|
static int |
ACC_OWNERS
limit access to owners |
static int |
ACC_OWNERS_AUTHORS
limit access to owners and authors |
static int |
ACC_USERS
limit access to owners, authors and users |
static int |
ACC_USERS_GUESTS
no limits |
| Method Summary | |
|---|---|
int |
getAccess()
|
boolean |
getCanCopy()
|
boolean |
getCanDownload()
|
boolean |
getCanLaunch()
|
boolean |
getCanReference()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayname()
|
long |
getDownloadCounter()
|
java.lang.String |
getFormattedDescription()
|
java.lang.String |
getInitialAuthor()
|
java.util.Date |
getLastModified()
|
java.util.Date |
getLastUsage()
|
long |
getLaunchCounter()
|
java.util.List<MetaDataElement> |
getMetaDataElements()
|
OLATResource |
getOlatResource()
|
SecurityGroup |
getOwnerGroup()
|
java.lang.Long |
getResourceableId()
|
java.lang.String |
getResourceableTypeName()
|
java.lang.String |
getResourcename()
|
java.lang.String |
getSoftkey()
|
int |
getStatusCode()
|
int |
getVersion()
|
void |
incrementDownloadCounter()
Increment download counter. |
void |
incrementLaunchCounter()
Increment launch counter. |
void |
setAccess(int i)
Set access restrictions. |
void |
setCanCopy(boolean b)
|
void |
setCanDownload(boolean b)
|
void |
setCanLaunch(boolean b)
|
void |
setCanReference(boolean b)
|
void |
setDescription(java.lang.String description)
|
void |
setDisplayname(java.lang.String displayname)
|
void |
setDownloadCounter(long l)
|
void |
setInitialAuthor(java.lang.String initialAuthor)
|
void |
setLastModified(java.util.Date date)
|
void |
setLastUsage(java.util.Date lastUsage)
|
void |
setLaunchCounter(long l)
|
void |
setMetaDataElements(java.util.List<MetaDataElement> metaDataElements)
|
void |
setOlatResource(OLATResource olatResource)
|
void |
setOwnerGroup(SecurityGroup ownerGroup)
Set the group of owners of this repo entry. |
void |
setResourcename(java.lang.String name)
|
void |
setSoftkey(java.lang.String softkey)
Set the softkey of this repository entry. |
void |
setStatusCode(int statusCode)
|
void |
setVersion(int v)
|
java.lang.String |
toString()
|
| Methods inherited from class org.olat.core.commons.persistence.PersistentObject |
|---|
equalsByPersistableKey, getCreationDate, getKey |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ACC_OWNERS
public static final int ACC_OWNERS_AUTHORS
public static final int ACC_USERS
public static final int ACC_USERS_GUESTS
| Method Detail |
|---|
public java.lang.String toString()
toString in class PersistentObjectObject.toString()public java.lang.String getSoftkey()
public void setSoftkey(java.lang.String softkey)
softkey - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description to set.public java.lang.String getFormattedDescription()
public java.lang.String getInitialAuthor()
public void setInitialAuthor(java.lang.String initialAuthor)
initialAuthor - The initialAuthor to set.public java.util.List<MetaDataElement> getMetaDataElements()
public void setMetaDataElements(java.util.List<MetaDataElement> metaDataElements)
metaDataElements - The metaDataElements to set.public int getStatusCode()
public void setStatusCode(int statusCode)
statusCode - The statusCode to set.public java.lang.String getResourcename()
public void setResourcename(java.lang.String name)
name - The name to set.public OLATResource getOlatResource()
public void setOlatResource(OLATResource olatResource)
olatResource - The olatResource to set.public SecurityGroup getOwnerGroup()
public void setOwnerGroup(SecurityGroup ownerGroup)
ownerGroup - public boolean getCanCopy()
public boolean getCanReference()
public boolean getCanDownload()
public boolean getCanLaunch()
public int getAccess()
public void setCanCopy(boolean b)
b - public void setCanReference(boolean b)
b - public void setCanDownload(boolean b)
b - public void setCanLaunch(boolean b)
b - public void setAccess(int i)
i - public long getDownloadCounter()
public long getLaunchCounter()
public void setDownloadCounter(long l)
l - public void setLaunchCounter(long l)
l - public void incrementLaunchCounter()
public void incrementDownloadCounter()
public java.lang.String getDisplayname()
public void setDisplayname(java.lang.String displayname)
displayname - The displayname to set.public java.lang.String getResourceableTypeName()
getResourceableTypeName in interface OLATResourceableorg.olat.core.id.OLATResourceablegetResourceableTypeName()public java.lang.Long getResourceableId()
getResourceableId in interface OLATResourceableorg.olat.core.id.OLATResourceablegetResourceableId()public java.util.Date getLastUsage()
public void setLastUsage(java.util.Date lastUsage)
lastUsage - The lastUsage to set.public int getVersion()
public void setVersion(int v)
public java.util.Date getLastModified()
getLastModified in interface ModifiedInfoModifiedInfo.getLastModified()public void setLastModified(java.util.Date date)
setLastModified in interface ModifiedInfoModifiedInfo.setLastModified(java.util.Date)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||