public StoredObject getStoredObject(ITransaction arg0,
String uri) {
RulesRepository repository = getRepo();
String[] path = getPath( uri );
if ( path.length < 2 ) {
StoredObject so = new StoredObject();
so.setCreationDate( new Date() );
so.setFolder( isFolder( uri ) );
so.setLastModified( new Date() );
so.setResourceLength( 0 );
return so;
}
if ( path[0].equals( "packages" ) && checkPackagePermission( path[1],
RoleTypes.PACKAGE_READONLY ) ) {