fr.cnes.sitools.service.storage.model
Class StorageDirectory

java.lang.Object
  extended by fr.cnes.sitools.service.storage.model.StorageDirectory
All Implemented Interfaces:
IResource, Persistent, java.io.Serializable

public final class StorageDirectory
extends java.lang.Object
implements IResource, Persistent

Storage directory

Author:
jp.boignard (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
StorageDirectory()
           
 
Method Summary
 java.lang.String getAttachUrl()
          Get the attachment URL
 java.lang.String getAuthorizerId()
          Gets the authorizerId value
 java.lang.String getDescription()
          Resource description
 java.lang.String getId()
          Resource identifier
 java.lang.String getLocalPath()
          Get the local path of the storage
 java.lang.String getName()
          Resource name
 java.lang.String getPublicUrl()
          Get the public URL associated with the directory
 java.lang.String getStatus()
          Get the status
 boolean isDeeplyAccessible()
          Indicates if the directory is deeply accessible
 boolean isIndexed()
          Gets the indexed value
 boolean isListingAllowed()
          Indicates if the listing is allowed
 boolean isModifiable()
          Indicates if the directory is modifiable
 void setAttachUrl(java.lang.String attachUrl)
          Set the attachment URL
 void setAuthorizerId(java.lang.String authorizerId)
          Sets the value of authorizerId
 void setDeeplyAccessible(boolean deeplyAccessible)
          Set if the directory is deeply accessible
 void setDescription(java.lang.String description)
          Set the description of the directory
 void setId(java.lang.String id)
          Set the id of the directory
 void setIndexed(boolean indexed)
          Sets the value of indexed
 void setListingAllowed(boolean listingAllowed)
          Set if the listing is allowed on the directory
 void setLocalPath(java.lang.String localPath)
          Set the local path of the storage
 void setModifiable(boolean modifiable)
          Set if the directory is modifiable
 void setName(java.lang.String name)
          Set the name of the directory
 void setPublicUrl(java.lang.String publicUrl)
          Set the public URL of the directory
 void setStatus(java.lang.String status)
          Set the status
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageDirectory

public StorageDirectory()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: IResource
Resource identifier

Specified by:
getId in interface IResource
Specified by:
getId in interface Persistent
Returns:
String

getName

public java.lang.String getName()
Description copied from interface: IResource
Resource name

Specified by:
getName in interface IResource
Returns:
String

getDescription

public java.lang.String getDescription()
Description copied from interface: IResource
Resource description

Specified by:
getDescription in interface IResource
Returns:
String

getLocalPath

public java.lang.String getLocalPath()
Get the local path of the storage

Returns:
the localPath

setLocalPath

public void setLocalPath(java.lang.String localPath)
Set the local path of the storage

Parameters:
localPath - the localPath to set

getPublicUrl

public java.lang.String getPublicUrl()
Get the public URL associated with the directory

Returns:
the publicUrl

setPublicUrl

public void setPublicUrl(java.lang.String publicUrl)
Set the public URL of the directory

Parameters:
publicUrl - the publicUrl to set

setId

public void setId(java.lang.String id)
Set the id of the directory

Specified by:
setId in interface IResource
Parameters:
id - the id to set

setName

public void setName(java.lang.String name)
Set the name of the directory

Parameters:
name - the name to set

setDescription

public void setDescription(java.lang.String description)
Set the description of the directory

Parameters:
description - the description to set

isDeeplyAccessible

public boolean isDeeplyAccessible()
Indicates if the directory is deeply accessible

Returns:
the deeplyAccessible

setDeeplyAccessible

public void setDeeplyAccessible(boolean deeplyAccessible)
Set if the directory is deeply accessible

Parameters:
deeplyAccessible - the deeplyAccessible to set

isListingAllowed

public boolean isListingAllowed()
Indicates if the listing is allowed

Returns:
the listingAllowed

setListingAllowed

public void setListingAllowed(boolean listingAllowed)
Set if the listing is allowed on the directory

Parameters:
listingAllowed - the listingAllowed to set

isModifiable

public boolean isModifiable()
Indicates if the directory is modifiable

Returns:
the modifiable

setModifiable

public void setModifiable(boolean modifiable)
Set if the directory is modifiable

Parameters:
modifiable - the modifiable to set

setAttachUrl

public void setAttachUrl(java.lang.String attachUrl)
Set the attachment URL

Parameters:
attachUrl - the attachUrl to set

getAttachUrl

public java.lang.String getAttachUrl()
Get the attachment URL

Returns:
the attachUrl

getStatus

public java.lang.String getStatus()
Get the status

Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Set the status

Parameters:
status - the status to set

getAuthorizerId

public java.lang.String getAuthorizerId()
Gets the authorizerId value

Returns:
the authorizerId

setAuthorizerId

public void setAuthorizerId(java.lang.String authorizerId)
Sets the value of authorizerId

Parameters:
authorizerId - the authorizerId to set

isIndexed

public boolean isIndexed()
Gets the indexed value

Returns:
the indexed

setIndexed

public void setIndexed(boolean indexed)
Sets the value of indexed

Parameters:
indexed - the indexed to set


Copyright © 2010-2013 CNES. All Rights Reserved.