|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.repository.api.NullStorageManager
public class NullStorageManager
Constructor Summary | |
---|---|
NullStorageManager()
|
Method Summary | |
---|---|
void |
accept(RepositoryVisitor visitor)
|
int |
compareTo(java.lang.Object arg0)
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String propertyName)
|
java.util.Set |
getPropertyNames()
|
Repository |
getRepository()
|
StorageObjectData |
getStorageObjectData(StorageObject so)
Creates a new storage object version. |
int |
getType()
|
boolean |
hasProperty(java.lang.String propertyName)
|
void |
initialize(Repository rep,
java.lang.String objId,
java.lang.String name)
Initialize the object with the specified object ID and name. |
boolean |
isNull()
|
void |
setId(java.lang.String id)
Sets the ID on a newly-created repository object. |
java.lang.String |
setName(java.lang.String newName)
Sets the name of object. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
|
void |
setStorageObjectData(StorageObject so)
Sets the storage object data for a storage object version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject |
---|
toString |
Constructor Detail |
---|
public NullStorageManager()
Method Detail |
---|
public StorageObjectData getStorageObjectData(StorageObject so) throws java.io.IOException
StorageManager
getStorageObjectData
in interface StorageManager
java.io.IOException
public void setStorageObjectData(StorageObject so) throws java.io.IOException
StorageManager
setStorageObjectData
in interface StorageManager
so
- StorageObject to set the data on.
java.io.IOException
public void initialize(Repository rep, java.lang.String objId, java.lang.String name) throws ObjectMutationException
RepositoryObject
initialize
in interface RepositoryObject
ObjectMutationException
- If object already has an assigned ID, indicating
that is has already been constructed.public void setId(java.lang.String id) throws ObjectMutationException
RepositoryObject
setId
in interface RepositoryObject
id
- Object ID (assigned by the owning repository)
ObjectMutationException
- If object already has an assigned ID, indicating
that is has already been constructed.public java.lang.String getName()
getName
in interface RepositoryObject
public java.lang.String setName(java.lang.String newName)
RepositoryObject
setName
in interface RepositoryObject
newName
- New name to set on the object.
public java.lang.String getId()
getId
in interface RepositoryObject
public Repository getRepository()
getRepository
in interface RepositoryObject
public boolean hasProperty(java.lang.String propertyName)
hasProperty
in interface RepositoryObject
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in interface RepositoryObject
propertyName
- The name of the property to retrieve.
public void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
setProperty
in interface RepositoryObject
public int compareTo(java.lang.Object arg0)
compareTo
in interface RepositoryObject
public int getType()
getType
in interface RepositoryObject
public boolean isNull()
isNull
in interface RepositoryObject
public java.util.Set getPropertyNames()
getPropertyNames
in interface RepositoryObject
public void accept(RepositoryVisitor visitor) throws java.lang.Throwable
accept
in interface RepositoryObject
java.lang.Throwable
public java.util.Map getProperties()
getProperties
in interface RepositoryObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |