public interface AssetStatisticsSearcher
Modifier and Type | Field and Description |
---|---|
static String |
HELD |
static String |
PUBLISHABLE |
Modifier and Type | Method and Description |
---|---|
int |
assetsCount(String siteName,
boolean contentAssetOnly)
get the total number of non-voided assets in a given site
|
Map<AssetId,List<AssetStatistics>> |
getAssetsStatics(List<AssetId> assetIds)
Get the statics of a list of assets
|
List<AssetStatistics> |
getAssetStatics(AssetId assetId,
String siteName)
Get the statics of a specific asset
|
List<AssetId> |
getCheckedOutAssets(Date startDate,
Date endDate,
String siteName)
get the list of assets checked out within a date range
|
List<AssetId> |
getCheckedOutAssets(String siteName)
get the list of assets currently checked out
|
int |
getContributionCountForUser(Date startDate,
Date endDate,
String username,
String site,
boolean contentAssetOnly)
Get the total number of creates a user had for a given period of time for given site and/or asset type
|
int |
getContributionCounts(Date from,
Date end,
String assettype,
String siteName)
Given an asset type and a Site, return the count of all its edits/creates for a given period of time
|
List<AssetId> |
getCreatedAssets(Date startDate,
Date endDate,
String site,
boolean contentAssetsOnly)
Get a list of created assets for given time period and site/asset type combination
|
List<AssetId> |
getCreatedAssets(Date startDate,
Date endDate,
String username,
String site,
boolean contentAssetsOnly)
Get a list of created assets for given time period and site/asset type combination for a given user
|
int |
getCreatedCountForUser(Date startDate,
Date endDate,
String username,
String site,
boolean contentAssetsOnly)
Get the total number of creates a user had for a given period of time for given site and/or asset type
|
List<AssetId> |
getEditedAssets(Date startDate,
Date endDate,
String site,
boolean contentAssetsOnly)
Get a list of edited assets for given time period and site/asset type combination
|
List<AssetId> |
getEditedAssets(Date startDate,
Date endDate,
String username,
String site,
boolean contentAssetsOnly)
Get a list of edited assets for given time period and site/asset type combination for a given user
|
int |
getEditedCountForUser(Date startDate,
Date endDate,
String username,
String site,
boolean contentAssetsOnly)
Get the total number of edits a user had for a given period of time for given site and/or asset type
|
List<AssetId> |
getPlacedPages(String siteName)
Get the placed assets for a given site
|
Map<String,Map<PubTargetInfo,List<AssetId>>> |
getPublishableHeldAssets(String siteName) |
List<PubSessionStatics> |
getPublishingHistory(String siteName)
get the total number of published assets for a given time period for a given site
|
Map<String,Integer> |
getTagsCount(String siteName)
Get the top tags with number of referenced assets they have
|
Map<String,Integer> |
getTopAssetsCount(Date from,
Date end,
String siteName,
int numberOfInterestedAssetTypes,
boolean contentAssetsOnly)
Get the asset types with most assets in given site
|
Map<String,Integer> |
getTopSearchesCount(Date from,
Date end,
String siteName,
boolean contentAssetsOnly)
Get a map of search text to the number of searches happened during a given period of time
|
Map<String,Integer> |
getTopUserContribution(Date startDate,
Date endDate,
int numberOfInterestedTopEdits,
String site,
boolean contentAssetsOnly)
Get a map of username to the number of edits the user had during a specified period of time
|
Map<String,Integer> |
getTopUserCreates(Date startDate,
Date endDate,
int numberOfInterestedTopCreates,
String siteName,
boolean contentAssetsOnly)
Get a map of username to the number of creates the user had during a specified period of time
|
Map<String,Integer> |
getTopUserEdits(Date startDate,
Date endDate,
int numberOfInterestedTopEdits,
String site,
boolean contentAssetsOnly)
Get a map of username to the number of edits the user had during a specified period of time
|
List<AssetId> |
getUnplacedPages(String siteName)
Get the unplaced asstes for a given site
|
List<AssetId> |
getWorkflowAssetsHistory(Date startDate,
Date endDate,
String siteName,
boolean contentAssetOnly)
Get the workflow history for assets
|
static final String PUBLISHABLE
static final String HELD
int assetsCount(String siteName, boolean contentAssetOnly)
siteName
- the site nameList<AssetId> getCheckedOutAssets(String siteName)
siteName
- the site nameList<AssetId> getCheckedOutAssets(Date startDate, Date endDate, String siteName)
startDate
- the starting date of interested checked out assetsendDate
- the end date of interested checked out assetssiteName
- the site nameList<AssetId> getWorkflowAssetsHistory(Date startDate, Date endDate, String siteName, boolean contentAssetOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetssiteName
- the site name where the assets belong, if null, all sites will be consideredcontentAssetOnly
- specify whether content assets are needed or all the assets are neededMap<String,Map<PubTargetInfo,List<AssetId>>> getPublishableHeldAssets(String siteName) throws Exception
siteName
- the site name where the assets belong, if null, all sites will be consideredException
List<PubSessionStatics> getPublishingHistory(String siteName)
siteName
- the site nameList<AssetId> getEditedAssets(Date startDate, Date endDate, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetssite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- specify whether content assets are needed or all the assets are neededList<AssetId> getEditedAssets(Date startDate, Date endDate, String username, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetsusername
- the username of interested usersite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notList<AssetId> getCreatedAssets(Date startDate, Date endDate, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested created assetsendDate
- the end time of the interested created assetssite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notList<AssetId> getCreatedAssets(Date startDate, Date endDate, String username, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested created assetsendDate
- the end time of the interested created assetsusername
- the username of interested usersite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notint getEditedCountForUser(Date startDate, Date endDate, String username, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetsusername
- the username of interested usersite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notint getCreatedCountForUser(Date startDate, Date endDate, String username, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested created assetsendDate
- the end time of the interested created assetsusername
- the username of interested usersite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notMap<String,Integer> getTopUserEdits(Date startDate, Date endDate, int numberOfInterestedTopEdits, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetsnumberOfInterestedTopEdits
- the most number of users interestedsite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notMap<String,Integer> getTopUserContribution(Date startDate, Date endDate, int numberOfInterestedTopEdits, String site, boolean contentAssetsOnly)
startDate
- the starting time of interested edited assetsendDate
- the end time of the interested edited assetsnumberOfInterestedTopEdits
- the most number of users interestedsite
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notint getContributionCountForUser(Date startDate, Date endDate, String username, String site, boolean contentAssetOnly)
startDate
- the starting time of interested created assetsendDate
- the end time of the interested created assetsusername
- the username of interested usersite
- the site name where the assets belong, if null, all sites will be consideredMap<String,Integer> getTopUserCreates(Date startDate, Date endDate, int numberOfInterestedTopCreates, String siteName, boolean contentAssetsOnly)
startDate
- the starting time of interested created assetsendDate
- the end time of the interested created assetsnumberOfInterestedTopCreates
- the most number of users interestedsiteName
- the site name where the assets belong, if null, all sites will be consideredcontentAssetsOnly
- whether only content asset types are interested or notList<AssetStatistics> getAssetStatics(AssetId assetId, String siteName)
assetId
- the asset idsiteName
- Map<AssetId,List<AssetStatistics>> getAssetsStatics(List<AssetId> assetIds)
assetIds
- list of the asset idsList<AssetId> getPlacedPages(String siteName)
siteName
- the site name where the assets belong, not nullableList<AssetId> getUnplacedPages(String siteName)
siteName
- the site name where the assets belong, not nullableMap<String,Integer> getTagsCount(String siteName)
siteName
- the site where the tags are interestedMap<String,Integer> getTopAssetsCount(Date from, Date end, String siteName, int numberOfInterestedAssetTypes, boolean contentAssetsOnly)
from
- the start dateend
- the end datesiteName
- the site namenumberOfInterestedAssetTypes
- the number of asset types interested @return the Map of asset type name to the number of assets in the asset typescontentAssetsOnly
- whether only content asset types are interested or notint getContributionCounts(Date from, Date end, String assettype, String siteName)
from
- the start timeend
- the end timeassettype
- the asset type name interestedsiteName
- the site name interestedMap<String,Integer> getTopSearchesCount(Date from, Date end, String siteName, boolean contentAssetsOnly)
from
- the starting time of interested searchesend
- the end time of the interested searchessiteName
- the site name where searches happenedcontentAssetsOnly
- whether only content asset types are interested or not