Interface FolderContainedAsset
- 
- All Superinterfaces:
- BaseAsset,- NamedAsset,- PermissionsCapableAsset
 - All Known Subinterfaces:
- Block,- FeedBlock,- File,- Folder,- Format,- IndexBlock,- MetadataAwareAsset,- Page,- PublishableAsset,- Reference,- ScriptFormat,- Symlink,- Template,- TextBlock,- TwitterFeedBlock,- XHTMLDataDefinitionBlock,- XMLBlock,- XSLTFormat
 
 public interface FolderContainedAsset extends PermissionsCapableAsset Describes the common properties that any asset contained within a folder shares.- Since:
- 4.7
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCreatedBy()Get the name of the user who created this asset.java.util.DategetCreatedOn()Get theDatethis asset was created.intgetFolderOrder()Get the folder order of this asset.PathIdentifiergetIdentifier()Get this asset's identifier, which will also include the asset's path in addition to the standard information a regularIdentifiercontains.java.util.DategetLastModified()Get theDatethis asset was last modified.java.lang.StringgetLastModifiedBy()Get the name of the user who last modified this asset.FoldergetParentFolder()Get a data transfer object representing the parent folder.PathIdentifiergetParentFolderIdentifier()Get the parent folder's identifier, which specifies the relationship between this asset and its containing folder.java.lang.StringgetPath()Get the path of the assetSitegetSite()java.lang.StringgetSiteId()java.lang.StringgetSiteName()java.util.List<java.lang.String>getTags()booleanisHideSystemName()voidsetHideSystemName(boolean hideSystemName)Set to true inAssetFactoryPlugin.doPluginActionPre(com.hannonhill.cascade.api.asset.admin.AssetFactory, FolderContainedAsset)and the system name field will be hiddenvoidsetParentFolder(Folder parentFolder)Set the data transfer object representing the parent folder.voidsetParentFolderIdentifier(Identifier parentFolderIdentifier)Set the parent folder's identifier, which specifies the relationship between this asset and its containing folder.- 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.BaseAssetgetAssetId, getAssetType, getIdentifer
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.NamedAssetgetLabel, getName, setName
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.PermissionsCapableAssetisCurrentUserCanRead, isCurrentUserCanWrite, isUserCanRead, isUserCanWrite
 
- 
 
- 
- 
- 
Method Detail- 
getIdentifierPathIdentifier getIdentifier() Get this asset's identifier, which will also include the asset's path in addition to the standard information a regularIdentifiercontains.- Returns:
- a PathIdentifierImpl, never null
 
 - 
getParentFolderIdentifierPathIdentifier getParentFolderIdentifier() Get the parent folder's identifier, which specifies the relationship between this asset and its containing folder.- Returns:
- the Identifierof the parent folder
 
 - 
setParentFolderIdentifiervoid setParentFolderIdentifier(Identifier parentFolderIdentifier) Set the parent folder's identifier, which specifies the relationship between this asset and its containing folder.Changing this will have the effect of moving an asset. - Parameters:
- parentFolderIdentifier- the identifier identifying the new parent folder
 
 - 
getParentFolderFolder getParentFolder() Get a data transfer object representing the parent folder.- Returns:
- a Folder object
 
 - 
setParentFoldervoid setParentFolder(Folder parentFolder) Set the data transfer object representing the parent folder.- Parameters:
- parentFolder- the Folder object representing the folder which will be the new parent folder for this asset
 
 - 
getCreatedOnjava.util.Date getCreatedOn() Get theDatethis asset was created.- Returns:
 
 - 
getCreatedByjava.lang.String getCreatedBy() Get the name of the user who created this asset.- Returns:
 
 - 
getLastModifiedjava.util.Date getLastModified() Get theDatethis asset was last modified.- Returns:
 
 - 
getLastModifiedByjava.lang.String getLastModifiedBy() Get the name of the user who last modified this asset.- Returns:
 
 - 
getFolderOrderint getFolderOrder() Get the folder order of this asset.- Returns:
- the folder order of this asset.
 
 - 
getPathjava.lang.String getPath() Get the path of the asset- Returns:
 
 - 
getSiteIdjava.lang.String getSiteId() - Returns:
- Returns id of the site in which the asset is located
 
 - 
getSiteNamejava.lang.String getSiteName() - Returns:
- Returns name of the site in which the asset is located
 
 - 
getSiteSite getSite() - Returns:
- Returns the Siteobject to retrieve additional site parameters, such as URL
 
 - 
setHideSystemNamevoid setHideSystemName(boolean hideSystemName) Set to true inAssetFactoryPlugin.doPluginActionPre(com.hannonhill.cascade.api.asset.admin.AssetFactory, FolderContainedAsset)and the system name field will be hidden- Parameters:
- hideSystemName-
 
 - 
isHideSystemNameboolean isHideSystemName() - Returns:
- Returns the previously set (using setHideSystemName(boolean)) hideSystemName value or false if not set.
 
 - 
getTagsjava.util.List<java.lang.String> getTags() - Returns:
- Returns a list of tags assigned to the asset.
 
 
- 
 
-