com.fatwire.services.beans.asset.authorization
Class VersioningAuthorizationBean

java.lang.Object
  extended by com.fatwire.services.beans.BaseBean
      extended by com.fatwire.services.beans.asset.authorization.VersioningAuthorizationBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeleteAuthorizationBean

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:

See Also:
Serialized Form

Constructor Summary
VersioningAuthorizationBean()
           
 
Method Summary
 AssetId getAsset()
           
 UserBean getLockedBy()
           Returns the user locking an asset.
 boolean isCheckedOut()
           
 boolean isLocked()
           
 boolean isTracked()
           
 void setAsset(AssetId asset)
           
 void setCheckedOut(boolean checkedOut)
           
 void setLocked(boolean locked)
           
 void setLockedBy(UserBean lockedBy)
          Sets the user locking an asset.
 void setTracked(boolean tracked)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersioningAuthorizationBean

public VersioningAuthorizationBean()
Method Detail

setAsset

public void setAsset(AssetId asset)

getAsset

public AssetId getAsset()

getLockedBy

public UserBean getLockedBy()

Returns the user locking an asset.

Returns null, if the asset is not locked by any user.

Returns:
the user locking an asset.

setLockedBy

public void setLockedBy(UserBean lockedBy)
Sets the user locking an asset.

Parameters:
lockedBy - the user locking an asset.

isTracked

public boolean isTracked()

setTracked

public void setTracked(boolean tracked)

isLocked

public boolean isLocked()

setLocked

public void setLocked(boolean locked)

isCheckedOut

public boolean isCheckedOut()

setCheckedOut

public void setCheckedOut(boolean checkedOut)


Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.