public class CmsJspResourceWrapper extends CmsResource
CmsResource.CmsResourceCopyMode, CmsResource.CmsResourceDeleteMode, CmsResource.CmsResourceUndoMode
I_CmsResource.CmsResourceAttribute
COPY_AS_NEW, COPY_AS_SIBLING, COPY_PRESERVE_SIBLING, DATE_EXPIRED_DEFAULT, DATE_RELEASED_DEFAULT, DATE_RELEASED_EXPIRED_IGNORE, DELETE_PRESERVE_SIBLINGS, DELETE_REMOVE_SIBLINGS, FLAG_INTERNAL, FLAG_LABELED, FLAG_TEMPFILE, m_dateContent, m_length, NAME_CONSTRAINTS, STATE_CHANGED, STATE_DELETED, STATE_KEEP, STATE_NEW, STATE_UNCHANGED, TEMP_FILE_PREFIX, TOUCH_DATE_UNCHANGED, UNDO_CONTENT, UNDO_CONTENT_RECURSIVE, UNDO_MOVE_CONTENT, UNDO_MOVE_CONTENT_RECURSIVE, VFS_FOLDER_SITES, VFS_FOLDER_SYSTEM
COMPARE_DATE_LAST_MODIFIED, COMPARE_DATE_RELEASED, COMPARE_ROOT_PATH, COMPARE_ROOT_PATH_IGNORE_CASE, COMPARE_ROOT_PATH_IGNORE_CASE_FOLDERS_FIRST
Constructor and Description |
---|
CmsJspResourceWrapper(CmsObject cms,
CmsResource res)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLink()
Gets a link to the resource.
|
java.util.Map<java.lang.String,CmsJspResourceWrapper> |
getLocaleResource()
Gets a map of the locale group for the current resource, with locale strings as keys.
|
java.util.Locale |
getMainLocale()
Gets the main locale for this resource.
|
checkResourceName, clone, compareTo, equals, getCopy, getDateContent, getDateCreated, getDateExpired, getDateLastModified, getDateReleased, getFlags, getFolderPath, getLength, getName, getName, getParentFolder, getPathLevel, getPathPart, getProjectLastModified, getResourceId, getRootPath, getSiblingCount, getState, getStructureId, getTypeId, getUserCreated, getUserLastModified, getVersion, hashCode, isExpired, isFile, isFolder, isFolder, isInternal, isLabeled, isReleased, isReleasedAndNotExpired, isTemporaryFile, isTemporaryFileName, isTouched, setDateExpired, setDateLastModified, setDateReleased, setFlags, setInternal, setState, setType, setUserLastModified, toString
public CmsJspResourceWrapper(CmsObject cms, CmsResource res)
cms
- the current CMS contextres
- the resource to wrappublic java.lang.String getLink()
public java.util.Map<java.lang.String,CmsJspResourceWrapper> getLocaleResource()
public java.util.Locale getMainLocale()