|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectClassOpsV1
. The SPI interfaces in
the com.bea.content.spi package have all been deprecated as of 10.2. Oracle does not intend to remove these interfaces
during the next major release of WebLogic Portal. However, please note that new development should take place using
the com.bea.content.spi.flexspi interfaces going forward.
@Deprecated public interface ExtendedObjectClassOps
This ObjectsOps interface was added so that if customers choose, they can implement it to get new functionality from the CM system.
Method Summary | |
---|---|
QueryResult<ObjectClass> |
getChildObjectClasses(ID objectClassId,
QueryCriteria queryCriteria)
Deprecated Retreives the first level of types which extend the given type in some way. |
Set<String> |
getNativeFilterableProperties(String repositoryName)
Deprecated Returns a set of property names which the repository can filter natively (within the repository instead of the federated API) for paging purposes. |
Set<String> |
getNativeSortableProperties(String repositoryName)
Deprecated Returns a set of property names which the repository can sort natively (within the repository instead of the federated API) for paging purposes. |
ObjectClass |
getObjectClass(String name)
Deprecated Gets the ObjectClass with the given name. |
ObjectClass[] |
getObjectClasses(QueryCriteria queryCriteria)
Deprecated Gets all of the ObjectClasses available in the content repository. |
ObjectClass |
save(ObjectClass objectClass)
Deprecated This method updates an existing object class in a single transaction. |
Methods inherited from interface com.bea.content.spi.ObjectClassOps |
---|
createObjectClass, createPropertyDefinition, deleteObjectClass, deletePropertyDefinition, getObjectClass, getObjectClasses, getPropertyChoiceBytes, getPropertyDefinition, getPropertyDefinitions, renameObjectClass, updatePropertyDefinition |
Method Detail |
---|
QueryResult<ObjectClass> getChildObjectClasses(ID objectClassId, QueryCriteria queryCriteria) throws NoSuchObjectClassException, RepositoryException
objectClassId
- The ID of the typequeryCriteria
- The query criteria for this operation
Collection
of types which extend the given type. Ordered by path.
NoSuchObjectClassException
- If the given type doesn't exist.
RepositoryException
- If the operation fails.ObjectClass save(ObjectClass objectClass) throws AuthorizationException, ObjectClassInUseException, RepositoryException
objectClass
- The object class to update.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
ObjectClassInUseException
- if the type is in use and the update to be performed is illegal.
RepositoryException
- - if error occurs during the update operation.ObjectClass getObjectClass(String name) throws AuthorizationException, NoSuchObjectClassException, RepositoryException
name
- - the name of the ObjectClass to get.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
NoSuchObjectClassException
- - if the ObjectClass to get does not exist.
RepositoryException
- - if the repository encounters an error during the operation.ObjectClass[] getObjectClasses(QueryCriteria queryCriteria) throws AuthorizationException
queryCriteria
- - The query criteria for this operation
AuthorizationException
- - if the user attempting the
operation is not authorized to perform it.Set<String> getNativeSortableProperties(String repositoryName) throws RepositoryException
repositoryName
- The name of the repository.
RepositoryException
- If the operation does not succeed.Set<String> getNativeFilterableProperties(String repositoryName) throws RepositoryException
repositoryName
- The name of the repository.
RepositoryException
- If the operation does not succeed.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |