|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectGCUBEWSResource
org.gcube.contentmanagement.contentmanager.state.Factory
public class Factory
The singleton resource of the factory port-type.
| Constructor Summary | |
|---|---|
Factory()
|
|
| Method Summary | |
|---|---|
boolean |
addActivation(ActivationRecord record)
Memorises the processing of an ActivationRecord. |
java.util.List<CollectionReference> |
create(java.lang.String pluginName,
org.w3c.dom.Element parameters)
Creates one or more CollectionManagers from input parameters. |
void |
deleteManagers(java.lang.String collectionID,
GCUBEScope... scopes)
Deletes all the managers associated with a given collection and, optionally,in one or more scopes. |
PluginContext |
getContext(java.lang.String name)
Returns the context of a plugin with a given name. |
java.lang.String[] |
getPropertyNames()
|
boolean |
knowsActivation(ActivationRecord record)
Indicates whether an activation record was previously processed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Factory()
| Method Detail |
|---|
public boolean addActivation(ActivationRecord record)
ActivationRecord.
record - the record.
true if the record was never processed before, false otherwise.public boolean knowsActivation(ActivationRecord record)
record - the record
public java.util.List<CollectionReference> create(java.lang.String pluginName,
org.w3c.dom.Element parameters)
throws java.lang.Exception
CollectionManagers from input parameters.
pluginName - the name of a plugin that can process the parameters.parameters - the parameters.
java.lang.Exception - if the resources could not be created.
public void deleteManagers(java.lang.String collectionID,
GCUBEScope... scopes)
throws java.lang.Exception
collectionID - the collection identifier.(optional) - scopes the scopes. If omitted, the managers are removed in all their scopes.
java.lang.UnsupportedOperationException - if the plugin does not support collection deletion.
java.lang.Exception - if the collection could not be deleted.
public PluginContext getContext(java.lang.String name)
throws java.lang.Exception
name - the name.
null if the plugin is unknown.
java.lang.Exceptionpublic java.lang.String[] getPropertyNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||