|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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)
Retreives the first level of types which extend the given type in some way. |
Set<String> |
getNativeFilterableProperties(String repositoryName)
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)
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)
Gets the ObjectClass with the given name. |
ObjectClass[] |
getObjectClasses(QueryCriteria queryCriteria)
Gets all of the ObjectClasses available in the content repository. |
ObjectClass |
save(ObjectClass objectClass)
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 © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||