public class VersioningAuthorizationBean extends BaseBean
The AccessAuthorizationBean is the value object populated by only those authorization modules which check access to operations modifying an asset.
It provides the following information:Constructor and Description |
---|
VersioningAuthorizationBean() |
Modifier and Type | Method and Description |
---|---|
AssetId |
getAsset() |
UserBean |
getCheckedOutBy()
Returns the user who has checked out the asset.
|
boolean |
isCheckedOut() |
boolean |
isTracked() |
void |
setAsset(AssetId asset) |
void |
setCheckedOutBy(UserBean checkedOutBy)
Sets the user who has checked out the asset.
|
void |
setTracked(boolean tracked) |
public void setAsset(AssetId asset)
public AssetId getAsset()
public UserBean getCheckedOutBy()
Returns the user who has checked out the asset.
Returnsnull
, if the asset is not checked out by any user.public void setCheckedOutBy(UserBean checkedOutBy)
checkedOutBy
- the user who has checked out the asset.public boolean isTracked()
public void setTracked(boolean tracked)
public boolean isCheckedOut()