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)
           
 WebAsset getAsset()
          Returns the asset.
 long getIdentifier()
           
 java.lang.String getPathToMe()
          Returns the pathToMe.
 java.util.List getPermissions()
          Returns the permissions.
 void setAsset(WebAsset asset)
          Sets the asset.
 void setIdentifier(long 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 WebAsset getAsset()
Returns the asset.

Returns:
WebAsset

getPermissions

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

Returns:
java.util.List

setAsset

public void setAsset(WebAsset 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 long getIdentifier()
Returns:
Returns the identifier.

setIdentifier

public void setIdentifier(long identifier)
Parameters:
identifier - The identifier to set.


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.