Package | Description |
---|---|
com.fatwire.services.dao |
Modifier and Type | Method and Description |
---|---|
VersionBean |
VersioningDao.checkin(AssetId assetId, String userId, String comment, boolean keepCheckedOut, MessageCollectors.VersioningMessageCollector collector)
Commits changes to the specified asset and hence creates a new revision for it.
|
VersionBean |
VersioningDao.checkout(AssetId assetId, String userId, MessageCollectors.VersioningMessageCollector collector)
Checks out an asset for the logged in user and returns the current revision.
|
boolean |
AssetDao.delete(AssetId assetId, MessageCollectors.DeleteAssetsMessageCollector collector)
Deletes an asset.
|
List<AssetId> |
AssetDao.delete(List<AssetId> assetIds, MessageCollectors.DeleteAssetsMessageCollector collector)
Deletes a list of assets identified by the asset identifiers in assetsToDelete.
|
boolean |
AssetDao.exists(AssetId assetId)
Returns true if an asset exists.
|
List<RoleBean> |
SiteDao.getAllRoles()
Returns a list of all roles in the system.
|
List<ArgumentBean> |
TemplateDao.getArguments(AssetId assetId)
Returns a list containing the arguments associated with a template for the specified asset type.
|
List<AssetId> |
VersioningDao.getCheckedoutAssets(String userId, long siteId)
Returns the list of assets checked out by the specified user in the specified site.
|
List<TreeNodeBean> |
TreeDao.getChildrenNodes(String loadUrl)
Returns a list of tree nodes containing data for the children of a tree node using its load URL.
|
VersionBean |
VersioningDao.getCurrentRevision(AssetId assetId)
Returns metadata for the current revision for the specified asset.
|
AssetTypeDef |
AssetDao.getDefinition(String type, String subType)
Returns the asset type definition object for a specified asset type.
|
List<String> |
SiteDao.getEnabledTypes(long siteId)
Returns the list of asset types enabled in the specified site.
|
List<AssetId> |
AssetDao.getFlexDefinitions(String assetType, long site)
Returns the List of definition asset identifiers for the given Flex asset type and site.
|
List<AssetId> |
TreeDao.getImmediateChildren(String browseUrl)
Gets All of the immediate children of a node represented by its LoadURL.
|
List<String> |
SiteDao.getLocales(long siteId)
Returns available locales for the specified site.
|
String |
TemplateDao.getPageName(String templateName, String assetType, Long site)
Returns the Site Catalog pagename corresponding to a template.
|
List<AssetId> |
AssetDao.getReferences(AssetId assetId)
Returns a list of asset identifiers for all assets which reference a given asset.
|
List<SiteBean> |
AssetDao.getSitesInWhichEnabled(String userName, String assetType)
Returns the list of sites for which the given asset type is enabled.
|
List<SiteBean> |
AssetDao.getSitesInWhichShared(AssetId assetId)
Returns the list of sites in which an asset is shared.
|
List<UserBean> |
SiteDao.getSiteUsers(long siteId)
Returns the list of those users who have access to the specified site through one or more roles.
|
List<StartMenuBean> |
SiteDao.getStartMenus(List<StartMenuBean.Type> itemTypes, List<String> assetTypes, long siteId)
Returns the list of start menu items for specific asset types for the specified user in the specified site.
|
List<StartMenuBean> |
SiteDao.getStartMenus(List<StartMenuBean.Type> types, long siteId)
Returns the list of start menu items for the logged in user in the specified site.
|
List<String> |
AssetDao.getSubTypes(String assetType, long site)
Returns the List of subtypes for the given asset type and site.
|
List<ArgumentBean> |
TemplateDao.getTemplateArguments(String templateName, String assetType)
Returns a list containing the arguments associated with a template for the specified asset type.
|
List<TemplateBean> |
TemplateDao.getTemplates(TypeBean type, Long site, List<TemplateBean.Type> templateTypes)
Returns the templates which can be applied for the the given asset type and sub-type.
|
List<RoleBean> |
SiteDao.getUserRoles(long siteId)
Returns a list of all roles for the logged in user in the specified site.
|
boolean |
SiteDao.isPreviewEnabled(long siteId)
Checks whether preview is enabled for assets in the specified site.
|
boolean |
VersioningDao.isTracked(String assetType)
Checks if revision tracking is enabled for the specified asset type.
|
AssetData |
AssetDao.newAsset(AssetTypeDef assetTypeDef)
Returns an empty asset data instance for a given asset type.
|
AssetData |
AssetDao.read(AssetId assetId)
Returns the data associated with an asset.
|
AssetData |
AssetDao.read(AssetId assetId, List<String> fields)
Returns the data associated with an asset, retrieving only a subset of the available fields.
|
List<AssetId> |
AssetDao.removeReferences(AssetId assetId, List<AssetId> references, MessageCollectors.RemoveReferenceMessageCollector collector)
Removes the references of an asset.
|
AssetSaveStatusBean |
AssetDao.save(AssetData assetData, MessageCollectors.SaveAssetsMessageCollector collector)
Saves the data associated with an asset.
|
boolean |
AssetDao.share(AssetId assetId, List<Long> sites)
Shares an asset with all the sites in the specified list.
|
VersionBean |
VersioningDao.undoCheckout(AssetId assetId, String userId, MessageCollectors.VersioningMessageCollector collector)
Reverts the changes made to the specified checked-out asset, and reverts its state back to what it was before being checked out.
|