public class RepositoryEntry extends PersistentObject implements ModifiedInfo, OLATResourceable
限定符和类型 | 字段和说明 |
---|---|
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
|
static int |
MAX_DISPLAYNAME_LENGTH |
static int |
MAX_RESOURCENAME_LENGTH |
限定符和类型 | 方法和说明 |
---|---|
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() |
equalsByPersistableKey, getCreationDate, getKey
public static final int MAX_DISPLAYNAME_LENGTH
public static final int MAX_RESOURCENAME_LENGTH
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
public java.lang.String toString()
toString
在类中 PersistentObject
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
在接口中 OLATResourceable
public java.lang.Long getResourceableId()
getResourceableId
在接口中 OLATResourceable
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
在接口中 ModifiedInfo
public void setLastModified(java.util.Date date)
setLastModified
在接口中 ModifiedInfo