public interface IResource extends ITypeCast
RID). Clients use this interface and the
derived ICollection interface to manipulate the resources in a
repository. Every repository is controlled by a repository manager (getRepositoryManager()), which is resposible for creating resource instances
and carrying out all basic operations (create, update content or properties,
deleting, etc.). The Repository Framework knows these kinds of resources:
Normal resources: A resource has an identifier (RID) which is unique
within a CM system (getRID()) and usually has content (getContent()) and properties (getProperties()).
Collections: isCollection() returns true . The
items in a collection are called "children" and are accessed with ICollection.getChildren().
Links: getLinkType() returns LinkType.INTERNAL or LinkType.EXTERNAL. Internal
links point to other resources (in the same or a different repository),
external links point to resources usually outside the CM system (URI). The link
target for internal links is accessed with getTargetResource(). The
target can again be a link. Links to collections are themselves considered collections. A
link resource has no content but might have properties.
Version Controlled Resources: isVersioned() returns true
. A version controlled resource must be checked out to be modified (unless
the repository manager supports autoversioning).
All revisions of the content and/or properties will be recorded in a version
history (getVersionHistory()). The resources in the version history
are called "revisions".
Revisions: isRevision() returns true . A revision
provides read-only access to the properties and the content of a version of
the version controlled resource.
Deleted resources: As soon as the delete() method has been
called the resource instance is in a special state. All methods except
getRID() and getName() are prohibited and will throw an exception.
Copyright (c) SAP AG 2001-2005
| Modifier and Type | Method and Description |
|---|---|
Object |
as(Class classref)
Get a representation of this resource as the specified class.
|
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties)
Check in a new version of the resource with new content and/or properties.
|
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures)
Check in a new version of the resource with new content and/or properties.
|
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
RID expectedCheckInRID)
Check in a new version of the resource with new content and/or properties.
|
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
URI expectedCheckInURI)
Deprecated.
As of EP 5.0 SP4
|
ICheckOutInfo |
checkOut()
Check out the resource for editing.
|
IResource |
copy(RID destinationRID,
ICopyParameter param)
Copy the resource.
|
IResource |
copy(RID destinationRID,
IPosition position,
ICopyParameter param)
Copy the resource to a destination collection that supports ordered
children.
|
IResource |
copy(URI destinationURI,
ICopyParameter param)
Deprecated.
As of EP 5.0 SP5, replaced by copy() with RID parameter.
|
IResource |
copy(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated.
As of EP 5.0 SP5, replaced by copy() with RID parameter.
|
void |
delete()
Deletes this resource from the repository.
|
void |
deleteProperty(IPropertyName propName)
Removes the property.
|
void |
enableVersioning(boolean enable)
Enables or disables versioning.
|
RID |
getAccessRID()
Returns the RID that was used to create this resource object in the
IResourceFactory method call. |
URI |
getAccessURI()
Deprecated.
As of EP 5.0 SP3, replaced by
getAccessRID() |
IResourceList |
getCheckedOutResources()
Returns a list of currently checked out resources.
|
IContent |
getContent()
Returns the content of this resource.
|
IContent |
getContent(boolean handleExternalLink)
Deprecated.
As of EP 5.0 SP 5
This method is deprecated because it opens a potential security hole: The URL of an external link can have different schemas (e.g. "file:") which are all accessed with the security context of the servlet engine. This could be (ab)used to access files/resources on the local server and other systems without the security context of the logged in user.
No longer supported as of SP6: Throws a NotSupportedException if
parameter is |
IResourceContext |
getContext()
Returns the resource context
|
String |
getCreatedBy()
Get value of the system property CreatedBy.
|
Date |
getCreationDate()
Get value of the system property CreationDate
|
String |
getDescription()
Get value of the system property Description
|
String |
getDisplayName()
Returns the value of the Displayname system property or
null
if the property is not set. |
String |
getDisplayName(boolean orNameIfNull)
Returns the value of the Displayname system property or
null
if the property is not set. |
String |
getETag()
Get value of the system property ETag, reflecting the HTTP
entity tag for the unfiltered content of this resource.
|
IProperty |
getInheritedProperty(IPropertyName propName)
Get a property of the resource or inherit it.
|
String |
getLanguage()
Returns the language
|
Date |
getLastModified()
Get value of the system property LastModified
|
String |
getLastModifiedBy()
Get value of the system property LastModifiedBy.
|
LinkType |
getLinkType()
Returns the link type (NONE if the resource is not a link).
|
ILockInfo |
getLockByToken(String lockToken)
Get a LockInfo for the token.
|
ILockInfoCollection |
getLocks()
Returns a collection of all existing locks.
|
String |
getName()
Get name of the resource.
|
ICollection |
getParentCollection()
Returns the parent collection of this resource.
|
IPropertyMap |
getProperties()
Returns a map with
IProperty references for the resource. |
IPropertyMap |
getProperties(IPropertyNameList propNameList)
Returns a map with
IProperty references for the resource. |
IProperty |
getProperty(IPropertyName propName)
Get a property.
|
IRepositoryManager |
getRepositoryManager()
Get the repository manager for this resource
|
String |
getResourceType()
Returns the value of the ResourceType system property or an empty string if
the property is not set.
|
String |
getRevisionID()
Returns the identifier for this revision.
|
RID |
getRID()
Get the ID (path) of this resource.
|
IEventList |
getSupportedEvents()
Returns a collection of supported resource events and semantic events for
this resource.
|
ISupportedOptionSet |
getSupportedOptions()
Returns a collection of supported options for the resource.
|
IResource |
getTargetResource()
Returns the target resource of an internal link.
|
URL |
getTargetURL()
Returns the target URL of a link or
null if the resource is
not a link. |
IContent |
getUnfilteredContent()
Returns the content of this resource without applying content filters.
|
IContent |
getUnfilteredContent(boolean handleExternalLink)
Returns the content of this resource without applying content filters.
|
URI |
getURI()
Deprecated.
As of EP 5.0 SP3, replaced by
getRID() |
IVersionHistory |
getVersionHistory()
Returns the version history of this resource.
|
boolean |
isA(Class classtest)
Returns whether this resource has a representation as the class.
|
boolean |
isCheckedOut()
Returns
true if this resource is currently checked out. |
boolean |
isCollection()
Returns
true if this resource is a collection |
boolean |
isHidden()
Get value of the system property Hidden
|
boolean |
isLocked()
Returns
true if this resource is locked. |
boolean |
isLockedByMe()
Returns
true if this resource is locked by the current user in
the context. |
boolean |
isReadOnly()
Get value of the system property Readonly
|
boolean |
isRevision()
Returns
true if this resource is a revision. |
boolean |
isVersioned()
Returns
true if versioning is enabled for this resource. |
ILockInfo |
lock()
Lock the resource using the current user in the context.
|
ILockInfo |
lock(ILockProperties lockProperties)
Lock the resource using the current user in the context.
|
IResource |
move(RID destinationRID,
ICopyParameter param)
Move the resource's content and properties
|
IResource |
move(RID destinationRID,
IPosition position,
ICopyParameter param)
Move the resource to a destination collection that supports ordered
children.
|
IResource |
move(URI destinationURI,
ICopyParameter param)
Deprecated.
As of EP 5.0 SP5, replaced by move() with RID parameter.
|
IResource |
move(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated.
As of EP 5.0 SP5, replaced by move() with RID parameter.
|
void |
refreshLock(ILockInfo lockInfo)
Refresh the lock.
|
void |
rename(String newName)
Changes the name of this resource.
|
IResourceList |
search(IQueryExpression query,
int depth,
int maxResults,
boolean includeRevisions)
Queries the resource and optionally the collection hierarchy for resources.
|
void |
setAsCurrentVersion()
Deprecated.
As of EP 5.0 SP5 This method will fail if it's not possible to
unambigously identify the version-controlled resource to be updated
(this may happen when working resources or workspaces are used).
Instead check out the version-controlled resource, copy the version
onto it, then check it back again.
|
void |
setLinkType(LinkType linkType)
Changes the link type.
|
void |
setProperties(IPropertyMap props)
Set all properties of the resource.
|
void |
setProperties(List propChangeList)
Change the properties of the resource.
|
void |
setProperty(IProperty prop)
Sets a property.
|
void |
setTargetURL(URL url)
Changes the target URL of a link.
|
void |
undoCheckOut()
Undo a previous check out operation.
|
void |
unlock(ILockInfo lockInfo)
Unlock the resource using the current user in the context.
|
void |
update(IContent newContent,
IPropertyMap properties)
Updates the content and properties of this resource in an atomic operation.
|
void |
updateContent(IContent newContent)
Updates the content of this resource.
|
IEventList getSupportedEvents() throws ResourceException
ResourceExceptionISupportedOptionSet getSupportedOptions()
IResourceContext getContext()
IRepositoryManager getRepositoryManager()
String getName() throws ResourceException
ResourceExceptionDate getCreationDate()
null if property is not supported by the
repository.Date getLastModified()
null if property is not supported by the
repository.String getDescription()
null if property is not supported by the
repository.String getDisplayName()
null
if the property is not set.null
if the property is not set.String getDisplayName(boolean orNameIfNull)
null
if the property is not set. If the boolean parameter is true
the name (last part of the resource identifier) is used as a fallback if
the property is not set.orNameIfNull - If true, the name (last part of the resource
identifier) is used as a fallback if the DisplayName property is not
set.String getResourceType()
String getCreatedBy()
null if property is not supported by the
repository.String getLastModifiedBy()
null if property is not supported by the
repository.String getETag()
Note: The ETag of a resource is not a unique identifier.
null if etags are not supported by the
resource.String getLanguage()
URI getURI() throws ResourceException
getRID()ResourceExceptionRID getRID() throws ResourceException
getResource("/prefix-repository-a/xxx/link-to-collection-in-repository-b/xxx/test.html",
...) getRID() returns:
/prefix-repository-b/dir1/dir2/link-target/xxx/test.html A repository might provide special RIDs for revision resources to provide access to all the resources in the version history via some kind of "virtual" collection. The syntax of the revision RID is specific to each repository.
ResourceExceptionisRevision(),
getAccessRID()URI getAccessURI() throws ResourceException
getAccessRID()ResourceExceptionRID getAccessRID() throws ResourceException
IResourceFactory method call.ResourceExceptiongetRID()boolean isReadOnly()
boolean isHidden()
boolean isCollection()
true if this resource is a collectiontrue if this resource is a collectionvoid rename(String newName) throws ResourceException, NotSupportedException, AccessDeniedException
newName - The new nameResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedICollection getParentCollection() throws ResourceException, AccessDeniedException
null if this resource is the root collection. If this resource
is a revision (@link #isRevision) the returned resource is the parent
collection of the versioned controlled resource of the revision. The return
value might be null because repository manager implementation
might not support this call for revision at all or it is not possible for
some revisions, for example if the version controlled resource does not
exist anymore.ResourceExceptionAccessDeniedException - If authorization failedIContent getContent() throws ResourceException, AccessDeniedException
ResourceExceptionAccessDeniedException - If authorization failedIContent getContent(boolean handleExternalLink) throws ResourceException, AccessDeniedException
This method is deprecated because it opens a potential security hole: The URL of an external link can have different schemas (e.g. "file:") which are all accessed with the security context of the servlet engine. This could be (ab)used to access files/resources on the local server and other systems without the security context of the logged in user.
No longer supported as of SP6: Throws a NotSupportedException if
parameter is true
handleExternalLink - If true , try to read the content
from an external source, if the resource is a external link.ResourceExceptionAccessDeniedException - If authorization failedIContent getUnfilteredContent() throws ResourceException, AccessDeniedException
ResourceExceptionAccessDeniedException - If authorization failedIContent getUnfilteredContent(boolean handleExternalLink) throws ResourceException, AccessDeniedException
handleExternalLink - If true , try to read the content
from an external source, if the resource is a external link.ResourceExceptionAccessDeniedException - If authorization failedvoid delete()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid updateContent(IContent newContent) throws ResourceException, NotSupportedException, AccessDeniedException
newContent - The new contentResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedContentvoid update(IContent newContent, IPropertyMap properties) throws ResourceException, NotSupportedException, AccessDeniedException, SetPropertiesException
newContent - The new contentproperties - A map with propertiesResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedSetPropertiesException - If some properties could not be set or
removedContentIResource copy(URI destinationURI, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedExceptionIResource copy(URI destinationURI, IPosition position, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterposition - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedExceptionIResource move(URI destinationURI, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedExceptionIResource move(URI destinationURI, IPosition position, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterposition - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedExceptionIResource copy(RID destinationRID, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationRID - the RID of the destination (includes the name). All
collections in the destination RID must already exists.param - The copy parameter object, can be nullResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIResource copy(RID destinationRID, IPosition position, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationRID - the RID of the destination (includes the name). All
collections in the destination RID must already exists.position - The positioning informationparam - The copy parameter object, can be nullResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIResource move(RID destinationRID, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
destinationRID - The RID of the destination (includes the name). All
collections in the destination RID must already exists.param - The copy parameter object, can be nullResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIResource move(RID destinationRID, IPosition position, ICopyParameter param) throws ResourceException, NotSupportedException, AccessDeniedException
null .destinationRID - The RID of the destinationposition - The positioning informationparam - The copy parameter object, can be nullnullResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIPropertyMap getProperties() throws ResourceException, NotSupportedException, AccessDeniedException
IProperty references for the resource.ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIPropertyMap getProperties(IPropertyNameList propNameList) throws ResourceException, NotSupportedException, AccessDeniedException
IProperty references for the resource.propNameList - The list with the requested property names.ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid setProperties(IPropertyMap props) throws ResourceException, NotSupportedException, AccessDeniedException, SetPropertiesException
SetPropertiesException.
Note: in general, it's inefficient to use this method unless
replacing the whole property map is really what's intended.
Use setProperties(List) instead.
props - The map with the properties.ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedSetPropertiesException - If the call was succesfull but some of
the properties could not be set or removedvoid setProperties(List propChangeList) throws ResourceException, NotSupportedException, AccessDeniedException, SetPropertiesException
propChangeList - change list (contains IProperty entries for properties to be set and IPropertyName entries for properties to be removed)ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedSetPropertiesException - If the call was succesfull but some of
the properties could not be set or removedIProperty getProperty(IPropertyName propName) throws ResourceException, NotSupportedException, AccessDeniedException
propName - The property name of the property to readnull if the property was not foundResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIProperty getInheritedProperty(IPropertyName propName) throws ResourceException, NotSupportedException, AccessDeniedException
propName - The property name of the property to findnull if no property was foundResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid setProperty(IProperty prop) throws ResourceException, NotSupportedException, AccessDeniedException
prop - The property to setResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid deleteProperty(IPropertyName propName) throws ResourceException, NotSupportedException, AccessDeniedException
propName - The property name of the property to deleteResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedILockInfo lock() throws ResourceException, NotSupportedException, AccessDeniedException
ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedILockInfo lock(ILockProperties lockProperties) throws ResourceException, NotSupportedException, AccessDeniedException
lockProperties - The lock properties defining the scope, type and
time-out of the lock.ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid unlock(ILockInfo lockInfo) throws ResourceException, NotSupportedException, AccessDeniedException
lockInfo - The LockInfoResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid refreshLock(ILockInfo lockInfo) throws ResourceException, NotSupportedException, AccessDeniedException
lockInfo - The LockInfoResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedILockInfo getLockByToken(String lockToken) throws ResourceException, NotSupportedException
lockToken - TBD: Description of the incoming method parameterNotSupportedExceptionResourceExceptionILockInfoCollection getLocks() throws ResourceException, NotSupportedException, AccessDeniedException
ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedboolean isLocked()
throws ResourceException
true if this resource is locked.true if this resource is locked.ResourceExceptionboolean isLockedByMe()
throws ResourceException
true if this resource is locked by the current user in
the context.true if this resource is locked by the current user in
the context.ResourceExceptionURL getTargetURL() throws ResourceException
null if the resource is
not a link.null if the resource is
not a link.ResourceExceptionvoid setTargetURL(URL url) throws ResourceException, AccessDeniedException
url - targetURL to be setResourceExceptionAccessDeniedException - If authorization failedIResource getTargetResource() throws ResourceException
null . The method
will resolve relativ internal links and links to target resources which are
links.ResourceExceptionLinkType getLinkType() throws ResourceException
ResourceExceptionvoid setLinkType(LinkType linkType) throws ResourceException, AccessDeniedException
linkType - linkType to be setResourceExceptionAccessDeniedException - If authorization failedvoid enableVersioning(boolean enable)
throws ResourceException,
NotSupportedException,
AccessDeniedException
true /false but versioning is
already enabled/disabled.enable - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedboolean isVersioned()
throws ResourceException
true if versioning is enabled for this resource.true if versioning is enabled for this resource.ResourceExceptionboolean isRevision()
true if this resource is a revision.true if this resource is a revision.String getRevisionID()
isVersioned()) the
return value will be null .boolean isCheckedOut()
throws ResourceException
true if this resource is currently checked out.true if this resource is currently checked out.ResourceExceptionICheckOutInfo checkOut() throws ResourceException, NotSupportedException, AccessDeniedException
null if the repository
does not support the "expected check-in RID" option.ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedvoid undoCheckOut()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedICheckInInfo checkIn(IContent newContent, IPropertyMap properties, boolean ignorePropertyFailures, URI expectedCheckInURI) throws ResourceException, NotSupportedException, AccessDeniedException, ExpectedCheckInURIException
newContent - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameterignorePropertyFailures - TBD: Description of the incoming method
parameterexpectedCheckInURI - TBD: Description of the incoming method parameterResourceExceptionNotSupportedExceptionAccessDeniedExceptionExpectedCheckInURIException - Exception raised in failure
situationICheckInInfo checkIn(IContent newContent, IPropertyMap properties) throws ResourceException, NotSupportedException, AccessDeniedException
newContent - The new content. Can be null : the existing
content will be used for the new version.properties - The new properties, can be nullResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedICheckInInfo checkIn(IContent newContent, IPropertyMap properties, boolean ignorePropertyFailures) throws ResourceException, NotSupportedException, AccessDeniedException
newContent - The new content. Can be null : the existing
content will be used for the new version.properties - The new properties, can be nullignorePropertyFailures - Ignore exceptions if some or all properties
could not be set/removedResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedICheckInInfo checkIn(IContent newContent, IPropertyMap properties, boolean ignorePropertyFailures, RID expectedCheckInRID) throws ResourceException, NotSupportedException, AccessDeniedException, ExpectedCheckInRIDException
newContent - The new content, can be nullproperties - The new properties, can be nullignorePropertyFailures - Ignore exceptions if some or all properties
could not be set/removedexpectedCheckInRID - Create the new revision with this revision RID.
The check-in may fail if the new revision RID would be
different. In this case an ExpectedCheckInRID exception will be thrown
which will contain a new "expected check-in RID". To make sure that
the expectedCheckInRID actually was used, it needs to be
compared to the RID returned by ICheckInInfo.getRevisionRID()
(this is because a repository may check-in the resource although it
couldn't use the expectedCheckInRID).ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedExpectedCheckInRIDException - Exception raised in failure
situationcheckOut()IVersionHistory getVersionHistory() throws ResourceException, NotSupportedException
IVersionHistory is restricted to linear (non-branching) version histories,
therefore this method will fail if the version history is not linear.ResourceExceptionNotSupportedExceptionvoid setAsCurrentVersion()
throws ResourceException,
NotSupportedException,
AccessDeniedException
Note that IVersionControlledResource supports a more powerful update
mechanism that will actually create proper branches in the version history.
ResourceExceptionNotSupportedExceptionAccessDeniedException - If authorization failedIResourceList getCheckedOutResources() throws ResourceException, NotSupportedException, AccessDeniedException
null if no resources are checked outResourceExceptionNotSupportedExceptionAccessDeniedExceptionboolean isA(Class classtest)
ResourceImpl class. This base class will always return false
.Object as(Class classref) throws ResourceException, NotSupportedException, AccessDeniedException
ResourceImpl
class. This base class will always return null .as in interface ITypeCastclassref - TBD: Description of the incoming method parameternull .ResourceExceptionNotSupportedExceptionAccessDeniedExceptionIResourceList search(IQueryExpression query, int depth, int maxResults, boolean includeRevisions) throws ResourceException, NotSupportedException, AccessDeniedException
query - The query specificationdepth - The search depth (0, 1, or Integer.MAX_VALUEmaxResults - The maximum number of resources that will be returnedincludeRevisions - when set to true , also descend into
version history (independantly of depth)ResourceExceptionNotSupportedExceptionAccessDeniedException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice