|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.test.OpenCmsTestResourceStorageEntry
public class OpenCmsTestResourceStorageEntry
A single entry of the OpenCmsTestResourceStorage.
Field Summary | |
---|---|
protected int |
m_length
The size of the content. |
Constructor Summary | |
---|---|
OpenCmsTestResourceStorageEntry()
Creates a new empty OpenCmsTestResourceStorageEntry. |
|
OpenCmsTestResourceStorageEntry(CmsObject cms,
String resourceName,
CmsResource res)
Creates a new OpenCmsTestResourceStorageEntry. |
Method Summary | |
---|---|
List<CmsAccessControlEntry> |
getAccessControlEntries()
Returns the access control entries of the resource. |
CmsAccessControlList |
getAccessControlList()
Returns the access control list of the resource. |
byte[] |
getContents()
Returns the date of the creation of this resource. |
long |
getDateContent()
Returns the date of the content of this resource. |
long |
getDateCreated()
Returns the date of the creation of this resource. |
long |
getDateExpired()
Returns the expiration date this resource. |
long |
getDateLastModified()
Returns the date of the last modification of this resource. |
long |
getDateReleased()
Returns the release date this resource. |
int |
getFlags()
Returns the flags of this resource. |
int |
getLength()
Gets the length of the content (i.e. |
int |
getLoaderId()
Gets the loader id of this resource. |
CmsLock |
getLock()
Gets the lockstate of this resource. |
String |
getName()
Returns the name of this resource, e.g. |
String |
getPath()
Returns the name of this resource including the full path in the current site, but without the current site root. |
CmsUUID |
getProjectLastModified()
Returns the id of the project where the resource has been last modified. |
List<CmsProperty> |
getProperties()
Returns the properties of the resource. |
CmsUUID |
getResourceId()
Returns the id of the resource database entry of this resource. |
int |
getSiblingCount()
Gets the number of references to the resource. |
CmsResourceState |
getState()
Returns the state of this resource. |
CmsUUID |
getStructureId()
Returns the id of the structure record of this resource. |
int |
getType()
Returns the type id for this resource. |
CmsUUID |
getUserCreated()
Returns the user id of the user who created this resource. |
CmsUUID |
getUserLastModified()
Returns the user id of the user who made the last change on this resource. |
boolean |
isTouched()
Returns true if this resource was touched. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int m_length
Constructor Detail |
---|
public OpenCmsTestResourceStorageEntry()
public OpenCmsTestResourceStorageEntry(CmsObject cms, String resourceName, CmsResource res) throws CmsException
cms
- current CmsObjectresourceName
- the complete name of the resourceres
- the CmsResource to store.
CmsException
- if something goes wrongMethod Detail |
---|
public List<CmsAccessControlEntry> getAccessControlEntries()
public CmsAccessControlList getAccessControlList()
public byte[] getContents()
public long getDateContent()
public long getDateCreated()
public long getDateExpired()
public long getDateLastModified()
public long getDateReleased()
public int getFlags()
public int getLength()
public int getLoaderId()
public CmsLock getLock()
public String getName()
index.html
.
public String getPath()
public CmsUUID getProjectLastModified()
public List<CmsProperty> getProperties()
public CmsUUID getResourceId()
public int getSiblingCount()
public CmsResourceState getState()
This may be STATE_UNCHANGED, STATE_CHANGED, STATE_NEW or STATE_DELETED.
public CmsUUID getStructureId()
public int getType()
public CmsUUID getUserCreated()
public CmsUUID getUserLastModified()
public boolean isTouched()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |