public class Resource
extends java.lang.Object
Constructor and Description |
---|
Resource(java.lang.Object resource,
java.lang.String type,
java.lang.String name) |
Resource(java.lang.Object resource,
java.lang.String type,
java.lang.String name,
boolean modified) |
Resource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDiscard() |
java.lang.String |
getConfiguredName() |
java.lang.String |
getETag() |
java.util.Date |
getLastModified() |
java.lang.String |
getName() |
int |
getResolvedCollectionSerializeCount() |
int |
getResolvedCollectionStartCount() |
int |
getResolvedCollectionTotalCount() |
java.util.List |
getResolvedResourcesCollection() |
java.lang.Object |
getResource() |
java.lang.String |
getResourceLocatorId() |
java.util.Map<java.lang.String,java.lang.String> |
getResourceMetadata() |
java.lang.String |
getType() |
boolean |
isCachedInSession() |
boolean |
isLink() |
boolean |
isModified() |
void |
releaseResource() |
void |
setCachedInSession(boolean cachedInSession) |
void |
setDiscard(boolean discard) |
void |
setETag(java.lang.String etag) |
void |
setLastModified(java.util.Date lastModified) |
void |
setLink(boolean link) |
void |
setModified(boolean modified) |
void |
setName(java.lang.String name) |
void |
setResolvedCollectionStartCount(int resolvedCollectionStartCount) |
void |
setResolvedCollectionTotalCount(int resolvedCollectionTotalCount) |
void |
setResolvedResourcesCollection(java.util.List resolvedResourcesCollection) |
void |
setResourceLocatorId(java.lang.String resourceLocatorId) |
void |
setResourceMetadata(java.lang.String key,
java.lang.String value) |
void |
setType(java.lang.String type) |
public Resource(java.lang.Object resource, java.lang.String type, java.lang.String name)
public Resource(java.lang.Object resource, java.lang.String type, java.lang.String name, boolean modified)
public Resource(Resource resource)
public java.lang.String getResourceLocatorId()
public void setResourceLocatorId(java.lang.String resourceLocatorId)
public void setDiscard(boolean discard)
public boolean canDiscard()
public boolean isCachedInSession()
public void setCachedInSession(boolean cachedInSession)
public void setResourceMetadata(java.lang.String key, java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getResourceMetadata()
public java.lang.Object getResource()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public boolean isModified()
public boolean isLink()
public void setLink(boolean link)
public void setModified(boolean modified)
public void setLastModified(java.util.Date lastModified)
public java.util.Date getLastModified()
public java.lang.String getETag()
public void setETag(java.lang.String etag)
public java.util.List getResolvedResourcesCollection()
public void setResolvedResourcesCollection(java.util.List resolvedResourcesCollection)
public int getResolvedCollectionSerializeCount()
public int getResolvedCollectionTotalCount()
public int getResolvedCollectionStartCount()
public void setResolvedCollectionTotalCount(int resolvedCollectionTotalCount)
public void setResolvedCollectionStartCount(int resolvedCollectionStartCount)
public java.lang.String getConfiguredName()
public void releaseResource() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException