|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.vremanagement.resourcemanager.impl.state.PublishedScopeResource
public class PublishedScopeResource
The scope resource published in the IS
Nested Class Summary | |
---|---|
static class |
PublishedScopeResource.UnknownScopeOptionException
InvalidVREOption exception |
Method Summary | |
---|---|
void |
addResource(ScopedResource resource)
Adds a resource to PublishedScopeResource |
void |
dismiss()
Dismisses the PublishedScopeResource from the IS and the scope |
java.lang.String |
getCreator()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDesigner()
|
java.lang.String |
getDisplayName()
|
java.util.Date |
getEndTime()
|
static PublishedScopeResource |
getResource(GCUBEScope scope)
Gets the current Scope Resource |
GCUBEScope |
getScope()
|
java.util.Date |
getStartTime()
|
Type |
getType()
Returns the type of the scope. |
boolean |
isSecurityEnabled()
|
boolean |
loaded()
|
void |
loadFromLocalState(ScopeState scopeState)
Fills this PublishedResourceList with the content of the input ScopeState |
void |
publish()
Publishes the PublishedScopeResource into the IS |
void |
reload()
|
void |
removeResource(ScopedResource resource)
Removes a resource from the PublishedScopeResource |
void |
setOption(java.lang.String name,
java.lang.String value)
Sets a scope option |
void |
synchWithLocalState(ScopeState scopeState)
Synchronizes this PublishedResourceList with the content of the input ScopeState |
void |
to(ScopeState scopeState)
Fills the input ScopeState with the actual content of the PublishedResourceList |
java.lang.String |
toString()
Returns a string representation of the PublishedScopeResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void reload() throws java.lang.Exception
java.lang.Exception
public static PublishedScopeResource getResource(GCUBEScope scope) throws java.lang.Exception
scope
- the scope of the resource to load
java.lang.Exception
public void addResource(ScopedResource resource) throws java.lang.Exception
resource
-
PublishedScopeResource.UnknownScopeOptionException
java.lang.Exception
public void removeResource(ScopedResource resource) throws java.lang.Exception
resource
-
PublishedScopeResource.UnknownScopeOptionException
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
java.io.IOException
public GCUBEScope getScope()
public Type getType()
public void setOption(java.lang.String name, java.lang.String value) throws java.lang.Exception
name
- the option namevalue
- the option value
PublishedScopeResource.UnknownScopeOptionException
java.text.ParseException
java.lang.Exception
public void publish() throws java.lang.Exception
PublishedScopeResource
into the IS
java.lang.Exception
public void dismiss() throws java.lang.Exception
PublishedScopeResource
from the IS and the scope
java.lang.Exception
public java.lang.String getCreator()
public java.lang.String getDesigner()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.util.Date getStartTime()
public java.util.Date getEndTime()
public boolean isSecurityEnabled()
public boolean loaded()
public void to(ScopeState scopeState)
ScopeState
with the actual content of the PublishedResourceList
scopeState
- the list to fillpublic void loadFromLocalState(ScopeState scopeState) throws java.lang.Exception
PublishedResourceList
with the content of the input ScopeState
scopeState
- the list to load
PublishedScopeResource.UnknownScopeOptionException
- if the load fails
java.lang.Exception
public void synchWithLocalState(ScopeState scopeState) throws java.lang.Exception
PublishedResourceList
with the content of the input ScopeState
scopeState
- the list to synchronize with
PublishedScopeResource.UnknownScopeOptionException
- if the synchronization fails
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |