public abstract class StorageItem extends Object
Constructor and Description |
---|
StorageItem() |
Modifier and Type | Method and Description |
---|---|
Date |
getDate(String key)
gets a value from the storage item as Date Object
|
DateTime |
getDateTime(String key)
gets a value from the storage item as Date Object
|
int |
getInt(String key)
gets a value from the storage item as int
|
String |
getString(String key)
gets a value from the storage item as String
|
Time |
getTime(String key)
gets a value from the storage item as Time Object
|
void |
setDate(String key,
Date value)
sets a value to the storage item as Date Object
|
void |
setDateTime(String key,
DateTime value)
sets a value to the storage item as DateTime Object
|
void |
setInt(String key,
int value)
sets a value to the storage item as int
|
void |
setString(String key,
String value)
sets a value to the storage item as String
|
void |
setTime(String key,
Time value)
sets a value to the storage item as Time Object
|
public StorageItem()
public String getString(String key) throws StorageException
key
- key of the value to getStorageException
public int getInt(String key) throws StorageException
key
- key of the value to getStorageException
public Date getDate(String key) throws StorageException
key
- key of the value to getStorageException
public Time getTime(String key) throws StorageException
key
- key of the value to getStorageException
public DateTime getDateTime(String key) throws StorageException
key
- key of the value to getStorageException
public void setString(String key, String value) throws StorageException
key
- key of the value to setvalue
- value to setStorageException
public void setInt(String key, int value) throws StorageException
key
- key of the value to setvalue
- value to setStorageException
public void setDate(String key, Date value) throws StorageException
key
- key of the value to setvalue
- value to setStorageException
public void setTime(String key, Time value) throws StorageException
key
- key of the value to setvalue
- value to setStorageException
public void setDateTime(String key, DateTime value) throws StorageException
key
- key of the value to setvalue
- value to setStorageException
Copyright © 2015 Lucee