com.sas.drugdev.remote.repository
Interface RemoteNode

All Superinterfaces:
Node
All Known Subinterfaces:
RemoteContainer, RemoteFile

public interface RemoteNode
extends Node

Interface representing a node that lives in the server repository. It is immutable. If you wish to change the properties on the server side, you must construct an instance of NodeBean to do so. Instances are created by the API and can't be constructed.


Method Summary
 boolean canDelete()
          Can this object be deleted by the current user?
 boolean canManage()
          Can this object be managed by the current user?
 boolean canRead()
          Can this object be read by the current user?
 boolean canWrite()
          Can this object be written by the current user?
 java.lang.String getCreatedBy()
          Get the user id of the user who created this
 java.util.Date getCreationDate()
          Get the date on which this was created
 java.lang.String getLastModifiedBy()
          Get the user id of the user who last modified this object.
 java.util.Date getLastModifiedDate()
          Get the date on which this was last modified.
 java.lang.String getName()
          Get the name
 java.lang.String getOwner()
          Get the owner's userid
 
Methods inherited from interface com.sas.drugdev.remote.repository.Node
getId, getPath, getProperties, getType
 

Method Detail

canDelete

public boolean canDelete()
Can this object be deleted by the current user?

Returns:
Whether this object can be deleted by the current user

canWrite

public boolean canWrite()
Can this object be written by the current user?

Returns:
Whether this object can be written by the current user

canRead

public boolean canRead()
Can this object be read by the current user?

Returns:
Whether this object can be read by the current user

canManage

public boolean canManage()
Can this object be managed by the current user?

Returns:
Whether this object can be managed by the current user

getLastModifiedDate

public java.util.Date getLastModifiedDate()
Get the date on which this was last modified.

Returns:
The date on which this was last modified

getCreationDate

public java.util.Date getCreationDate()
Get the date on which this was created

Returns:
Date on which this was created

getLastModifiedBy

public java.lang.String getLastModifiedBy()
Get the user id of the user who last modified this object.

Returns:
The user id of the user who last modified this object

getCreatedBy

public java.lang.String getCreatedBy()
Get the user id of the user who created this

Returns:
The user id of the user who created this

getOwner

public java.lang.String getOwner()
Get the owner's userid

Returns:
The owner's userid

getName

public java.lang.String getName()
Get the name

Returns:
The name portion of the path of this node within SDD