com.dotmarketing.beans
Class PermissionAsset

java.lang.Object
  extended by com.dotmarketing.beans.PermissionAsset
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class PermissionAsset
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Author:
maria
See Also:
Serialized Form

Constructor Summary
PermissionAsset()
          default constructor
 
Method Summary
 int compareTo(java.lang.Object object)
           
 Inode getAsset()
          Returns the asset.
 java.lang.String getIdentifier()
           
 java.lang.String getPathToMe()
          Returns the pathToMe.
 java.util.List getPermissions()
          Returns the permissions.
 boolean hasPublish()
           
 boolean hasReadPermission()
           
 boolean hasWritePermission()
           
 void setAsset(Inode asset)
          Sets the asset.
 void setIdentifier(java.lang.String identifier)
           
 void setPathToMe(java.lang.String pathToMe)
          Sets the pathToMe.
 void setPermissions(java.util.List permissions)
          Sets the permissions.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionAsset

public PermissionAsset()
default constructor

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAsset

public Inode getAsset()
Returns the asset.

Returns:
WebAsset

getPermissions

public java.util.List getPermissions()
Returns the permissions.

Returns:
java.util.List

setAsset

public void setAsset(Inode asset)
Sets the asset.

Parameters:
asset - The asset to set

setPermissions

public void setPermissions(java.util.List permissions)
Sets the permissions.

Parameters:
permissions - The permissions to set

compareTo

public int compareTo(java.lang.Object object)
Specified by:
compareTo in interface java.lang.Comparable

getPathToMe

public java.lang.String getPathToMe()
Returns the pathToMe.

Returns:
String

setPathToMe

public void setPathToMe(java.lang.String pathToMe)
Sets the pathToMe.

Parameters:
pathToMe - The pathToMe to set

getIdentifier

public java.lang.String getIdentifier()
Returns:
Returns the identifier.

setIdentifier

public void setIdentifier(java.lang.String identifier)
Parameters:
identifier - The identifier to set.

hasReadPermission

public boolean hasReadPermission()

hasWritePermission

public boolean hasWritePermission()

hasPublish

public boolean hasPublish()


Copyright © 2013 dotCMS Inc. All Rights Reserved.