public class DeleteAuthorizationBean extends VersioningAuthorizationBean
true
if an asset is shared with all sites. If the asset is shared only among a subset of sites, the flag is set to false
and the bean is populated with a list of all sites sharing the asset.Constructor and Description |
---|
DeleteAuthorizationBean() |
Modifier and Type | Method and Description |
---|---|
List<DestinationBean> |
getDestinations()
Returns a list of destinations for which the asset which is being attempted to be deleted, is the publication initiation point.
|
List<AssetId> |
getReferences()
Returns a list of assets referencing an asset which is being attempted to be deleted.
|
Boolean |
isSharedWithAllsites()
Returns true if an asset is shared with all sites.
|
void |
setSharedWithAllsites(Boolean sharedWithAllsites)
Sets a flag to indicate if an asset is shared with all sites.
|
getAsset, getCheckedOutBy, isCheckedOut, isTracked, setAsset, setCheckedOutBy, setTracked
public List<AssetId> getReferences()
public List<DestinationBean> getDestinations()
public Boolean isSharedWithAllsites()
public void setSharedWithAllsites(Boolean sharedWithAllsites)
sharedWithAllsites
- true if an asset is shared with all sites.