|
SAP NetWeaver '04 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ResourceException | |
| com.sapportals.wcm.rendering.uicommand | Contains interfaces to render and execute commands for one or more resources. |
| com.sapportals.wcm.repository | Contains the repository framework interfaces and classes. |
| com.sapportals.wcm.repository.filter | Contains interfaces and classes to define repository filters. |
| com.sapportals.wcm.repository.manager | Contains interfaces for repository managers. |
| com.sapportals.wcm.repository.manager.entrypoints | API for implementing entry point providers
Package Specification
Purpose
The entrypoints package contains interfaces and abstract
classes, which are offering all neccessary methods to act as an entry points provider. |
| com.sapportals.wcm.repository.manager.entrypoints.context | |
| com.sapportals.wcm.repository.search | Contains interfaces for search sub-managers. |
| com.sapportals.wcm.repository.security | Contains interfaces for ACL security managers. |
| com.sapportals.wcm.repository.service | Contains the repository service factory interface. |
| com.sapportals.wcm.repository.service.discussion | The Discussion Thread Repository Service is responsible for creating, deleting and keeping track of discussions. |
| com.sapportals.wcm.repository.service.serviceacl | Provides a service to manage ACLs of services for resources. |
| com.sapportals.wcm.repository.service.statemanagement | Provides a service that keeps track of the status of resources. |
| com.sapportals.wcm.repository.service.timebasedpublish | Provides a service that controls when resources in a repository are visible or hidden. |
| com.sapportals.wcm.repository.so | Contains interfaces for semantic objects. |
| com.sapportals.wcm.repository.util | Provides a service to support the handling of resource types. |
| com.sapportals.wcm.service.indexmanagement | Provides a service for managing indexes. |
| com.sapportals.wcm.service.indexmanagement.retrieval.classification | Provides functions for taxonomies and classification. |
| com.sapportals.wcm.service.indexmanagement.retrieval.search | Provides functions for searching and textmining. |
| com.sapportals.wcm.service.relation | Provides a service to persist relationships between relation operands. |
| com.sapportals.wcm.service.relation.operands | Defines objects for which relationships can be specified. |
| com.sapportals.wcm.service.urlgenerator | Provides a service that returns URLs to access resources in the CM system. |
| Uses of ResourceException in com.sapportals.wcm.rendering.uicommand |
| Methods in com.sapportals.wcm.rendering.uicommand that throw ResourceException | |
protected IResource |
AbstractCommand.createResource(java.lang.String uri)
creates an IResource from the given parameters and returns it. |
protected IResource |
AbstractCommand.resolveLink()
returns either the current resource, or the target of the current resource, if the current resource is an internal link |
protected IResource |
AbstractUICommand.createResource(java.lang.String uri)
Creates a IResource for a given uri |
protected IResource |
AbstractUICommand.resolveLink()
Returns either the current resource, or the target of the current resource, if the current resource is an internal link |
| Uses of ResourceException in com.sapportals.wcm.repository |
| Subclasses of ResourceException in com.sapportals.wcm.repository | |
class |
AbstractPropertyException
Abstract base class for property exceptions. |
class |
AccessDeniedException
Access to a resource or property is denied because the user does not have the required authorization. |
class |
AuthorizationRequiredException
The user is not authorized. |
class |
CheckedOutException
The resource is checked out by another user. |
class |
ExpectedCheckInRIDException
The RID of the new revision is different from the RID that the application excepted when chacking out. |
class |
ExpectedCheckInURIException
Deprecated. as of NW04. |
class |
ExternalLinkException
The requested RID contains an external link. |
class |
IllegalPropertyNameException
Raised when a property name was not acceptable. |
class |
IncompleteOperationException
An operation did not complete because of precondition failures. |
class |
InternalLinkException
The requested RID contains an internal link to a collection. |
class |
InvalidArgumentException
One ore more invalid values where provided for the parameters of a method. |
class |
InvalidNameException
The application tried to use a invalid resource name |
class |
InvalidPositionException
The required positioning was not valid (usually because the referenced collection member did not exist). |
class |
InvalidTargetException
An invalid target was used for a copy or move operation. |
class |
InvalidUriException
An invalid URI was used. |
class |
IOErrorException
An IO error occured while trying to access a resource. |
class |
LabelAlreadyExistsException
The application tried add a label that already exists in the version history. |
class |
LinkLoopException
The target RID specified when creating or updating am internal link is also a link and would cause an loop. |
class |
LockedException
The resource was locked by another user. |
class |
LockNotFoundException
The requested lock does not exist. |
class |
MethodNotAllowedException
The resource does not support the operation |
class |
NameAlreadyExistsException
The application tried to use a name for a new resource that already exists in the collection. |
class |
NoContentException
The resource has no content |
class |
NoRevisionException
The resource is not a revision resource. |
class |
NotCheckedOutException
The resource is not checked out |
class |
NotOrderedException
An attempt was made to perform an ordering operation on an unordered collection. |
class |
NotSupportedException
The repository manager does not support the operation. |
class |
NotVersionedException
The application tried to check out a resource that is not versioned. |
class |
PropertyMandatoryException
The property could not be removed because it is mandatory. |
class |
PropertyNameTooLongException
Raised when a property name was too long. |
class |
PropertyReadOnlyException
The property cannot be changed because it is read-only. |
class |
PropertyTypeLostException
Raised when a property was set, but the repository didn't support the desired type. |
class |
PropertyTypeMismatchException
Raised when an attempt was made to set a protected property with a non-applicable data type. |
class |
PropertyUnchangedException
Raised when a property change couldn't be commited due to a failed dependency on another change. |
class |
PropertyValueTooBigException
Raised when a property value was too big. |
class |
ResourceIsLinkException
This exception is thrown during copy or move operations if the
CopyParameter has copyInternalLink or copyExternalLink set to
true and links are encountered during a deep copy operation.
|
class |
ResourceNotCollectionException
Indicates that the resource has changed to a non-collection since the IResource object was obtained. |
class |
ResourceNotFoundException
Indicates that a resource could not be found. |
class |
ResourceReadOnlyException
The resource is read-only. |
class |
RevisionResourceException
The operation is not available because the resource is a revision. |
class |
ServiceUnavailableException
A service is not available. |
class |
SetPropertiesException
This exception indicates errors during a call. |
class |
UnassignableNameException
Raised when the name can not be assigned because (1) a "similar" name already exists (for instance, if "a" already exists in a case-preserving but not case-sensitive repository, and creation of "A" was attempted) or (2) the name is syntactically legal, but can not be reassigned to a new resource (stable names for versions and version histories). |
class |
VersionHasDescendantsException
The checkout operation failed because the version to be checked out has descendants in it's version history and the resulting version history fork is not allowed in current context. |
class |
VersionHistoryInUseException
ResourceException thrown if someone tries to create a Vcr in a workspace that already contains a vcr with the same version history. |
class |
VersionIsCheckedOutException
The checkout operation failed because the version to be checked out is already the checked out version of some other version controlled resource and the resulting version history fork is not allowed in current context. |
class |
VirusContentException
This exception is raised when a check reveals that content being read/written possibly contains a Virus. |
| Methods in com.sapportals.wcm.repository that return ResourceException | |
ResourceException |
ResourceException.getNextResourceException()
Returns the next ResourceException or null |
ResourceException |
CopyParameter.getFirstResourceException()
|
ResourceException |
ResourceErrors.getResourceException()
Returns a reference to the first exception. |
ResourceException |
ICopyParameter.getFirstResourceException()
Get the first resource exception. |
ResourceException |
PropertyChangeResult.getResourceException()
Returns the exception that occured in the property manager when setting the property. |
| Methods in com.sapportals.wcm.repository with parameters of type ResourceException | |
void |
ResourceException.setNextResourceException(ResourceException nextEx)
Sets a reference to the next ResourceException |
void |
ResourceErrors.append(ResourceException ex)
Appends the exception to the list |
| Methods in com.sapportals.wcm.repository that throw ResourceException | |
IResource |
IExtendedCollection.createExternalLink(java.lang.String name,
IUri absoluteTargetUri,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an external link, compatible to LinkType.EXTERNAL |
IResource |
IExtendedCollection.createInternalDynamicLink(java.lang.String name,
RID targetRid,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an internal link that automatically follows the target resource and disappears when the link target disappears. |
IResource |
IExtendedCollection.createInternalStaticLink(java.lang.String name,
RID targetRid,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an internal link, compatible to LinkType.INTERNAL |
ICollection |
IExtendedCollection.createWorkspace(java.lang.String name,
IPosition position)
Creates a new workspace resource. |
IResource |
IExtendedCollection.createVersionControlledResource(RID baseRevisionRid,
java.lang.String name,
IPosition position)
If called on a workspace controlled collection, a new version controlled resource based on the given revision is created |
IResourceList |
IExtendedCollection.getChildren(java.lang.Boolean visible,
java.lang.Boolean collections,
java.lang.Boolean links)
Returns a filtered list of the resources in this collection. |
boolean |
PropertySelectorItem.pass(IProperty checkProp)
checks, if the given property will pass this selector or not. |
IUri |
IExternalLinkResource.getTargetUri()
|
boolean |
IExternalLinkResource.isPermanent()
|
void |
IExternalLinkResource.setTargetUri(IUri target)
Sets the link target. |
java.util.List |
Property.getValues()
|
java.lang.Object |
Property.getValue()
|
java.lang.String |
Property.getAttribute(java.lang.String name)
|
java.util.Properties |
Property.getAttributes()
|
protected void |
Property.validateType(java.lang.Object v)
Validates the instance of the property value |
static boolean |
Property.isSystemProperty(IPropertyName propName)
Returns true if it is the name of a system property |
static IProperty |
Property.createCreatedByProp(java.lang.String value)
|
static IProperty |
Property.createLastModifiedByProp(java.lang.String value)
|
static IProperty |
Property.createCreationDateProp(java.util.Date date)
|
static IProperty |
Property.createHiddenProp(boolean value)
|
static IProperty |
Property.createLastModifiedProp(java.util.Date date)
|
static IProperty |
Property.createDescriptionProp(java.lang.String value)
|
static IProperty |
Property.createDisplaynameProp(java.lang.String value)
|
static IProperty |
Property.createReadOnlyProp(boolean value)
|
static IProperty |
Property.createContentLengthProp(long length)
|
static IProperty |
Property.createContentTypeProp(java.lang.String value)
|
static IProperty |
Property.createETagProp(java.lang.String value)
|
static IProperty |
Property.createContentLanguageProp(java.lang.String value)
|
static IProperty |
Property.createResourceTypeProp(java.lang.String value)
|
void |
MutableProperty.setIntValue(int value)
|
void |
MutableProperty.setDateValue(java.util.Date value)
|
void |
MutableProperty.setDateValueFromLong(long value)
|
void |
MutableProperty.setStringValue(java.lang.String value)
|
void |
MutableProperty.setLongIntValue(long value)
|
void |
MutableProperty.setBooleanValue(boolean value)
|
void |
MutableProperty.setValues(java.util.List values)
|
void |
MutableProperty.addValue(java.lang.Object value)
|
void |
MutableProperty.setValue(int index,
java.lang.Object value)
|
void |
MutableProperty.removeValue(int index)
|
void |
MutableProperty.setAttribute(java.lang.String name,
java.lang.String value)
|
void |
MutableProperty.setAttributes(java.util.Properties attributes)
|
void |
MutableProperty.removeAttribute(java.lang.String name)
|
IResource |
IInternalLinkResource.getTargetResource()
Gets the link target. |
RID |
IInternalLinkResource.getTargetRID()
Gets the link target. |
void |
IInternalLinkResource.setTargetRID(RID target)
Sets the link target. |
boolean |
IInternalLinkResource.isDynamic()
|
boolean |
IInternalLinkResource.isPermanent()
|
void |
IVersionController.enable(IResourceList modifiedResources)
Enables child version controlling for this collection -- if a new non-collection child is created it will be put under version control immediately and automatically. |
void |
IVersionController.disable(boolean disableChildVersioning)
Disables child version controlling for this collection. |
boolean |
IVersionController.isEnabled()
|
void |
ResourceContext.setObjectValue(java.lang.String name,
java.lang.Object value)
|
void |
ResourceContext.setValue(java.lang.String name,
java.lang.String value)
|
RID |
IWorkspaceControlledResource.getWorkspaceRID()
|
RID |
IWorkingResource.getAutoUpdateVCR()
|
ICheckOutInfo2 |
IVersionResource.checkOut(boolean forkOk)
Checkout the version. |
IResourceList |
IVersionResource.getCheckedOutResources()
|
java.util.Set |
IVersionResource.getCheckInForkBehaviour()
|
java.util.Set |
IVersionResource.getCheckOutForkBehaviour()
|
IRidSet |
IVersionResource.getCheckedOutRIDs()
|
IResourceList |
IVersionResource.getPredecessorResources()
|
IRidSet |
IVersionResource.getPredecessorRIDs()
|
IResource |
IVersionResource.getVersionHistoryResource()
|
RID |
IVersionResource.getVersionHistoryRID()
|
IResourceList |
IVersionResource.getSuccessorResources()
|
IRidSet |
IVersionResource.getSuccessorRIDs()
|
void |
IVersionResource.addLabel(java.lang.String labelName)
Adds the given label if and only if it didn't exist before in the version's version history. |
void |
IVersionResource.setLabel(java.lang.String labelName)
Sets the given label on the version (removing it from other versions if present) |
void |
IVersionResource.removeLabel(java.lang.String labelName)
Removes the given label from the resource if present (removing non-existing labels should be signaled through an exception) |
java.util.Set |
IVersionResource.getLabelSet()
|
boolean |
IBindController.createBind(java.lang.String memberName,
IPosition position,
RID targetRid,
boolean overwrite)
Adds a new member name to the collection referencing the identified resource. |
boolean |
IBindController.createBind(java.lang.String memberName,
IPosition position,
IResource targetResource,
boolean overwrite)
Adds a new member name to the collection referencing the identified resource. |
IRidSet |
IWorkspaceResource.getCheckOutSet()
Returns a set containing all checked-out resources that belong to the workspace identified by this resource. |
IRidSet |
IResourceMetadata.getWorkspaceCollectionSet()
Returns a set of collections that are able to contain/create workspace resources. |
IRidSet |
IResourceMetadata.getVersionHistoryCollectionSet()
Returns a set of collections that are used to store version history resources. |
boolean |
Selector.check(IPropertyMap properties)
checks, if the provided map of properties will pass all PropertySelectorItem
instances defined within this class. |
IResource |
IResourceFactory.getResource(URI uri,
IResourceContext context)
Deprecated. As of EP 5.0 SP3, replaced by getResource() method with RID parameter. |
IResource |
IResourceFactory.getResource(URI uri,
IResourceContext context,
boolean createCollections)
Deprecated. As of EP 5.0 SP3, replaced by getResource() method with RID parameter. |
IResource |
IResourceFactory.getResource(RID rid,
IResourceContext context)
Returns a resource object instance for the given resource identifier and context. |
java.lang.Object |
IResourceFactory.getObject(RID rid,
IResourceContext context,
java.lang.Class asClass)
Returns a resource object converted into a semantic object for the given resource identifier and context. |
IResource |
IResourceFactory.getResource(RID rid,
IResourceContext context,
boolean createCollections)
Returns a resource object instance for the given RID and context. |
IResource |
IResourceFactory.getResource(RID rid,
boolean resolveInternalLinks,
IResourceContext context)
Returns a resource object instance for the given RID and context. |
IResourceList |
IResourceFactory.getResources(IUriList uriList,
ResourceErrors errors,
IResourceContext context)
Deprecated. As of EP 5.0 SP3, replaced by getResources() method with IRidList parameter. |
IResourceList |
IResourceFactory.getResources(IRidList ridList,
ResourceErrors errors,
IResourceContext context)
Returns a list of resource instances for an array of resource identifiers. |
IResourceList |
IResourceFactory.getResources(IRidList ridList,
ResourceErrors errors,
java.lang.String[] permissionNames,
IResourceContext context)
Returns a list of resource instances for an array of resource identifiers and removes resources without the specified permission(s) from the result list. |
IResourceList |
IResourceFactory.getResources(IRidList ridList,
java.util.Map propertyMaps,
ResourceErrors errors,
IResourceContext context)
Returns a list of resource instances for a list of resource identifiers and possible {@IPropertyMap}s for the resources. |
IResourceList |
IResourceFactory.getResources(IRidList ridList,
java.util.Map propertyMaps,
ResourceErrors errors,
java.lang.String[] permissionNames,
IResourceContext context)
Returns a list of resource instances for a list of resource identifiers and possible {@IPropertyMap}s for the resources. |
boolean |
IResourceFactory.checkExistence(URI uri,
IResourceContext context)
Deprecated. As of EP 5.0 SP3, replaced by method with RID parameter. |
boolean |
IResourceFactory.checkExistence(RID rid,
IResourceContext context)
Returns true if a resource exists for the given resource
identifier.
|
IRepositoryServiceFactory |
IResourceFactory.getServiceFactory()
Returns a instance of the ServiceFactory |
IManagerFactory |
IResourceFactory.getManagerFactory()
Returns a instance of the ManagerFactory |
IFilterFactory |
IResourceFactory.getFilterFactory()
Returns a instance of the FilterFactory |
IResourceContext |
IResourceFactory.getServiceContext()
Returns a new resource context for services with an anonymous user |
IResourceContext |
IResourceFactory.getServiceContext(java.lang.String userID)
Returns a new resource context for services with an anonymous user |
java.util.List |
IProperty.getValues()
Returns the property values if this is a multi-valued property. |
java.lang.Object |
IProperty.getValue()
Returns the property value as a Object if this is not a multi-valued property. |
java.lang.String |
IProperty.getAttribute(java.lang.String name)
Get the value of an attribute |
java.util.Properties |
IProperty.getAttributes()
Returns a collection of attributes |
IResource |
IVersionHistoryResource.getRootVersionResource()
|
RID |
IVersionHistoryResource.getRootVersionRID()
|
IRidSet |
IVersionHistoryResource.getVersionControlledResourceRIDs()
|
IRidSet |
IVersionHistoryResource.getVersionControlledResourceRIDs(RID scope)
|
RID |
IVersionHistoryResource.getVersionRIDByLabel(java.lang.String label)
|
IResource |
IVersionHistoryResource.getVersionResourceByLabel(java.lang.String label)
|
IResourceList |
IVersionHistoryResource.getVersionResourceSet()
|
IRidSet |
IVersionHistoryResource.getVersionRidSet()
|
IUri |
IOrderableCollection.getOrderingType()
Returns information about the collection's ordering, where the following URIs are reserved: "DAV:unordered": unordered collection "DAV:custom": client-maintained ordering, no additional information about the ordering semantics available Any other URI identifies an ordering for which additional information semantics MAY be available at the given URI |
void |
IOrderableCollection.setOrderingType(IUri orderingType)
Sets the collection's ordering type. |
IEventList |
IResource.getSupportedEvents()
Returns a collection of supported resource events and semantic events for this resource. |
java.lang.String |
IResource.getName()
Get name of the resource. |
URI |
IResource.getURI()
Deprecated. As of EP 5.0 SP3, replaced by IResource.getRID() |
RID |
IResource.getRID()
Get the ID (path) of this resource. |
URI |
IResource.getAccessURI()
Deprecated. As of EP 5.0 SP3, replaced by IResource.getAccessRID() |
RID |
IResource.getAccessRID()
Returns the RID that was used to create this resource object in
IResourceFactory.getResource |
void |
IResource.rename(java.lang.String newName)
Changes the name of this resource. |
ICollection |
IResource.getParentCollection()
Returns the parent collection of this resource. |
IContent |
IResource.getContent()
Returns the content of this resource. |
IContent |
IResource.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 |
IContent |
IResource.getUnfilteredContent()
Returns the content of this resource without applying content filters. |
IContent |
IResource.getUnfilteredContent(boolean handleExternalLink)
Returns the content of this resource without applying content filters. |
void |
IResource.delete()
Deletes this resource from the repository. |
void |
IResource.updateContent(IContent newContent)
Updates the content of this resource. |
void |
IResource.update(IContent newContent,
IPropertyMap properties)
Updates the content and properties of this resource in an atomic operation. |
IResource |
IResource.copy(URI destinationURI,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by copy() with RID parameter. |
IResource |
IResource.copy(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by copy() with RID parameter. |
IResource |
IResource.move(URI destinationURI,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by move() with RID parameter. |
IResource |
IResource.move(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by move() with RID parameter. |
IResource |
IResource.copy(RID destinationRID,
ICopyParameter param)
Copy the resource. |
IResource |
IResource.copy(RID destinationRID,
IPosition position,
ICopyParameter param)
Copy the resource to a destination collection that supports ordered children. |
IResource |
IResource.move(RID destinationRID,
ICopyParameter param)
Move the resource's content and properties |
IResource |
IResource.move(RID destinationRID,
IPosition position,
ICopyParameter param)
Move the resource to a destination collection that supports ordered children. |
IPropertyMap |
IResource.getProperties()
Returns a map with IProperty references for the resource. |
IPropertyMap |
IResource.getProperties(IPropertyNameList propNameList)
Returns a map with IProperty references for the resource. |
void |
IResource.setProperties(IPropertyMap props)
Set all properties of the resource. |
void |
IResource.setProperties(java.util.List propChangeList)
Change the properties of the resource. |
IProperty |
IResource.getProperty(IPropertyName propName)
Get a property. |
IProperty |
IResource.getInheritedProperty(IPropertyName propName)
Get a property of the resource or inherit it. |
void |
IResource.setProperty(IProperty prop)
Sets a property. |
void |
IResource.deleteProperty(IPropertyName propName)
Removes the property. |
ILockInfo |
IResource.lock()
Lock the resource using the current user in the context. |
ILockInfo |
IResource.lock(ILockProperties lockProperties)
Lock the resource using the current user in the context. |
void |
IResource.unlock(ILockInfo lockInfo)
Unlock the resource using the current user in the context. |
void |
IResource.refreshLock(ILockInfo lockInfo)
Refresh the lock. |
ILockInfo |
IResource.getLockByToken(java.lang.String lockToken)
Get a LockInfo for the token. |
ILockInfoCollection |
IResource.getLocks()
Returns a collection of all existing locks. |
boolean |
IResource.isLocked()
Returns true if this resource is locked. |
boolean |
IResource.isLockedByMe()
Returns true if this resource is locked by the current user in
the context. |
URL |
IResource.getTargetURL()
Returns the target URL of a link or null if the resource is
not a link. |
void |
IResource.setTargetURL(URL url)
Changes the target URL of a link. |
IResource |
IResource.getTargetResource()
Returns the target resource of an internal link. |
LinkType |
IResource.getLinkType()
Returns the link type (NONE if the resource is not a link). |
void |
IResource.setLinkType(LinkType linkType)
Changes the link type. |
void |
IResource.enableVersioning(boolean enable)
Enables or disables versioning. |
boolean |
IResource.isVersioned()
Returns true if versioning is enabled for this resource. |
boolean |
IResource.isCheckedOut()
Returns true if this resource is currently checked out. |
ICheckOutInfo |
IResource.checkOut()
Check out the resource for editing. |
void |
IResource.undoCheckOut()
Undo a previous check out operation. |
ICheckInInfo |
IResource.checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
URI expectedCheckInURI)
Deprecated. As of EP 5.0 SP4 |
ICheckInInfo |
IResource.checkIn(IContent newContent,
IPropertyMap properties)
Check in a new version of the resource with new content and/or properties. |
ICheckInInfo |
IResource.checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures)
Check in a new version of the resource with new content and/or properties. |
ICheckInInfo |
IResource.checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
RID expectedCheckInRID)
Check in a new version of the resource with new content and/or properties. |
IVersionHistory |
IResource.getVersionHistory()
Returns the version history of this resource. |
void |
IResource.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. |
IResourceList |
IResource.getCheckedOutResources()
Returns a list of currently checked out resources. |
java.lang.Object |
IResource.as(java.lang.Class classref)
Get a representation of this resource as the specified class. |
IResourceList |
IResource.search(IQueryExpression query,
int depth,
int maxResults,
boolean includeRevisions)
Queries the resource and optionally the collection hierarchy for resources. |
ICheckOutInfo |
ICheckInInfo2.getCheckOutInfo()
|
java.lang.String |
Content.getEntityTag()
|
void |
Content.setEntityTag(java.lang.String entityTag)
|
java.util.Date |
Content.getExpiryDate()
|
java.lang.String |
Content.getLanguage()
|
java.util.Date |
Content.getLastModified()
|
void |
Content.setLastModified(java.util.Date lastModified)
|
IRidSet |
IBindableResource.getBindings()
|
IUri |
IBindableResource.getGloballyUniqueId()
|
boolean |
IBindableResource.supportsAdditionalBinds()
|
static IResourceFactory |
ResourceFactory.getInstance()
Returns a reference to the resource factory instance. |
java.lang.String |
IEntityMetadata.getEntityTag()
Returns the the entity-tag for the content (see RFC2616, section 3.11) and RFC2616, section 14.19). |
java.util.Date |
IEntityMetadata.getExpiryDate()
|
java.lang.String |
IEntityMetadata.getLanguage()
|
java.util.Date |
IEntityMetadata.getLastModified()
|
void |
IMutableProperty.setIntValue(int value)
Sets the property value if the type ist PropertyType.INTEGER |
void |
IMutableProperty.setDateValue(java.util.Date value)
Sets the property value if the type ist PropertyType.DATE |
void |
IMutableProperty.setDateValueFromLong(long value)
Sets the property value if the type ist PropertyType.DATE |
void |
IMutableProperty.setStringValue(java.lang.String value)
Sets the property value if the type ist PropertyType.STRING |
void |
IMutableProperty.setLongIntValue(long value)
Sets the property value if the type ist PropertyType.LONG |
void |
IMutableProperty.setBooleanValue(boolean value)
Sets the property value if the type ist PropertyType.BOOLEAN |
void |
IMutableProperty.setValues(java.util.List values)
Sets all values of a multi-value property |
void |
IMutableProperty.addValue(java.lang.Object value)
Adds a value to the list for a multi-value property |
void |
IMutableProperty.setValue(int index,
java.lang.Object value)
Set a value of a multi-value property |
void |
IMutableProperty.removeValue(int index)
Remove a value of a multi-value property |
void |
IMutableProperty.setAttribute(java.lang.String name,
java.lang.String value)
Set an attribute |
void |
IMutableProperty.setAttributes(java.util.Properties attributes)
Set the complete collection of attributes |
void |
IMutableProperty.removeAttribute(java.lang.String name)
Removes a attribute |
void |
IMutableEntityMetadata.setEntityTag(java.lang.String entityTag)
|
void |
IMutableEntityMetadata.setLastModified(java.util.Date lastModified)
|
java.util.Map |
ICollectionVersionResource.getVersionControlledBindingSet()
|
IUri |
ICollectionVersionResource.getOrderingType()
Returns information about the collection version's ordering, where the following URIs are reserved: "DAV:unordered": unordered collection "DAV:custom": client-maintained ordering, no additional information about the ordering semantics available Any other URI identifies an ordering for which additional information semantics MAY be available at the given URI |
java.lang.String |
ILink.getURL()
Returns the target URL |
LinkType |
ILink.getLinkType()
Returns the link type |
RID |
ICheckOutInfo2.getWorkingResourceRID()
|
void |
IResourceContext.setValue(java.lang.String name,
java.lang.String value)
Add/update a name/value pair |
void |
IResourceContext.setObjectValue(java.lang.String name,
java.lang.Object value)
Add/update a name/value pair |
IResourceList |
ICollection.getChildren()
Returns a list of all resources in the collection |
IResourceList |
ICollection.getChildren(boolean visible,
boolean collections,
boolean links)
Returns a filtered list of the resources in this collection. |
int |
ICollection.getChildrenCount(boolean visible,
boolean collections,
boolean links)
Returns the number of children in the collection |
IResourceList |
ICollection.getChildren(Selector childrenSelector,
Collator sortBy,
IPropertyNameList propertyPrefill)
Returns the children of this collection. |
IResourceList |
ICollection.getChildren(Selector childrenSelector,
Collator sortBy,
IPropertyNameList propertyPrefill,
java.lang.String[] permissionNames)
Returns the children of this collection. |
boolean |
ICollection.hasChildren()
True if the collection has at least one child resource |
OrderType |
ICollection.getOrderType()
Returns the order type of a collection |
void |
ICollection.setOrderType(OrderType orderType)
Set the order type of a collection |
void |
ICollection.reorder(IReorderList list)
Change the position of some or all resources in an ordered collection. |
ICollection |
ICollection.createCollection(java.lang.String name,
IPropertyMap properties)
Creates a new sub collection in a collection. |
ICollection |
ICollection.createCollection(java.lang.String name,
IPosition position,
IPropertyMap properties)
Creates a new sub collection in a collection that supports ordering. |
ICollection |
ICollection.createCollection(java.lang.String name,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates a new sub collection in a collection. |
ICollection |
ICollection.createCollection(java.lang.String name,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates a new sub collection in a collection that supports ordering. |
IResource |
ICollection.createResource(java.lang.String name,
IPropertyMap properties,
IContent content)
Creates a new resource in a collection. |
IResource |
ICollection.createResource(java.lang.String name,
IPosition position,
IPropertyMap properties,
IContent content)
Creates a new resource in a collection that supports ordering. |
IResource |
ICollection.createResource(java.lang.String name,
IPropertyMap properties,
IContent content,
boolean ignorePropertyFailures)
Creates a new resource in a collection. |
IResource |
ICollection.createResource(java.lang.String name,
IPosition position,
IPropertyMap properties,
IContent content,
boolean ignorePropertyFailures)
Creates a new resource in a collection that supports ordering. |
ILockInfo |
ICollection.createResource(java.lang.String name,
ILockProperties lockProperties)
Creates a empty resource that is initially locked (lock null resource) |
IResource |
ICollection.createLink(java.lang.String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties)
Creates a new link in a collection. |
IResource |
ICollection.createLink(java.lang.String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties)
Creates a new link in a collection that supports ordering. |
IResource |
ICollection.createLink(java.lang.String name,
URL targetURL,
LinkType linkType,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates a new link in a collection. |
IResource |
ICollection.createLink(java.lang.String name,
URL targetURL,
LinkType linkType,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates a new link in a collection that supports ordering. |
ICheckInInfo2 |
IVersionControlledResource.checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
RID expectedCheckInRID,
boolean forkOk,
boolean keepCheckedOut)
Check in a new version of the resource with new content and/or properties. |
ICheckOutInfo2 |
IVersionControlledResource.checkOut(boolean applyToVersion,
boolean forkOk)
Checkout the version controlled resource or it's checked-in version. |
IName |
IVersionControlledResource.getAutoVersioningMode()
|
IResource |
IVersionControlledResource.getCheckedInResource()
|
RID |
IVersionControlledResource.getCheckedInRID()
|
IResource |
IVersionControlledResource.getCheckedOutResource()
|
RID |
IVersionControlledResource.getCheckedOutRID()
|
java.util.Set |
IVersionControlledResource.getCheckInForkBehaviour()
|
java.util.Set |
IVersionControlledResource.getCheckOutForkBehaviour()
|
java.util.Set |
IVersionControlledResource.getEclipsedSet()
(version controlled collection only) |
IResourceList |
IVersionControlledResource.getPredecessorResources()
|
IRidSet |
IVersionControlledResource.getPredecessorRIDs()
|
IResource |
IVersionControlledResource.getVersionHistoryResource()
|
RID |
IVersionControlledResource.getVersionHistoryRID()
|
IRidSet |
IVersionControlledResource.updateFromVersion(IResource version)
update content and dead properties from a specific version. |
IRidSet |
IVersionControlledResource.updateFromVersion(RID version)
update content and dead properties from a specific version. |
| Constructors in com.sapportals.wcm.repository with parameters of type ResourceException | |
PropertyChangeResult(IPropertyName propertyName,
java.lang.Integer propChangeIdx,
ResourceException ex)
Construct a new PropertyChangeResult. |
|
IncompleteOperationException(ResourceException firstException,
URI resourceID)
Deprecated. as of NW04. URI migrated to RID . |
|
IncompleteOperationException(java.lang.String msg,
ResourceException firstException,
URI resourceID)
Deprecated. as of NW04. URI migrated to RID . |
|
IncompleteOperationException(ResourceException firstException,
RID resourceID)
Constructs a new exception |
|
IncompleteOperationException(java.lang.String msg,
ResourceException firstException,
RID resourceID)
Constructs a new exception |
|
| Constructors in com.sapportals.wcm.repository that throw ResourceException | |
Property(IPropertyName name,
java.lang.String value)
Construct a new property of type STRING. |
|
Property(IPropertyName name,
java.util.Date value)
Construct a new property of type DATE. |
|
Property(IPropertyName name,
java.lang.Boolean value)
Construct a new property of type BOOLEAN. |
|
Property(IPropertyName name,
java.lang.Integer value)
Construct a new property of type INTEGER. |
|
Property(IPropertyName name,
java.lang.Long value)
Construct a new property of type LONG. |
|
Property(IPropertyName name,
XMLMarkup value)
Construct a new property of type XML. |
|
Property(IPropertyName name,
PropertyType type,
java.util.List values)
Construct a new multi-valued property. |
|
Property(IPropertyName name,
java.lang.Object value)
Construct a new property. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.String value)
Construct a new property of type STRING. |
|
Property(IPropertyName name,
IPropertyDef def,
java.util.Date value)
Construct a new property of type DATE. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Boolean value)
Construct a new property of type BOOLEAN. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Integer value)
Construct a new property of type INTEGER. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Long value)
Construct a new property of type LONG. |
|
Property(IPropertyName name,
IPropertyDef def,
XMLMarkup value)
Construct a new property of type XML. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Object value)
Construct a new property. |
|
Property(IPropertyName name,
IPropertyDef def,
java.util.List values)
Construct a new multi-valued property. |
|
Property(IPropertyName name,
java.lang.String value,
java.util.Properties attributes)
Construct a new property of type STRING. |
|
Property(IPropertyName name,
java.util.Date value,
java.util.Properties attributes)
Construct a new property of type DATE. |
|
Property(IPropertyName name,
java.lang.Boolean value,
java.util.Properties attributes)
Construct a new property of type BOOLEAN. |
|
Property(IPropertyName name,
java.lang.Integer value,
java.util.Properties attributes)
Construct a new property of type INTEGER. |
|
Property(IPropertyName name,
java.lang.Long value,
java.util.Properties attributes)
Construct a new property of type LONG. |
|
Property(IPropertyName name,
XMLMarkup value,
java.util.Properties attributes)
Construct a new property of type XML. |
|
Property(IPropertyName name,
java.lang.Object value,
java.util.Properties attributes)
Construct a new property. |
|
Property(IPropertyName name,
PropertyType type,
java.util.List values,
java.util.Properties attributes)
Construct a new multi-valued property. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.String value,
java.util.Properties attributes)
Construct a new property of type STRING. |
|
Property(IPropertyName name,
IPropertyDef def,
java.util.Date value,
java.util.Properties attributes)
Construct a new property of type DATE. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Boolean value,
java.util.Properties attributes)
Construct a new property of type BOOLEAN. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Integer value,
java.util.Properties attributes)
Construct a new property of type INTEGER. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Long value,
java.util.Properties attributes)
Construct a new property of type LONG. |
|
Property(IPropertyName name,
IPropertyDef def,
XMLMarkup value,
java.util.Properties attributes)
Construct a new property of type XML. |
|
Property(IPropertyName name,
IPropertyDef def,
java.lang.Object value,
java.util.Properties attributes)
Construct a new property. |
|
Property(IPropertyName name,
IPropertyDef def,
java.util.List values,
java.util.Properties attributes)
Construct a new multi-valued property. |
|
Property(IPropertyName name,
IPropertyDef def)
|
|
Property(IPropertyName name,
PropertyType type,
boolean isMultivalued)
|
|
MutableProperty(IPropertyName name,
java.lang.String value)
Construct a new property of type STRING. |
|
MutableProperty(IPropertyName name,
java.util.Date value)
Construct a new property of type DATE. |
|
MutableProperty(IPropertyName name,
java.lang.Boolean value)
Construct a new property of type BOOLEAN. |
|
MutableProperty(IPropertyName name,
java.lang.Integer value)
Construct a new property of type INTEGER. |
|
MutableProperty(IPropertyName name,
java.lang.Long value)
Construct a new property of type LONG. |
|
MutableProperty(IPropertyName name,
XMLMarkup value)
Construct a new property of type XML. |
|
MutableProperty(IPropertyName name,
PropertyType type,
java.util.List values)
Construct a new multi-valued property. |
|
MutableProperty(IPropertyName name,
java.lang.Object value)
Construct a new property. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.String value)
Construct a new property of type STRING. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.util.Date value)
Construct a new property of type DATE. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Boolean value)
Construct a new property of type BOOLEAN. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Integer value)
Construct a new property of type INTEGER. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Long value)
Construct a new property of type LONG. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
XMLMarkup value)
Construct a new property of type XML. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Object value)
Construct a new property. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.util.List values)
Construct a new multi-valued property. |
|
MutableProperty(IPropertyName name,
java.lang.String value,
java.util.Properties attributes)
Construct a new property of type STRING. |
|
MutableProperty(IPropertyName name,
java.util.Date value,
java.util.Properties attributes)
Construct a new property of type DATE. |
|
MutableProperty(IPropertyName name,
java.lang.Boolean value,
java.util.Properties attributes)
Construct a new property of type BOOLEAN. |
|
MutableProperty(IPropertyName name,
java.lang.Integer value,
java.util.Properties attributes)
Construct a new property of type INTEGER. |
|
MutableProperty(IPropertyName name,
java.lang.Long value,
java.util.Properties attributes)
Construct a new property of type LONG. |
|
MutableProperty(IPropertyName name,
XMLMarkup value,
java.util.Properties attributes)
Construct a new property of type XML. |
|
MutableProperty(IPropertyName name,
java.lang.Object value,
java.util.Properties attributes)
Construct a new property. |
|
MutableProperty(IPropertyName name,
PropertyType type,
java.util.List values,
java.util.Properties attributes)
Construct a new multi-valued property. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.String value,
java.util.Properties attributes)
Construct a new property of type STRING. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.util.Date value,
java.util.Properties attributes)
Construct a new property of type DATE. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Boolean value,
java.util.Properties attributes)
Construct a new property of type BOOLEAN. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Integer value,
java.util.Properties attributes)
Construct a new property of type INTEGER. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Long value,
java.util.Properties attributes)
Construct a new property of type LONG. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
XMLMarkup value,
java.util.Properties attributes)
Construct a new property of type XML. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.lang.Object value,
java.util.Properties attributes)
Construct a new property. |
|
MutableProperty(IPropertyName name,
IPropertyDef def,
java.util.List values,
java.util.Properties attributes)
Construct a new multi-valued property. |
|
PropertyName(java.lang.String namespace,
java.lang.String name)
Construct a new name. |
|
PropertyName(Name name)
Constructs a new name from a Name instance. |
|
PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden)
Constructs a new PropertyDef |
|
PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden,
java.util.Properties attributes)
Constructs a new PropertyDef |
|
| Uses of ResourceException in com.sapportals.wcm.repository.filter |
| Subclasses of ResourceException in com.sapportals.wcm.repository.filter | |
class |
FilterConfigurationException
The application tried to check out a resource that is not versioned. |
| Uses of ResourceException in com.sapportals.wcm.repository.manager |
| Methods in com.sapportals.wcm.repository.manager that throw ResourceException | |
RID |
IAclInheritanceController.getLegator(RID currentResource,
IResourceContext context)
Returns the legator of a resource given by its RID. |
IPermissionList |
ISecurityManager.getSupportedPermissions(IResource resource)
Returns a a list of permissions which are supported by the security manager for a specific resource (the result depends on wether the resource is a collection or not) |
boolean |
ISecurityManager.isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermission permission)
Checks, whether a user has a specific permission on a specific resource |
boolean |
ISecurityManager.isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions)
Checks, whether a user has some permissions on a specific resource |
IRidSet |
ISecurityManager.isAllowed(IRidList ridList,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions,
IResourceContext context)
Checks, whether a user has some permissions on all specified resources. |
IResourceList |
IPropertySearchManager.execute(IQueryExpression query,
IResource resource,
int depth,
int maxResults,
boolean includeVersions)
Runs a query and returns a list of resource that matched the criteria |
java.util.Collection |
IManagerFactory.getAllRepositoryManagers()
Returns a list of all available repository managers |
java.util.Collection |
IManagerFactory.getAllRepositoryManagers(java.lang.String className)
Returns a collection of all available repository managers that are instances of the specified class |
IRepositoryManager |
IManagerFactory.getRepositoryManager(java.lang.String id)
Returns the instance of a repository manager for a given ID or null
. |
IRepositoryManager |
IManagerFactory.getRepositoryManager(RID rid)
Returns the repository manager instance for a given resource identifier |
ISecurityManager |
IRepositoryManager.getSecurityManager(IResource resource)
Get a reference to the security manager for the repository |
IPropertySearchManager |
IRepositoryManager.getPropertySearchManager(IResource resource)
Get a reference to the property search manager for the repository |
java.util.Collection |
IRepositoryManager.getAllServices()
Deprecated. As of EP 5.0 SP5 |
IRepositoryService |
IRepositoryManager.getService(java.lang.String type)
Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory |
boolean |
IRepositoryManager.isServiceAvailable(java.lang.String type)
Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory |
| Uses of ResourceException in com.sapportals.wcm.repository.manager.entrypoints |
| Methods in com.sapportals.wcm.repository.manager.entrypoints that throw ResourceException | |
IPropertyMap |
IEntryPointsProvider.getProperties(IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets properties of an entry point represented by a resource |
IProperty |
IEntryPointsProvider.getProperty(IPropertyName propertyName,
IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets a property of an entry point represented by a resource |
IPropertyMap |
AbstractEntryPointsProvider.getProperties(IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets properties of an entry point represented by a resource |
IProperty |
AbstractEntryPointsProvider.getProperty(IPropertyName propertyName,
IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets a property of an entry point represented by a resource |
protected IProperty |
AbstractEntryPointsProvider.getPropertyForInternalLink(IPropertyName propertyName,
RID targetRid,
IResourceContext context,
boolean nameAsFallback)
Gets a property for an internal link. |
protected IPropertyMap |
AbstractEntryPointsProvider.getPropertiesForInternalLink(RID targetRid,
IResourceContext context,
boolean nameAsFallback)
|
| Uses of ResourceException in com.sapportals.wcm.repository.manager.entrypoints.context |
| Methods in com.sapportals.wcm.repository.manager.entrypoints.context that throw ResourceException | |
static IProperty |
EntryPointFilterProperty.createPropertyNever()
Creates a property instance with the value that must be set if a resource should never be displayed. |
static IProperty |
EntryPointFilterProperty.createPropertyNotInMenue()
Creates a property instance with the value that must be set if a resource should not be displayed in a menue. |
| Constructors in com.sapportals.wcm.repository.manager.entrypoints.context that throw ResourceException | |
ShowChildrenPropertyName()
|
|
ProviderPrioPropertyName()
|
|
| Uses of ResourceException in com.sapportals.wcm.repository.search |
| Methods in com.sapportals.wcm.repository.search that throw ResourceException | |
static IGenericQueryFactory |
GenericQueryFactory.getInstance()
Returns a reference to the resource factory instance. |
IQueryExpression |
IGenericQueryFactory.fromXml(java.lang.String persistedQuery)
Transforms a persisted query (obtained from IGenericQueryFactory.fromXml(String) back into a generic query expression. |
java.lang.String |
IGenericQueryFactory.toXml(IQueryExpression queryExpression)
Transforms a generic query expression into a plain string that can be persisted. |
IResourceList |
IGenericQuery.execute(IResource resource,
int depth,
int maxResults,
boolean includeVersions)
Runs this query and returns a list of resources that matched the criteria. |
| Uses of ResourceException in com.sapportals.wcm.repository.security |
| Methods in com.sapportals.wcm.repository.security that throw ResourceException | |
boolean |
IResourceAcl.addOwner(com.sapportals.wcm.repository.security.IUMPrincipal owner)
add a new owner to the ACL (only owners are allowed to change the ACL) |
boolean |
IResourceAcl.removeOwner(com.sapportals.wcm.repository.security.IUMPrincipal owner)
remove an owner from the ACL (only owners are allowed to change the ACL) |
boolean |
IResourceAcl.addEntry(IResourceAclEntry aclEntry)
add an ACE to the ACL |
boolean |
IResourceAcl.removeEntry(IResourceAclEntry aclEntry)
remove an ACE from the ACL |
IResourceAcl |
IResourceAclManager.createAcl(IResource resource)
create a new ACL for a resource - initial owner is the user in the resource context - inherited ACEs are added - if the resource inherits an ACL the user must be an owner - fails, if the resource already has an ACL assigned |
boolean |
IResourceAclManager.assignForeignAcl(IResourceAcl foreignAcl,
IResource resource)
assign an ACL from a foreign IResourceAclManager to a local resource - foreign ACEs which hold permissions that are not supported by the local IResourceAclManager are ignored - locally inherited ACEs are added - the owners are maintained - if the resource inherits an ACL the user must be an owner - fails, if the resource already has an ACL assigned |
IResourceAcl |
IResourceAclManager.getAcl(IResource resource)
get the ACL of a specific resource |
IResourceAcl |
IResourceAclManager.getInheritedAcl(IResource resource)
get the ACL that a resource inherits by its ancestors |
boolean |
IResourceAclManager.removeAcl(IResource resource)
remove the ACL of a specific resource |
boolean |
IResourceAclManager.removeAcl(IResource resource)
remove the ACL of a specific resource |
boolean |
IResourceAclManager.removeAcl(IResourceAcl acl)
remove an ACL |
IObjectType |
IResourceAclManager.getObjectType(IResource resource)
get the object type of a resource |
IAclPermissionList |
IResourceAclManager.getSupportedPermissions(IResource resource)
get a list of permissions which are supported by the IResourceAclManager for a specific resource |
IResourceList |
IResourceAclManager.propagateAcl_Remove(IResource resource)
remove the ACLs of the descendants of the resource |
IResourceAcl |
IResourceAclManagerRaw.getAclRaw(IResource resource)
Get the - potentially raw - ACL of a specific resource. |
| Uses of ResourceException in com.sapportals.wcm.repository.service |
| Subclasses of ResourceException in com.sapportals.wcm.repository.service | |
class |
ServiceCallException
Indicates an error during a IRepositoryService.acceptServletCall(Properties, IResourceContext)
call. |
class |
ServiceNotAvailableException
Indicates that a repository service will not be available at one or more repositories. |
| Methods in com.sapportals.wcm.repository.service that throw ResourceException | |
java.util.Collection |
IRepositoryServiceFactory.getAllRepositoryServices(IRepositoryManager repository)
Get a list of all registered service managers for a given repository manager. |
IRepositoryService |
IRepositoryServiceFactory.getRepositoryService(IRepositoryManager repository,
java.lang.String servicetype)
Returns a specific service manager instance for a given repository manager. |
boolean |
IRepositoryServiceFactory.isRepositoryServiceAvailable(IRepositoryManager repository,
java.lang.String servicetype)
Checks if the service is avaible. |
java.util.Collection |
IRepositoryServiceFactory.getAllRepositoryServices(IResource resource)
Get all services for a given resource. |
IRepositoryService |
IRepositoryServiceFactory.getRepositoryService(IResource resource,
java.lang.String servicetype)
Get a specific service for a given resource. |
boolean |
IRepositoryServiceFactory.isRepositoryServiceAvailable(IResource resource,
java.lang.String servicetype)
Checks if the service is avaible. |
IRepositoryService |
IRepositoryServiceFactory.getRepositoryService(java.lang.String id)
Get a service instance by ID. |
IService |
IRepositoryServiceFactory.getService(java.lang.String serviceID)
Returns the instance of a service. |
java.util.Collection |
IRepositoryServiceFactory.getAllServices()
Returns a collection of all defined services |
java.lang.String |
IRepositoryService.acceptServletCall(java.util.Properties properties,
IResourceContext context)
This method is called by the eServiceServlet to perform some
action. |
| Uses of ResourceException in com.sapportals.wcm.repository.service.discussion |
| Subclasses of ResourceException in com.sapportals.wcm.repository.service.discussion | |
class |
DiscussionResourceTypeException
Indicates that setting or getting a resource type of a discussion resource was not successful. |
class |
DiscussionSingleTopicExistsException
Indicates that creation of a single topic, while running the discussion service without topic level, was not successful, because this single topic exists yet. |
| Methods in com.sapportals.wcm.repository.service.discussion that throw ResourceException | |
java.lang.String |
IDiscussionItem.getDescription()
Gets the description of the IDiscussionItem.
|
IContent |
IDiscussionItem.getContent()
Deprecated. as of NW04. |
IProperty |
IDiscussionItem.getName()
Gets the name of an IDiscussionItem.
|
IProperty |
IDiscussionItem.getAuthor()
Gets the author of an IDiscussionItem. |
IProperty |
IDiscussionItem.getDate()
Gets the creation date of the IDiscussionItem. |
IResource |
IDiscussionItem.getResource()
Gets the discussion item as an IResource object.
|
DiscussionItemType |
IDiscussionItem.getType()
Gets the type of a discussion item. |
void |
IDiscussionItem.setType(DiscussionItemType type)
Sets the type of a discussion item. |
IDiscussionItemList |
IDiscussionItem.getChildren()
Gets all replies to this IDiscussionItem. |
IDiscussionItemList |
IDiscussionItem.getChildren(IDiscussionItem branchItem)
|
boolean |
IDiscussionItem.hasChildren()
Gets flag that shows whether the discussion item has replies. |
int |
IDiscussionItem.getNumberOfPosts(IDiscussionItem branchItem)
Gets the number of posts that belong to discussion topic. |
java.lang.String |
IDiscussionItem.getPostStartingText()
|
int |
IDiscussionItem.getNumberOfPosts()
Gets the number of posts that belong to discussion topic. |
IDiscussionItemList |
IDiscussionItem.getPosts(java.lang.String sortCriterion,
java.lang.String sortDirection,
IDiscussionItem branchItem,
IDiscussionItem selectedItem,
int startIndex,
int length)
Gets a set (page) of discussion items of a discussion topic. |
IDiscussionItemList |
IDiscussionItem.getPostsInTreeOrder()
Gets all discussion items of a discussion topic. |
ICollection |
IDiscussionItem.getReplyCollection()
Get the ReplyCollection attribute of the IDiscussionItem object. |
IDiscussionItem |
IDiscussionItem.getParent()
Gets the parent IDiscussionItem instance. |
java.lang.String |
IDiscussionItem.getSubject()
|
boolean |
IDiscussionItem.canDeleteChild(IDiscussionItem item)
Checks if the deletion of a child discussion item is possible. |
boolean |
IDiscussion.withTopics()
Gets a flag that indicates if the discussion is running with topics or without topic layer. |
IDiscussionItem |
IDiscussion.getDiscussionItem(RID itemRid)
Gets the IDiscussionItem instance for the specified RID.
|
IDiscussionItem |
IDiscussion.createItem(java.lang.String name,
java.lang.String content,
java.lang.String description)
Creates first topic of a discussion thread (root discussion item also called topic). |
IDiscussionItem |
IDiscussion.createSingleTopic()
Creates first topic of a discussion thread (root discussion item also called topic). |
boolean |
IDiscussion.isSingleTopic(IDiscussionItem item)
Returns true if specified IDiscussionItem is a discussion topic and has the same
description as a single topic. |
IDiscussionItem |
IDiscussion.createItem(IDiscussionItem parent,
java.lang.String name,
java.lang.String content,
java.lang.String description)
Creates a discussion item within a thread. |
void |
IDiscussion.deleteItem(IDiscussionItem item)
Deletes a discussion item. |
void |
IDiscussion.deleteItemReplies(IDiscussionItem item)
Deletes a the replies folder of discussion item. |
void |
IDiscussion.deleteItemReplies(IResource itemResource)
Deletes a the replies folder of discussion item. |
IDiscussionItemList |
IDiscussion.getThreads()
Deprecated. as of NW04. Replaced by getTopics() |
IDiscussionItemList |
IDiscussion.getTopics()
Gets all topics that belong to the discussion. |
IDiscussionItemList |
IDiscussion.getTopics(java.lang.String sortCriterion,
java.lang.String sortDirection)
Gets all topics that belong to the discussion. |
IDiscussionItemList |
IDiscussion.getTopics(java.lang.String sortCriterion,
java.lang.String sortDirection,
int startIndex,
int length)
Gets set of topics that belong to the discussion. |
int |
IDiscussion.getNumberOfThreads()
Deprecated. as of NW04. Replaced by getNumberOfTopics() |
int |
IDiscussion.getNumberOfTopics()
Gets the number of threads that belong to the discussion. |
IDiscussionItemList |
IDiscussion.getChildren(IDiscussionItem item)
Deprecated. as of NW04. Replaced by method of IDiscussionItem |
boolean |
IDiscussion.hasChildren(IDiscussionItem item)
Deprecated. as of NW04. Replaced by the hasChildren() of the IDiscussion interface |
IDiscussionItem |
IDiscussion.getParent(IDiscussionItem item)
Deprecated. as of NW04. Replaced by getParent method at IDiscussionItem |
IResource |
IDiscussion.getPrimaryResource()
Gets primary resource of the discussion. |
boolean |
IDiscussion.canDeleteItem(IDiscussionItem topic)
Checks if the deletion of a topic discussion item is possible. |
IDiscussionManager |
IDiscussion.getDiscussionManager()
Gets DiscussionManager for interactions between discussion classes. |
| Uses of ResourceException in com.sapportals.wcm.repository.service.serviceacl |
| Methods in com.sapportals.wcm.repository.service.serviceacl that throw ResourceException | |
boolean |
IAclService.isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IAclPermission permission)
|
| Uses of ResourceException in com.sapportals.wcm.repository.service.statemanagement |
| Methods in com.sapportals.wcm.repository.service.statemanagement that throw ResourceException | |
static IPropertyName |
SMConstants.getStatePropName()
returns the PropertyName object for the state application property |
static IPropertyName |
SMConstants.getWorkflowInitiatorPropName()
returns the PropertyName object for the workflow initiator application property |
static IPropertyName |
SMConstants.getWorkflowStatePropName()
Returns the PropertyName object for the workflow state application property |
| Uses of ResourceException in com.sapportals.wcm.repository.service.timebasedpublish |
| Methods in com.sapportals.wcm.repository.service.timebasedpublish that throw ResourceException | |
static IPropertyName |
TimebasedPublishConstants.getTimebasePublishEnabledName()
Gets the name of the property which determines if time-based publishing is enabled for a resource. |
static IPropertyName |
TimebasedPublishConstants.getValidFromPropName()
Gets the name of the property which determines the point in time at which a resource is to be made visible by the scheduler task. |
static IPropertyName |
TimebasedPublishConstants.getValidToPropName()
Gets the name of the property which determines the point in time at which a resource is to be made invisible by the scheduler. |
static IPropertyName |
TimebasedPublishConstants.getDisplayValidFromPropName()
Gets the name of the property which is displayed as the 'valid from' property for a resource. |
static IPropertyName |
TimebasedPublishConstants.getDisplayValidToPropName()
Gets the name of the property which is to be displayed as the 'valid until' property for a resource. |
| Uses of ResourceException in com.sapportals.wcm.repository.so |
| Subclasses of ResourceException in com.sapportals.wcm.repository.so | |
class |
SoException
|
| Methods in com.sapportals.wcm.repository.so that throw ResourceException | |
boolean |
IObjectFactory.isA(java.lang.Class classRef,
IResource resource)
Get the A attribute of the ITypeCastProvider object. |
java.lang.Object |
IObjectFactory.as(java.lang.Class classRef,
IResource resource)
|
static IObjectFactoryRegistry |
ObjectFactoryRegistry.getInstance()
Return a reference to the singleton factory instance !!! |
boolean |
DefaultObjectFactory.isA(java.lang.Class interfaceRef,
IResource resource)
Get the A attribute of the DefaultTypeCastProvider object. |
java.lang.Object |
DefaultObjectFactory.as(java.lang.Class classRef,
IResource resource)
|
| Uses of ResourceException in com.sapportals.wcm.repository.util |
| Methods in com.sapportals.wcm.repository.util that throw ResourceException | |
static boolean |
ResourceTypeUtil.isA(IResource resource,
java.lang.String resourceType)
Checks if a resource is of a given resourceType. |
| Uses of ResourceException in com.sapportals.wcm.service.indexmanagement |
| Methods in com.sapportals.wcm.service.indexmanagement that throw ResourceException | |
IIndex |
IIndexService.getIndexForResource(IResource resource,
java.lang.String serviceType)
Returns the index in which the document is indexed depending on the specified service type. |
java.util.List |
IIndexService.getIndexesForResource(IResource resource)
TReturns the indexes into which a document is indexed. |
void |
IIndexService.updateIndex(IIndex index)
Saves all changes that have been made to the index object. |
void |
IIndexService.startXTaxRetrainCrawler(IIndex index,
java.lang.String taxonomyName,
ICollection taxonomyCollection,
boolean isSearchRelevant)
This method is only used by internal methods and should not be used programmers using the imdexmanagement API. |
ITaxonomyTransport |
IIndexService.createTaxonomyTransport()
This method is only used by internal methods and should not be used programmers using the imdexmanagement API. |
java.util.List |
IIndexService.getAllIndexmanagementCrawlers(IIndex index)
Returns an ID list of all crawler for an index. |
java.util.List |
IIndexService.getFailedCrawlers(IIndex index)
Returns an ID list with the failed crawler. |
void |
IIndex.indexDocuments(IResourceList resources)
Puts a list of documents into the index. |
void |
IIndex.indexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
Puts a list of documents into the index. |
void |
IIndex.indexDocument(IResource resource)
Puts a document into the index. |
void |
IIndex.indexDocument(IResource resource,
IResourceEvent resourceEvent)
Puts a document into the index It is recommended that you do not index documents manually using this method. For repositories that send cm events, documents are indexed automatically when their content or their properties are changed. For repositories that do not support eventing, for example, Web repositories, a delta index crawler should be scheduled for the index folders that need to be updated. |
void |
IIndex.deindexDocuments(IResourceList resources)
Removes a list of documents from the index It is recommended that you do not deindex documents manually using this method. For repositories that send cm events, documents are deindexed automatically when they are deleted. For repositories that do not support eventing, for example, Web repositories, a delta index crawler should be scheduled for the index folders that need to be updated. |
void |
IIndex.deindexDocuments(IUriList uris)
Deprecated. as of NW04. Use deindex documents(IRidList) |
void |
IIndex.deindexDocuments(IRidList rids)
Removes a list of documents from the index It is recommended that you do not deindex documents manually using this method. For repositories that send cm events, documents are deindexed automatically when they are deleted. For repositories that do not support eventing, for example, Web repositories, a delta index crawler should be scheduled for the index folders that need to be updated. |
void |
IIndex.deindexDocument(IResource resource)
Removes a document from the index. |
void |
IIndex.deindexDocument(URI uri)
Deprecated. as of NW04. Use deindexDocument(RID) |
void |
IIndex.deindexDocument(RID rid)
Removes a document from the index. |
java.lang.String |
IIndex.getResourceInfo(IResource resource)
Returns information about the resource with respect to the actual index e.g. the status of the document as well as general about the index e.g. its service types. |
void |
IIndex.setInactiveIndexHasChanged()
Sets a property on true, if index documents have changed during index was inactive. |
void |
AbstractIndex.indexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
Indexes a list of documents |
void |
AbstractIndex.indexDocuments(IResourceList resources)
Indexes a list of documents |
void |
AbstractIndex.indexDocument(IResource resource)
Indexes a document |
void |
AbstractIndex.indexDocument(IResource resource,
IResourceEvent resourceEvent)
Indexes a document |
void |
AbstractIndex.deindexDocuments(IResourceList resources)
Deindexes a document |
void |
AbstractIndex.deindexDocuments(IUriList resourceUris)
Deprecated. as of NW04. Use deindexDocuments(IRidList) |
void |
AbstractIndex.deindexDocuments(IRidList resourceRids)
Deindexes a document |
void |
AbstractIndex.deindexDocument(IResource resource)
Deindexes a document |
void |
AbstractIndex.deindexDocument(URI resourceUri)
Deprecated. as of NW04. Use deindexDocument(RID) |
void |
AbstractIndex.deindexDocument(RID resourceRid)
Deindexes a document |
protected abstract void |
AbstractIndex.internalIndexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
Indexes a list of documents |
protected abstract void |
AbstractIndex.internalDeindexDocuments(IRidList rids)
Deindexes documents |
void |
AbstractIndex.setInactiveIndexHasChanged()
Sets a property on true, if index documents have changed during index was inactive. |
void |
AbstractIndex.setNumberOfCrawler(int numOfCrawler)
|
void |
AbstractIndex.setIndexingState(AbstractIndex.IndexingState state)
|
AbstractIndex.IndexingState |
AbstractIndex.getIndexingState()
|
static PropertyName |
AbstractIndex.getDisplayNameAsStringPropName()
|
| Constructors in com.sapportals.wcm.service.indexmanagement that throw ResourceException | |
AbstractIndex.Reindexer(boolean disablePostClearTasks)
|
|
| Uses of ResourceException in com.sapportals.wcm.service.indexmanagement.retrieval.classification |
| Methods in com.sapportals.wcm.service.indexmanagement.retrieval.classification that throw ResourceException | |
IResourceList |
AbstractClassificationIndex.getClassDocuments(ICollection taxonomyClass)
Gets all documents of a taxonomy class |
IResourceList |
AbstractClassificationIndex.getClassDocuments(RID taxonomyClassRid,
IResourceContext context)
Gets all documents of a taxonomy class |
IRidList |
AbstractClassificationIndex.getClassDocumentRids(ICollection taxonomyClass)
Gets the resource IDs of all documents of a taxonomy class |
void |
AbstractClassificationIndex.indexDocuments(IResourceList resources,
java.lang.String taxonomyName,
IUriList taxonomyClasses,
boolean isSearchRelevant)
Deprecated. as of NW04. Use indexDocuments(IResourceList, String, IRidList, boolean) |
void |
AbstractClassificationIndex.indexDocuments(IResourceList resources,
java.lang.String taxonomyName,
IRidList taxonomyClasses,
boolean isSearchRelevant)
Indexes a list of documents (method for internal use) |
void |
AbstractClassificationIndex.indexDocument(IResource resource,
java.lang.String taxonomyName,
IUriList taxonomyClasses,
boolean isSearchRelevant)
Deprecated. as of NW04. Use indexDocument(IResource, String, IRidList, boolean) |
void |
AbstractClassificationIndex.indexDocuments(IResourceList resources)
Indexes a list of documents |
void |
AbstractClassificationIndex.indexDocuments(IResourceList resources,
boolean reindexMode,
boolean sendLinkEvents)
Indexes a list of documents |
void |
AbstractClassificationIndex.indexDocument(IResource resource,
java.lang.String taxonomyName,
IRidList taxonomyClasses,
boolean isSearchRelevant)
indexes a document (method for internal use) |
protected abstract void |
AbstractClassificationIndex.internalIndexDocuments(IResourceList resources,
java.lang.String taxonomyName,
IRidList taxonomyClasses,
IResourceEvent resourceEvent,
boolean isSearchRelevant,
boolean reindexMode,
boolean sendLinkEvents)
Indexes a list of documents (method for internal use) |
protected void |
AbstractClassificationIndex.internalIndexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
indexes a list of documents (method for internal use) |
IResource |
ITaxonomyTransport.exportDTD(ICollection exportColl)
|
void |
IClassificationIndex.indexDocument(IResource resource,
java.lang.String taxonomyName,
IUriList taxonomyClasses,
boolean isSearchRelevant)
Deprecated. as of NW04. Use indexDocument(IResource, String, IRidList, boolean) |
void |
IClassificationIndex.indexDocument(IResource resource,
java.lang.String taxonomyName,
IRidList taxonomyClasses,
boolean isSearchRelevant)
Puts a document into the index It is recommended that you do not index a document manually using this method. For repositories that send cm events, documents are indexed automatically when their content or their properties are changed. For repositories that do not support eventing, for example, Web repositories, a delta index crawler should be scheduled for the index folders that need to be updated. |
void |
IClassificationIndex.indexDocuments(IResourceList resources,
java.lang.String taxonomyName,
IUriList taxonomyClasses,
boolean isSearchRelevant)
Deprecated. as of NW04. Use indexDocuments(IResourceList, String, IRidList, boolean) |
void |
IClassificationIndex.indexDocuments(IResourceList resources,
java.lang.String taxonomyName,
IRidList taxonomyClasses,
boolean isSearchRelevant)
Indexes a list of documents It is recommended that you do not index documents manually using this method. For repositories that send cm events, documents are indexed automatically when their content or their properties are changed. For repositories that do not support eventing, for example, Web repositories, a delta index crawler should be scheduled for the index folders that need to be updated. |
IClassificationIndexCollection |
IClassificationIndex.getNewClassificationIndexCollection()
Returns an index collection where classification operations for multiple indexes can be performed |
IResourceList |
IClassificationIndex.getClassDocuments(ICollection taxonomyClass)
Gets all documents of a taxonomy class The taxonomy class is a folder in the taxonomy repository To get the resource ID of a taxonomy class, first the resource ID of the taxonomy root must be determined by using the getSpecialFolderRID(taxonomyName,SpecialFolder.TAXONOMY) method.
|
java.lang.String |
ICompareTaxonomies.getCompareMessage()
|
| Uses of ResourceException in com.sapportals.wcm.service.indexmanagement.retrieval.search |
| Methods in com.sapportals.wcm.service.indexmanagement.retrieval.search that throw ResourceException | |
void |
ISearchResult.setContentSnippet(java.lang.String contentSnippet)
Sets the content snippet. |
java.lang.String |
ISearchResult.getContentSnippet()
Returns the content snippet. |
ISearchIndexCollection |
ISearchIndex.getNewSearchIndexCollection()
|
ISearchResultList |
ISearchIndexCollection.getSearchResults(java.util.List rawSearchResults,
IResourceContext context)
|
IProperty |
ISearchUtils.createInitialProperty(IPropertyName propName)
Creates a property with initial value for a property name. |
PropertyType |
ISearchUtils.getPropertyType(IPropertyName propName)
Determines the property type using the property config service. |
ISearchResultList |
IRawSearchSession.getSearchResults(java.util.List rawSearchResults)
Converts raw search results in real search results |
abstract ISearchResultList |
AbstractSearchIndexCollection.getSearchResults(java.util.List rawSearchResults,
IResourceContext context)
|
protected IProperty |
AbstractSearchIndexCollection.createInitialProperty(IPropertyName propName)
Creates a property with initial value for a property name. |
protected PropertyType |
AbstractSearchIndexCollection.getPropertyType(IPropertyName propName)
Determines the property type using the property config service. |
| Uses of ResourceException in com.sapportals.wcm.service.relation |
| Methods in com.sapportals.wcm.service.relation that throw ResourceException | |
static IRelationService |
RelationServiceFactory.getInstance()
Get an instance of the relation service. |
IRelationQueryBuilder |
IRelationService.getQueryBuilder()
Get a query builder to build search query expressions and order expressions for retrieving relations. |
IRelationTypeHandler |
IRelationService.getRelationTypeHandler(java.lang.String id)
Get a type handler for a relation type (which defines 'workarea' for a relation type, like caches and tablespaces). |
IRelationTypeAttributes |
IRelationService.getRelationTypeAttributes(IRelationTypeHandler typeHandler,
IPropertyNameList requiredProperties,
boolean oneToOne,
boolean ordered,
boolean sourceDeleteTracking,
boolean targetDeleteTracking,
boolean sourceChangeTracking,
boolean targetChangeTracking)
Same as IRelationService.getRelationTypeAttributes(IRelationTypeHandler,
IPropertyNameList, boolean, boolean, boolean, boolean, boolean, boolean,
boolean, boolean) with sourceCopyTracking and
targetCopyTracking set to false |
IRelationTypeAttributes |
IRelationService.getRelationTypeAttributes(IRelationTypeHandler typeHandler,
IPropertyNameList requiredProperties,
boolean oneToOne,
boolean ordered,
boolean sourceDeleteTracking,
boolean targetDeleteTracking,
boolean sourceChangeTracking,
boolean targetChangeTracking,
boolean sourceCopyTracking,
boolean targetCopyTracking)
Get a set of unchecked attributes which can be use to created a
IRelationType . |
IRelationTypeAttributes |
IRelationService.checkRelationTypeAttributes(IRelationTypeAttributes attributes,
IRelationOperandType sourceType,
IRelationOperandType targetType)
Get a checked set of attributes which are compatible with the given source and target operand types and can be use to created a IRelationType
. |
IRelationType |
IRelationService.createResourceRelationType(IResourceContext context,
java.lang.String namespace,
java.lang.String name,
Descriptions descriptions,
IRelationTypeAttributes attributes)
Convenience method to create a relation type for resources as source and target. |
IRelationType |
IRelationService.createStringRelationType(IResourceContext context,
java.lang.String namespace,
java.lang.String name,
Descriptions descriptions,
IRelationTypeAttributes attributes)
Convenience method to create a relation type for resources as source and strings as target. |
IRelationType |
IRelationService.createRelationType(IResourceContext context,
java.lang.String namespace,
java.lang.String name,
Descriptions descriptions,
IRelationOperandType sourceType,
IRelationOperandType targetType)
Create a new relation type for a given namespace and name if it does not already exist. |
IRelationType |
IRelationService.createRelationType(IResourceContext context,
java.lang.String namespace,
java.lang.String name,
Descriptions descriptions,
IRelationOperandType sourceType,
IRelationOperandType targetType,
IRelationTypeAttributes attributes)
Create a new relation type for a given namespace, name and set of attributes if it does not already exist. |
IRelationTypeList |
IRelationService.getRelationTypeList()
Get an empty list for relation types. |
IRelationTypeList |
IRelationService.getRelationTypes(IResourceContext context)
Get a list of all relation types which are available within the given context. |
IRelationTypeList |
IRelationService.getRelationTypes(IResourceContext context,
java.lang.String namespace)
Get a list of all relation types of the given namespace which are available within the given context. |
IRelationType |
IRelationService.getRelationType(IResourceContext context,
java.lang.String namespace,
java.lang.String name)
Get a specific relation type for a given namespace and name. |
IRelationList |
IRelationService.getRelationList()
Get an empty list for relations. |
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationQuery query)
Get the relations which match a given query expression. |
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationQuery query,
IRelationQueryOrder order)
Get the relations which match a given query expression, ordered by a given order expression. |
IRelationList |
IRelationService.getRelationsBySource(IResourceContext context,
IRelationOperand source)
Get all relations of any type for the given source. |
IRelationList |
IRelationService.getRelationsByTarget(IResourceContext context,
IRelationOperand target)
Get all relations of any type for the given target. |
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationOperand source,
IRelationOperand target)
Get all relations of any type for the given source and target. |
IOrderedRelationPositioningList |
IRelationService.getRelationPositioningList()
Get an empty list for reordering. |
boolean |
IRelationOperandType.check(IRelationOperand operand)
Check, if a given operand belongs to this type. |
IRelationOperand |
IRelationOperandType.getOperand(java.lang.String id,
IResourceContext context)
Get the operand for a given id and context. |
IRelationOperand |
IRelationOperandType.getOperand(java.lang.Object object)
Create the proper operand for a given object, if it belongs to this type. |
IRelationOperandType |
IRelationOperand.getType()
Get the relation operand's type. |
java.lang.String |
IRelationOperand.getID()
Get the relation operand's unique id. |
IResource |
IRelationOperand.asResource()
Get the relation operand as resource, if this operand is managed by a repository manager. |
IRelationList |
IRelationOperand.getRelationsBySource(IResourceContext context)
same as IRelationService.getRelationsBySource(context, this); |
IRelationList |
IRelationOperand.getRelationsBySource(IRelationType type)
same as type.getRelationBySource(this); |
IRelationList |
IRelationOperand.getRelationsBySource(IResourceContext context,
IRelationOperand target)
same as IRelationService.getRelations(context, this, target); |
IRelation |
IRelationOperand.getRelationBySource(IRelationType type,
IRelationOperand target)
same as type.getRelation(this, target); |
IRelationList |
IRelationOperand.getRelationsByTarget(IResourceContext context)
same as IRelationService.getRelationsByTarget(context, this); |
IRelationList |
IRelationOperand.getRelationsByTarget(IRelationType type)
same as type.getRelationByTarget(this); |
IRelationList |
IRelationOperand.getRelationsByTarget(IResourceContext context,
IRelationOperand source)
same as IRelationService.getRelations(source, this); |
IRelation |
IRelationOperand.getRelationByTarget(IRelationType type,
IRelationOperand source)
same as type.getRelation(source, this); |
IRelationOperand |
IRelation.getSource()
Get the relation's source operand. |
java.lang.Object |
IRelation.getSourceOperand()
Get the relation's source operand's value. |
IRelation |
IRelation.setSource(IRelationOperand source)
Set the relation's source operand. |
IRelation |
IRelation.setSourceOperand(java.lang.Object source)
Set the relation's source operand by value. |
IRelationOperand |
IRelation.getTarget()
Get the relation's target operand. |
java.lang.Object |
IRelation.getTargetOperand()
Get the relation's target operand's value. |
IRelation |
IRelation.setTarget(IRelationOperand target)
Set the relation's target operand. |
IRelation |
IRelation.setTargetOperand(java.lang.Object target)
Set the relation's target operand value. |
IPropertyMap |
IRelation.getProperties()
Get all properties of the relation. |
IPropertyMap |
IRelation.getProperties(IPropertyNameList propertyNameList)
Get several specified properties. |
void |
IRelation.setProperties(IPropertyMap properties)
Set several specified properties. |
void |
IRelation.deleteProperties(IPropertyNameList propertyNameList)
Delete several specified properties (if they exist). |
IProperty |
IRelation.getProperty(IPropertyName propertyName)
Get a specific property. |
void |
IRelation.setProperty(IProperty property)
Set a specific property. |
void |
IRelation.deleteProperty(IPropertyName propertyName)
Delete a specific property. |
void |
IRelation.delete()
Delete a given relation. |
IOrderedRelationPosition |
IRelation.getPosition()
Get the relation's positioning. (only supported for IOrderedRelation
s). |
void |
IRelation.setPosition(IOrderedRelationPosition position)
Change the relation's position (only supported for IOrderedRelation
s). |
IRelationTypeAttributes |
IRelationType.setAttributes(IRelationTypeAttributes attributes)
Change the effective attributes of this relation type. |
void |
IRelationType.startWatching(IRelationWatcher watcher)
Register a watcher to this relation type. |
void |
IRelationType.stopWatching(IRelationWatcher watcher)
Deregister a watcher from this relation type. |
void |
IRelationType.delete()
Deregister this relation type and delete all of it's relations. |
IRelation |
IRelationType.createRelation(IRelationOperand source,
IRelationOperand target,
IPropertyMap properties)
Create a new relation from wrapped operands. |
IRelation |
IRelationType.createRelation(IRelationOperand source,
IRelationOperand target)
a shortcut for createRelation(source, target, null). |
IRelation |
IRelationType.createRelation(java.lang.Object source,
java.lang.Object target,
IPropertyMap properties)
Create a relation from operand values. |
IRelation |
IRelationType.createRelation(java.lang.Object source,
java.lang.Object target)
a shortcut for createRelation(source, target, null). |
IRelationList |
IRelationType.getRelations()
Get all availabe relations for this type. |
IRelationList |
IRelationType.getRelations(IRelationOperand source)
Deprecated. as of NW04. Please use getRelationsBySource instead Get all the relations of this type for the given source operand. |
IRelationList |
IRelationType.getRelationsBySource(IRelationOperand source)
Get all the relations of this type for the given source operand. |
IRelationList |
IRelationType.getRelations(java.lang.Object source)
Deprecated. as of NW04. Please use gteRelationsBySource instead Get all the relations of this type for the given source operand value. |
IRelationList |
IRelationType.getRelationsBySource(java.lang.Object source)
Get all the relations of this type for the given source operand value. |
IRelationList |
IRelationType.getRelationsByTarget(IRelationOperand target)
Get all the relations of this type for the given target operand. |
IRelationList |
IRelationType.getRelationsByTarget(java.lang.Object target)
Get all the relations of this type for the given target operand value. |
IRelationList |
IRelationType.getRelations(IRelationQuery query)
Get the relations for this type, which match a given query expression. |
IRelationList |
IRelationType.getRelations(IRelationQuery query,
IRelationQueryOrder order)
Get the relations for this type, which match a given query expression. |
IRelation |
IRelationType.getRelation(java.lang.String id)
Get a specific relation for a given type and id. |
IRelation |
IRelationType.getRelation(IRelationOperand source,
IRelationOperand target)
Get the relation for a given wrapped source and target. |
IRelation |
IRelationType.getRelation(java.lang.Object source,
java.lang.Object target)
Get the relation for a given source and target value. |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
IRelationOperand source,
IRelationOperand target,
IPropertyMap properties)
Create a new ordered relation from wrapped operands. |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
IRelationOperand source,
IRelationOperand target)
a shortcut for createRelation(source,
target, null). |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
java.lang.Object source,
java.lang.Object target,
IPropertyMap properties)
Create a ordered relation from operand values. |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
java.lang.Object source,
java.lang.Object target)
a shortcut for createRelation(source, target, null). |
void |
IRelationType.reorder(IOrderedRelationPositioningList ordering)
Reorder the relations for this type. |
| Uses of ResourceException in com.sapportals.wcm.service.relation.operands |
| Methods in com.sapportals.wcm.service.relation.operands that throw ResourceException | |
boolean |
StringOperandType.check(IRelationOperand operand)
|
java.util.Properties |
IRelationOperandExtended.getOperandProperties()
Get the properties to store for this relation operand. |
abstract IRelationOperandType |
AbstractRelationOperand.getType()
|
abstract java.lang.String |
AbstractRelationOperand.getID()
|
abstract IResource |
AbstractRelationOperand.asResource()
|
IRelationList |
AbstractRelationOperand.getRelationsBySource(IResourceContext context)
|
IRelationList |
AbstractRelationOperand.getRelationsBySource(IRelationType type)
|
IRelationList |
AbstractRelationOperand.getRelationsBySource(IResourceContext context,
IRelationOperand target)
|
IRelation |
AbstractRelationOperand.getRelationBySource(IRelationType type,
IRelationOperand target)
|
IRelationList |
AbstractRelationOperand.getRelationsByTarget(IResourceContext context)
|
IRelationList |
AbstractRelationOperand.getRelationsByTarget(IRelationType type)
|
IRelationList |
AbstractRelationOperand.getRelationsByTarget(IResourceContext context,
IRelationOperand source)
|
IRelation |
AbstractRelationOperand.getRelationByTarget(IRelationType type,
IRelationOperand source)
|
IResource |
ResourceOperand.getLinkValue()
If the wrapped resource is an internal link, return the target of the link (following several links). if it's not a internal link just return the resource. |
IRelationOperandType |
ResourceOperand.getType()
|
java.lang.String |
ResourceOperand.getID()
|
IResource |
ResourceOperand.asResource()
|
boolean |
ResourceOperandType.check(IRelationOperand operand)
|
IRelationOperand |
ResourceOperandType.getOperand(java.lang.String id,
IResourceContext context)
|
IRelationOperandType |
StringOperand.getType()
|
java.lang.String |
StringOperand.getID()
|
IResource |
StringOperand.asResource()
|
IRelationOperandExtended |
IRelationOperandTypeExtended.getOperand(java.lang.String id,
IResourceContext context,
java.util.Properties properties)
Get the operand for a given id, context and the stored properties from the relation manager. |
| Constructors in com.sapportals.wcm.service.relation.operands that throw ResourceException | |
ResourceOperandType(java.lang.String type)
Create a resource operand type for a specific resource type. |
|
ResourceOperandType(IResource resource)
Create a resource operand type for a given resource's type. |
|
| Uses of ResourceException in com.sapportals.wcm.service.urlgenerator |
| Methods in com.sapportals.wcm.service.urlgenerator that throw ResourceException | |
java.lang.String |
IURLGeneratorService.resolvePlaceholders(java.lang.String uri,
IResource resource)
Resolves all placeholders contained in uri by their
corresponding values. |
java.lang.String |
IURLGeneratorService.resolvePlaceholders(java.lang.String uri,
IResourceContext context)
Resolves all placeholders contained in uri by their
corresponding values. |
RID |
IUserManagementRidGenerator.getUserResourceRid(java.lang.String userId,
java.lang.String mimetype)
|
java.lang.String |
IURLGenerator.replaceURIPlaceholders(java.lang.String uri,
IResourceContext context)
Deprecated. Replaces placeholders in URI |
java.lang.String |
IURLGenerator.replaceURIPlaceholders(java.lang.String uri,
IResource resource)
Deprecated. Replaces placeholders in URI |
java.lang.String |
IPlaceholderResolver.resolvePlaceholder(java.lang.String str,
IResourceContext context)
Replaces all occurrences of placeholder in str by the
corresponding value. |
|
SAP NetWeaver '04 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||