public class CmsResultItemBean extends CmsListInfoBean implements I_CmsHasTitle, I_CmsHasPath, I_CmsHasType
CmsResultListItem
s.CmsResultListItem
CmsListInfoBean.LockIcon, CmsListInfoBean.StateIcon
CSS_CLASS_MULTI_LINE
构造器和说明 |
---|
CmsResultItemBean()
Default constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getClientId()
Returns the structured id.
|
java.lang.String |
getDateLastModified()
Returns the formatted last modification date.
|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getDimension()
Returns the dimension.
|
java.lang.String |
getNoEditReson()
Returns the noEditReson.
|
java.lang.String |
getPath()
Returns the resourcePath.
|
java.lang.String |
getSubTitle()
Returns the sub-title.
|
java.lang.String |
getType()
Returns the resource type name.
|
java.lang.String |
getUserLastModified()
Gets the name of the user who last modified the resource.
|
java.lang.String |
getViewLink()
Gets the link for displaying the resource.
|
boolean |
isCopyModel()
Returns true if the result resource is a copy model.
|
boolean |
isEditable()
Returns if the represented resource is editable by the current user.
|
boolean |
isPreset()
True if this is result item corresponds to a preset value in the editor.
|
boolean |
isReleasedAndNotExpired()
Returns if the result item resource is currently released and not expired.
|
void |
setClientId(java.lang.String clientId)
Sets the structure id.
|
void |
setDateLastModified(java.lang.String formattedDate)
Sets the formatted last modification date.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setDimension(java.lang.String dimension)
Sets the dimension.
|
void |
setIsCopyModel(boolean isCopyModel)
Sets the "copy model" status of this result bean.
|
void |
setNoEditReson(java.lang.String noEditReson)
Sets the reason this resource may not be edited.
|
void |
setPath(java.lang.String path)
Sets the resource path.
|
void |
setPreset(boolean preset)
Sets the "is preset" flag.
|
void |
setReleasedAndNotExpired(boolean releasedAndNotExpired)
Sets if the result item resource is currently released and not expired.
|
void |
setType(java.lang.String type)
Sets the resource type name.
|
void |
setUserLastModified(java.lang.String userLastModified)
Sets the name of the user who last modified the resource.
|
void |
setViewLink(java.lang.String viewLink)
Sets the link for displaying the resource.
|
addAdditionalInfo, addAdditionalInfo, getAdditionalInfo, getLockIcon, getLockIconTitle, getResourceState, getResourceType, getStateIcon, getTitle, hasAdditionalInfo, isMarkChangedState, setAdditionalInfo, setLockIcon, setLockIconTitle, setMarkChangedState, setResourceState, setResourceType, setStateIcon, setSubTitle, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTitle
public java.lang.String getClientId()
public java.lang.String getDateLastModified()
public java.lang.String getDescription()
public java.lang.String getDimension()
public java.lang.String getNoEditReson()
public java.lang.String getPath()
getPath
在接口中 I_CmsHasPath
public java.lang.String getSubTitle()
CmsListInfoBean
getSubTitle
在类中 CmsListInfoBean
CmsListInfoBean.getSubTitle()
public java.lang.String getType()
getType
在接口中 I_CmsHasType
public java.lang.String getUserLastModified()
public java.lang.String getViewLink()
public boolean isCopyModel()
public boolean isEditable()
true
if editablepublic boolean isPreset()
public boolean isReleasedAndNotExpired()
true
if the result item resource is currently released and not expiredpublic void setClientId(java.lang.String clientId)
clientId
- the structure id to setpublic void setDateLastModified(java.lang.String formattedDate)
formattedDate
- the formatted last modification datepublic void setDescription(java.lang.String description)
Also used as sub-title.
description
- the description to setpublic void setDimension(java.lang.String dimension)
dimension
- the dimension to setpublic void setIsCopyModel(boolean isCopyModel)
isCopyModel
- true if this result should be marked as a copy modelpublic void setNoEditReson(java.lang.String noEditReson)
noEditReson
- the reason this resource may not be edited to setpublic void setPath(java.lang.String path)
path
- the resource path to setpublic void setPreset(boolean preset)
preset
- the "is preset" flagpublic void setReleasedAndNotExpired(boolean releasedAndNotExpired)
releasedAndNotExpired
- if the result item resource is currently released and not expiredpublic void setType(java.lang.String type)
type
- the resource type name to setpublic void setUserLastModified(java.lang.String userLastModified)
userLastModified
- a user namepublic void setViewLink(java.lang.String viewLink)
viewLink
- the link for displaying the