|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface MdStore
This describes the base store object for metadata
| Field Summary | |
|---|---|
static java.lang.String |
ExternalIdenty_Context
The context of the ExternalIdentity objects associated to new objects created under change management |
static java.lang.String |
ExternalIdenty_ImportType
The ImportType of ExternalIdentity objects associated to new objects created under change management |
static int |
MDSTORETYPE_OBJECTSTORE
|
static int |
MDSTORETYPE_SERVERSTORE
|
| Method Summary | |
|---|---|
void |
addChildStore(MdStore inStore)
Add a store as a child to this one. |
void |
addMdStoreListener(MdStoreListener l)
Used to add an object to the list of listeners for changes in the Metadata Map |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener l)
Adds a listener to the list |
void |
changeHashKey(java.lang.String strOldId,
java.lang.String strNewId)
Change the hash key associated with an object, and send events for the removal of the old object and addition of the new object to Map. |
void |
createExternalIdentityObject(CMetadata owningObject)
This creates an ExternalIdentity object connection to owningObject for change management. |
java.lang.String |
createRefreshXMLforStore(boolean includeLocallyChangedItems,
boolean getFullObjectUpdate)
Creates XML for all objects in store. |
boolean |
deleteObject(CMetadata inObject)
Makes an object unavailable in the object store. |
void |
dispose()
Cleans up this objectStore and it's objects from it's parent. |
void |
dumpDetailHashMap()
Prints out the contents of the Detail object Map. |
void |
fireMdObjectsAdded(MdEvent e,
java.util.List ids)
Used to notify all the listeners in the listner list of modifications to the object. |
void |
fireMdObjectsModified(MdEvent e,
java.util.List items)
Used to notify all the listeners in the listner list of modifications to the object. |
void |
fireMdObjectsRemoved(MdEvent e,
java.util.List ids)
Used to notify all the listeners in the listner list of modifications to the object. |
void |
flushUpdates(java.util.List<CMetadata> updatedItems)
Flush updated objects to parent store. |
java.util.List<CMetadata> |
getChangedObjects()
Gets a List of changed objects. |
java.util.Map<java.lang.String,CMetadata> |
getDetailObjectMap()
Returns the Detail Object Map |
MdFactory |
getFactory()
Returns the factory used to create objects. |
boolean |
getIsGoToServerForMetadata()
Deprecated. isGoToServerForMetadata() should be used instead |
CMetadata |
getObject(java.lang.String strFQID)
Return object associated with ID |
MdStore |
getOwningStore()
Gets the parent store to this one |
int |
getStoreType()
Gets the type of store this is, either a MdStore.MDSTORETYPE_SERVERSTORE
or a MdStore.MDSTORETYPE_OBJECTSTORE |
boolean |
isDisposed()
Returns whether or not the store has been disposed. |
boolean |
isGoToServerForMetadata()
Tells whether or not to go to server for the metadata. |
java.lang.String |
makeID(java.lang.String shortID)
Creates a new id for an object. |
void |
removeChildStore(MdStore inStore)
Remove a store as a child of this one. |
void |
removeMdStoreListener(MdStoreListener l)
Used to remove an object from the list of listeners for changes in the Metadata Map |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener l)
Removes a listener from the list of vetoable listners |
void |
resetStates(java.util.List<CMetadata> items)
Resets all the objects in items to to set from server state or unSET. |
CMetadata |
restoreObject(java.lang.String objectID)
Restores an object to the Store so that it is available from the store. |
void |
setGoToServerForMetadata(boolean goToServer)
Tells whether or not to go to server for the metadata. |
void |
setIsGotToServerForMetadata(boolean goToServer)
Deprecated. setGoToServerForMetadata(boolean) should be used instead |
void |
setOwningStore(MdStore parent)
Sets the parent store to this one. |
void |
updateChangeListObjectIDs(java.lang.String OldReposID,
java.lang.String NewReposID)
Changes a new objects repos id for all the objects in the change list of this object store, to a specified repos id. |
void |
updateChangeListObjectIDs(java.lang.String OldReposID,
java.lang.String NewReposID,
java.lang.String targetReposID)
Changes a new objects repos id for all the objects in the change list of this object store, to a specified repos id. |
void |
updateCreatedItemsList(java.util.List<java.lang.String> items)
remove the items that have been updated from the createdItems list. |
void |
updatedMetadataAll()
|
| Field Detail |
|---|
static final int MDSTORETYPE_SERVERSTORE
static final int MDSTORETYPE_OBJECTSTORE
static final java.lang.String ExternalIdenty_Context
static final java.lang.String ExternalIdenty_ImportType
| Method Detail |
|---|
int getStoreType()
throws java.rmi.RemoteException
MdStore.MDSTORETYPE_SERVERSTORE
or a MdStore.MDSTORETYPE_OBJECTSTORE
java.rmi.RemoteException
CMetadata getObject(java.lang.String strFQID)
throws java.rmi.RemoteException
strFQID - String The ID of the object to get from the Map
java.rmi.RemoteException
java.lang.String makeID(java.lang.String shortID)
throws java.rmi.RemoteException
shortID - String
java.rmi.RemoteException
void dumpDetailHashMap()
throws java.rmi.RemoteException
java.rmi.RemoteException
void updatedMetadataAll()
throws java.rmi.RemoteException,
MdException
java.rmi.RemoteException
MdException
void changeHashKey(java.lang.String strOldId,
java.lang.String strNewId)
throws java.rmi.RemoteException
strOldId - StringstrNewId - String
java.rmi.RemoteException
void setOwningStore(MdStore parent)
throws java.rmi.RemoteException
parent - MdStore
java.rmi.RemoteException
MdStore getOwningStore()
throws java.rmi.RemoteException
java.rmi.RemoteException
void dispose()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean deleteObject(CMetadata inObject)
throws java.rmi.RemoteException
inObject - CMetadata
java.rmi.RemoteException
CMetadata restoreObject(java.lang.String objectID)
throws java.rmi.RemoteException
objectID - String
java.rmi.RemoteException
java.util.List<CMetadata> getChangedObjects()
throws java.rmi.RemoteException
java.rmi.RemoteException
void flushUpdates(java.util.List<CMetadata> updatedItems)
throws java.rmi.RemoteException
java.rmi.RemoteException
void resetStates(java.util.List<CMetadata> items)
throws java.rmi.RemoteException
items - List (NOTE: CMetadata objects in items)
java.rmi.RemoteException
void addMdStoreListener(MdStoreListener l)
throws java.rmi.RemoteException
l - MetadataListener
java.rmi.RemoteException
void removeMdStoreListener(MdStoreListener l)
throws java.rmi.RemoteException
l - MetadataListener
java.rmi.RemoteException
void fireMdObjectsModified(MdEvent e,
java.util.List items)
throws java.rmi.RemoteException
e - ChangeEvent Created like: new ChangeEvent(Object generator)items - Vector Is list of items FQID that have been added.
- Throws:
java.rmi.RemoteException
void fireMdObjectsAdded(MdEvent e,
java.util.List ids)
throws java.rmi.RemoteException
e - ChangeEvent Created like: new ChangeEvent(Object generator)items - Vector Is list of items FQID that have been added.
- Throws:
java.rmi.RemoteException
void fireMdObjectsRemoved(MdEvent e,
java.util.List ids)
throws java.rmi.RemoteException
e - ChangeEvent Created like: new ChangeEvent(Object generator)items - Vector Is list of items FQID that have been added.
- Throws:
java.rmi.RemoteException
java.util.Map<java.lang.String,CMetadata> getDetailObjectMap()
throws java.rmi.RemoteException
java.rmi.RemoteException
MdFactory getFactory()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean getIsGoToServerForMetadata()
throws java.rmi.RemoteException
isGoToServerForMetadata() should be used instead
java.rmi.RemoteException
void setIsGotToServerForMetadata(boolean goToServer)
throws java.rmi.RemoteException
setGoToServerForMetadata(boolean) should be used instead
goToServer - go for metadata
java.rmi.RemoteException
void setGoToServerForMetadata(boolean goToServer)
throws java.rmi.RemoteException
goToServer - go for metadata
java.rmi.RemoteException
boolean isGoToServerForMetadata()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isDisposed()
throws java.rmi.RemoteException
java.rmi.RemoteException
void addVetoableChangeListener(java.beans.VetoableChangeListener l)
throws java.rmi.RemoteException
l - VetoableChangeListener
java.rmi.RemoteException
void removeVetoableChangeListener(java.beans.VetoableChangeListener l)
throws java.rmi.RemoteException
l - VetoableChangeListener
java.rmi.RemoteException
void createExternalIdentityObject(CMetadata owningObject)
throws java.rmi.RemoteException
owningObject - CMetadata Object to which to attach ExternalIdentity.
java.rmi.RemoteException
void updateChangeListObjectIDs(java.lang.String OldReposID,
java.lang.String NewReposID)
throws java.rmi.RemoteException
OldReposID - String The repos of objects when they were created.NewReposID - String The project repos id if under change management, the target if not.
java.rmi.RemoteException
void updateChangeListObjectIDs(java.lang.String OldReposID,
java.lang.String NewReposID,
java.lang.String targetReposID)
throws java.rmi.RemoteException
OldReposID - String The repos of objects when they were created.NewReposID - String The project repos id if under change management, the target if not.targetReposID - String In change management is the real repos the objects will be checked into
java.rmi.RemoteException
void updateCreatedItemsList(java.util.List<java.lang.String> items)
throws java.rmi.RemoteException
items -
java.rmi.RemoteException
void addChildStore(MdStore inStore)
throws java.rmi.RemoteException
inStore -
java.rmi.RemoteException
void removeChildStore(MdStore inStore)
throws java.rmi.RemoteException
inStore -
java.rmi.RemoteException
java.lang.String createRefreshXMLforStore(boolean includeLocallyChangedItems,
boolean getFullObjectUpdate)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||