Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
DevelopingDatabaseCore Repository Services
Wherever possible, all interaction with POJOs and services will be against an interface. This allows the switching of implementations using the configuration of Spring.
Below the public services layer, components will operate on POJOs. All basic DAO operations will be available on these objects directly. This means that components can attribute and relationship modification, deletions and additions can be performed without having any knowledge of the persistence mechanisms involved. Transactions will be handled by Spring and Hibernate interaction.
Not all operations can be performed on POJOs, however. For example:
These operations will be present on a DAO service specific to the operations in question.
void deleteInstance(Object persistentObj)
Description:
Ensures that the given persistent object removed from the data store. The object provided must be treated as deleted after this operation and will therefore probably be discarded.
Parameters:
Result:
List executeNamedQuery(String queryName, Object[] parameters)
Description:
Execute the given named query
Parameters:
Result:
Node newNode()
Description:
Constructs a new implementation of a Node interface. The actual implementation may be a HibernateNodeImpl or any other type that the DAO service chooses.
Parameters:
Result:
Any other Node-specific methods as required, such as deleteAllNodes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.